com.ibm.uddi.v3.management
Class TierInfo
- java.lang.Object
com.ibm.uddi.v3.management.PropertyInfo
com.ibm.uddi.v3.management.TierInfo
All implemented interfaces:
TierDetail, java.io.Serializable
- public class TierInfo
- extends PropertyInfo
- implements TierDetail
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:
Constructor Summary
Constructor and Description |
---|
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
Modifier and Type | Method and Description |
---|---|
|
getDescription()
Returns user-defined description value.
|
|
getName()
Returns user-defined name value.
|
|
isDefault()
|
|
populateMessageKeys()
|
|
setDefault(boolean defaultTier)
Specifies if this tier is the default one.
|
|
setDescription(java.lang.String description)
Set user defined value for tier description.
|
|
setName(java.lang.String name)
Set user defined value for tier name.
|
|
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:
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