com.ibm.tws.objects.plan
Class DomainInPlanKey

java.lang.Object
  extended bycom.ibm.tws.objects.plan.DomainInPlanKey
All Implemented Interfaces:
java.io.Serializable, TWSKey

public class DomainInPlanKey
extends java.lang.Object
implements TWSKey

This class represents a domain instance in plan key, and includes only the name of the domain. This class implements TWSKey.

The following syntax validation constraints must be met on DomainInPlan objects:

name The name of an existing Domain.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
DomainInPlanKey()
          Constructor for DomainInPlanKey
DomainInPlanKey(java.lang.String domainName)
          Constructor for DomainInPlanKey
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this DomainInPlanKey object are equal to those of the given one.
 java.lang.String getName()
          This method get the name of domain.
 int hashCode()
          Returns a hash code for this Domain object.
 void setName(java.lang.String string)
          This method set the name of domain.
 java.lang.String toString()
          Returns a string representation of this Domain.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

DomainInPlanKey

public DomainInPlanKey()
Constructor for DomainInPlanKey


DomainInPlanKey

public DomainInPlanKey(java.lang.String domainName)
Constructor for DomainInPlanKey

Parameters:
domainName - is the name of domain.
Method Detail

getName

public java.lang.String getName()
This method get the name of domain.

Specified by:
getName in interface TWSKey
Returns:
String

setName

public void setName(java.lang.String string)
This method set the name of domain.

Parameters:
string -

equals

public boolean equals(java.lang.Object object)
Returns true if all fields of this DomainInPlanKey object are equal to those of the given one.

Parameters:
object -
Returns:
boolean

hashCode

public int hashCode()
Returns a hash code for this Domain object.

Returns:
int

toString

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

Returns:
String


Copyright © 2005 IBM All Rights Reserved.