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
See Also:
Constructor Summary
Constructor and Description |
---|
Tier(TierInfo tierInfo,java.util.List limits)
Constructor taking a
TierInfo and a collection of Limit objects.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getDescription()
Returns user-defined description value.
|
|
getDetailAsProperties()
Returns a collection of
TierProperty , which is used by
WAS admin console to render the tier detail page when creating a new
tier.
|
|
getDetailAsPropertiesWithValues()
This method returns a list containing new instances of the name and description
properties with their values populated.
|
|
getId()
Return unique ID for this
Tier .
|
|
getLimits()
Returns collection of
Limit .
|
|
getName()
Returns user-defined name value.
|
|
isDefault()
|
|
setDefault(boolean defaultTier)
Specifies if this tier is the default one.
|
|
setDescription(java.lang.String description)
Set user defined value for tier description.
|
|
setLimits(java.util.List limits)
Sets collection of
Limit for this tier.
|
|
setName(java.lang.String name)
Set user defined value for tier description.
|
|
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
Tier
- public Tier(TierInfo tierInfo,
- java.util.List limits)
Method Detail
getDescription
- public java.lang.String getDescription( )
Returns user-defined description value.
Specified by:
getDescription
in interface TierDetail
Returns:
description.
getLimits
- public java.util.List getLimits( )
Returns collection of
Limit
.
Returns:
collection of limits.
getName
- public java.lang.String getName( )
Returns user-defined name value.
Specified by:
getName
in interface TierDetail
Returns:
name.
getId
- public java.lang.String getId()
Return unique ID for this
Tier
.
Specified by:
getId
in interface TierDetail
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 of
Limit
for this tier.
Parameters:
limits
- toString
- public java.lang.String toString( )
Overrides:
toString
in class java.lang.Object
getDetailAsProperties
- public static java.util.List getDetailAsProperties( )
Returns a collection of
TierProperty
, 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 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
-
TierInfo
and a collection ofLimit
objects.