com.caucho.j2ee.deployclient
Class TargetImpl

java.lang.Object
  extended by com.caucho.j2ee.deployclient.TargetImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TargetImpl>

public class TargetImpl
extends java.lang.Object
implements java.lang.Comparable<TargetImpl>, java.io.Serializable

Target for a deployment.

See Also:
Serialized Form

Constructor Summary
TargetImpl()
          Null constructor.
TargetImpl(java.lang.String name, java.lang.String description)
          Constructor
 
Method Summary
 int compareTo(TargetImpl o)
          Sorts according to name.
 boolean equals(java.lang.Object o)
           
 java.lang.String getClientRefs()
           
 java.lang.String getDescription()
          Returns the target description.
 java.lang.String getName()
          Returns the target name.
 void setClientRefs(java.lang.String refs)
           
 java.lang.String toString()
          Prints the string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TargetImpl

public TargetImpl()
Null constructor.


TargetImpl

public TargetImpl(java.lang.String name,
                  java.lang.String description)
Constructor

Method Detail

getName

public java.lang.String getName()
Returns the target name.


getClientRefs

public java.lang.String getClientRefs()

setClientRefs

public void setClientRefs(java.lang.String refs)

compareTo

public int compareTo(TargetImpl o)
Sorts according to name.

Specified by:
compareTo in interface java.lang.Comparable<TargetImpl>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getDescription

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


toString

public java.lang.String toString()
Prints the string.

Overrides:
toString in class java.lang.Object