org.liquidsite.core.content
Class DomainHost

java.lang.Object
  extended byorg.liquidsite.core.content.DomainHost
All Implemented Interfaces:
java.lang.Comparable

public class DomainHost
extends java.lang.Object
implements java.lang.Comparable

A domain web site host.


Method Summary
 int compareTo(java.lang.Object obj)
          Compares this object with the specified object for order.
 java.lang.String getDescription()
          Returns the host description.
 java.lang.String getName()
          Returns the unique host name.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(java.lang.Object obj)
              throws java.lang.ClassCastException
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
obj - the object to compare to
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object
Throws:
java.lang.ClassCastException - if the object isn't a DomainHost object

toString

public java.lang.String toString()
Returns a string representation of this object.

Returns:
a string representation of this object

getName

public java.lang.String getName()
Returns the unique host name.

Returns:
the unique host name

getDescription

public java.lang.String getDescription()
Returns the host description.

Returns:
the host description