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
Describes a tier, without specifying any limit values.TierInfo
is a special case ofPropertyInfo
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
Constructors 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
Methods Modifier and Type Method and Description 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 attributesvoid
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 aUddiUser
where aTierInfo
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 interfaceTierDetail
- Returns:
- description.
-
getName
public java.lang.String getName()
Returns user-defined name value.- Specified by:
getName
in interfaceTierDetail
- 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 interfaceTierDetail
- 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 classPropertyInfo
-
populateMessageKeys
public void populateMessageKeys()
Description copied from class:PropertyInfo
Generates message keys for the name and description attributes- Specified by:
populateMessageKeys
in classPropertyInfo
-
-