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 aTierInfo
and a collection ofLimit
objects.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getDescription()
Returns user-defined description value.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.java.util.List
getDetailAsPropertiesWithValues()
This method returns a list containing new instances of the name and description properties with their values populated.java.lang.String
getId()
Return unique ID for thisTier
.java.util.List
getLimits()
Returns collection ofLimit
.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
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
setLimits(java.util.List limits)
Sets collection ofLimit
for this tier.void
setName(java.lang.String name)
Set user defined value for tier description.java.lang.String
toString()
-
-
-
Constructor Detail
-
Tier
public Tier(TierInfo tierInfo, java.util.List limits)
Constructor taking aTierInfo
and a collection ofLimit
objects.
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns user-defined description value.- Specified by:
getDescription
in 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:
getName
in interfaceTierDetail
- Returns:
- name.
-
getId
public java.lang.String getId()
Return unique ID for thisTier
.- Specified by:
getId
in 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 ofLimit
for this tier.- Parameters:
limits
-
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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: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
-
-
-