com.ibm.uddi.v3.management

Class TierInfo

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

  1. public class TierInfo
  2. extends PropertyInfo
  3. implements TierDetail
Describes a tier, without specifying any limit values.

TierInfo is a special case of PropertyInfo in that instead of using name and description message keys, name and description values can be set by the administrator.

See Also:
Serialized Form

Constructor Summary

Constructor and Description
TierInfo(java.lang.String tierId)
Constructor taking a tier ID.
TierInfo(java.lang.String tierId,java.lang.String name,java.lang.String description)
Constructor taking tier ID, name and description.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getDescription()
Returns user-defined description value.
  1. java.lang.String
getName()
Returns user-defined name value.
  1. boolean
isDefault()
  1. void
populateMessageKeys()
  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
setName(java.lang.String name)
Set user defined value for tier name.
  1. java.lang.String
toString()
Methods inherited from class com.ibm.uddi.v3.management.PropertyInfo
getDescriptionKey, getId, getNameKey, setDescriptionKey, setId, setNameKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.ibm.uddi.v3.management.TierDetail
getId

Constructor Detail

TierInfo

  1. public TierInfo(java.lang.String tierId,
  2. java.lang.String name,
  3. java.lang.String description)
Constructor taking tier ID, name and description.

TierInfo

  1. public TierInfo(java.lang.String tierId)
Constructor taking a tier ID. This constructor is useful when creating a UddiUser where a TierInfo is required only to specify a tier ID.
Parameters:
tierId -

Method Detail

getDescription

  1. public java.lang.String getDescription( )
Returns user-defined description value.

Specified by:
getDescription in interface TierDetail
Returns:
description.

getName

  1. public java.lang.String getName( )
Returns user-defined name value.

Specified by:
getName in interface TierDetail
Returns:
name.

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

Parameters:
name -

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 -

toString

  1. public java.lang.String toString( )
Overrides:

populateMessageKeys

  1. public void populateMessageKeys( )
Description copied from class: PropertyInfo
Generates message keys for the name and description attributes
Specified by: