com.ibm.uddi.v3.management
Class Tier
- java.lang.Object
-
- com.ibm.uddi.v3.management.Tier
-
- All Implemented Interfaces:
- TierDetail, java.io.Serializable
public class Tier extends java.lang.Object implements TierDetail, java.io.Serializable
Represents a publish tier controlling how many of each type of UDDI entity a publisher can publish in the registry.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Tier(TierInfo tierInfo, java.util.List limits)Constructor taking aTierInfoand a collection ofLimitobjects.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetDescription()Returns user-defined description value.static java.util.ListgetDetailAsProperties()Returns a collection ofTierProperty, which is used by WAS admin console to render the tier detail page when creating a new tier.java.util.ListgetDetailAsPropertiesWithValues()This method returns a list containing new instances of the name and description properties with their values populated.java.lang.StringgetId()Return unique ID for thisTier.java.util.ListgetLimits()Returns collection ofLimit.java.lang.StringgetName()Returns user-defined name value.booleanisDefault()Indicates whether this tier is the one assigned to users if auto regsitration is activated.voidsetDefault(boolean defaultTier)Specifies if this tier is the default one.voidsetDescription(java.lang.String description)Set user defined value for tier description.voidsetLimits(java.util.List limits)Sets collection ofLimitfor this tier.voidsetName(java.lang.String name)Set user defined value for tier description.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Tier
public Tier(TierInfo tierInfo, java.util.List limits)
Constructor taking aTierInfoand a collection ofLimitobjects.
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns user-defined description value.- Specified by:
getDescriptionin interfaceTierDetail- Returns:
- description.
-
getLimits
public java.util.List getLimits()
Returns collection ofLimit.- Returns:
- collection of limits.
-
getName
public java.lang.String getName()
Returns user-defined name value.- Specified by:
getNamein interfaceTierDetail- Returns:
- name.
-
getId
public java.lang.String getId()
Return unique ID for thisTier.- Specified by:
getIdin interfaceTierDetail- Returns:
- tier ID.
-
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 description.- Parameters:
name-
-
setLimits
public void setLimits(java.util.List limits)
Sets collection ofLimitfor this tier.- Parameters:
limits-
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDetailAsProperties
public static java.util.List getDetailAsProperties()
Returns a collection ofTierProperty, which is used by WAS admin console to render the tier detail page when creating a new tier. Currently the display order of these properties is the order in which they are added to the list that this method returns {name, description}. This should be the same as ordering as the getDetailAsPropertiesWithValues method.- Returns:
- collection of
TierProperty.
-
getDetailAsPropertiesWithValues
public java.util.List getDetailAsPropertiesWithValues()
This method returns a list containing new instances of the name and description properties with their values populated. Currently the display order of these properties is the order in which they are added to the list that this method returns {name, description}. This should be the same as ordering as the getDetailAsProperties method.- Returns:
-
isDefault
public boolean isDefault()
Description copied from interface:TierDetailIndicates whether this tier is the one assigned to users if auto regsitration is activated.- Specified by:
isDefaultin interfaceTierDetail- Returns:
trueif 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-
-
-