IBM WebSphere Application ServerTM
Release 8

com.ibm.uddi.v3.management
Class TierInfo

java.lang.Object
  extended by com.ibm.uddi.v3.management.PropertyInfo
      extended by com.ibm.uddi.v3.management.TierInfo
All Implemented Interfaces:
TierDetail, java.io.Serializable

public class TierInfo
extends PropertyInfo
implements TierDetail

Describes a tier, without specifying any limit values.

TierInfo is a special case of PropertyInfo in that instead of using name and description message keys, name and description values can be set by the administrator.

See Also:
Serialized Form

Constructor Summary
TierInfo(java.lang.String tierId)
          Constructor taking a tier ID.
TierInfo(java.lang.String tierId, java.lang.String name, java.lang.String description)
          Constructor taking tier ID, name and description.
 
Method Summary
 java.lang.String getDescription()
          Returns user-defined description value.
 java.lang.String getName()
          Returns user-defined name value.
 boolean isDefault()
          Indicates whether this tier is the one assigned to users if auto regsitration is activated.
 void populateMessageKeys()
          Generates message keys for the name and description attributes
 void setDefault(boolean defaultTier)
          Specifies if this tier is the default one.
 void setDescription(java.lang.String description)
          Set user defined value for tier description.
 void setName(java.lang.String name)
          Set user defined value for tier name.
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.uddi.v3.management.PropertyInfo
getDescriptionKey, getId, getNameKey, setDescriptionKey, setId, setNameKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.uddi.v3.management.TierDetail
getId
 

Constructor Detail

TierInfo

public TierInfo(java.lang.String tierId,
                java.lang.String name,
                java.lang.String description)
Constructor taking tier ID, name and description.


TierInfo

public TierInfo(java.lang.String tierId)
Constructor taking a tier ID. This constructor is useful when creating a UddiUser where a TierInfo is required only to specify a tier ID.

Parameters:
tierId -
Method Detail

getDescription

public java.lang.String getDescription()
Returns user-defined description value.

Specified by:
getDescription in interface TierDetail
Returns:
description.

getName

public java.lang.String getName()
Returns user-defined name value.

Specified by:
getName in interface TierDetail
Returns:
name.

setDescription

public void setDescription(java.lang.String description)
Set user defined value for tier description.

Parameters:
description -

setName

public void setName(java.lang.String name)
Set user defined value for tier name.

Parameters:
name -

isDefault

public boolean isDefault()
Description copied from interface: TierDetail
Indicates whether this tier is the one assigned to users if auto regsitration is activated.

Specified by:
isDefault in interface TierDetail
Returns:
true if the tier is the one assigned to users if auto regsitration is activated.
See Also:
TierDetail.isDefault()

setDefault

public void setDefault(boolean defaultTier)
Specifies if this tier is the default one. The default tier is the one assigned to users if auto registration is activated.

Parameters:
defaultTier -

toString

public java.lang.String toString()
Overrides:
toString in class PropertyInfo

populateMessageKeys

public void populateMessageKeys()
Description copied from class: PropertyInfo
Generates message keys for the name and description attributes

Specified by:
populateMessageKeys in class PropertyInfo

IBM WebSphere Application ServerTM
Release 8