com.ibm.uddi.v3.management

Class Tier

  1. java.lang.Object
  2. extended bycom.ibm.uddi.v3.management.Tier
All implemented interfaces:
TierDetail, java.io.Serializable

  1. public class Tier
  2. extends java.lang.Object
  3. 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

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
  1. java.lang.String
getDescription()
Returns user-defined description value.
  1. static
  2. 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.
  1. java.util.List
getDetailAsPropertiesWithValues()
This method returns a list containing new instances of the name and description properties with their values populated.
  1. java.lang.String
getId()
Return unique ID for this Tier.
  1. java.util.List
getLimits()
Returns collection of Limit.
  1. java.lang.String
getName()
Returns user-defined name value.
  1. boolean
isDefault()
  1. void
setDefault(boolean defaultTier)
Specifies if this tier is the default one.
  1. void
setDescription(java.lang.String description)
Set user defined value for tier description.
  1. void
setLimits(java.util.List limits)
Sets collection of Limit for this tier.
  1. void
setName(java.lang.String name)
Set user defined value for tier description.
  1. java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

Tier

  1. public Tier(TierInfo tierInfo,
  2. java.util.List limits)
Constructor taking a TierInfo and a collection of Limit objects.

Method Detail

getDescription

  1. public java.lang.String getDescription( )
Returns user-defined description value.
Specified by:
getDescription in interface TierDetail
Returns:
description.

getLimits

  1. public java.util.List getLimits( )
Returns collection of Limit.
Returns:
collection of limits.

getName

  1. public java.lang.String getName( )
Returns user-defined name value.
Specified by:
getName in interface TierDetail
Returns:
name.

getId

  1. public java.lang.String getId()
Return unique ID for this Tier.
Specified by:
getId in interface TierDetail
Returns:
tier ID.

setDescription

  1. public void setDescription(java.lang.String description)
Set user defined value for tier description.
Parameters:
description -

setName

  1. public void setName(java.lang.String name)
Set user defined value for tier description.
Parameters:
name -

setLimits

  1. public void setLimits(java.util.List limits)
Sets collection of Limit for this tier.
Parameters:
limits -

toString

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Object

getDetailAsProperties

  1. 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

  1. 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

  1. 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

  1. 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 -