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 a TierInfo and a collection of Limit 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 of TierProperty, 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 this Tier.
      java.util.List getLimits()
      Returns collection of Limit.
      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 of Limit for this tier.
      void setName(java.lang.String name)
      Set user defined value for tier description.
      java.lang.String 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)
        Constructor taking a TierInfo and a collection of Limit objects.
    • 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:
        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 -
IBM WebSphere Application ServerTM
Release 9.0