com.ibm.uddi.v3.management

Class Entitlement

  1. java.lang.Object
  2. extended bycom.ibm.uddi.v3.management.Property
  3. extended bycom.ibm.uddi.v3.management.Entitlement
All implemented interfaces:
java.io.Serializable

  1. public class Entitlement
  2. extends Property
  3. implements java.io.Serializable
Represents an entitlement, indicating whether a user can perform a specific action.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
Entitlement()
Constructor taking no arguments.
Entitlement(boolean allowed)
Constructor taking an 'allowed' value (boolean).
Entitlement(java.lang.String id,boolean allowed)
Constructor taking an entitlement ID and 'allowed' value (boolean).
Entitlement(java.lang.String id,java.lang.String type,java.lang.Object value,java.lang.String nameKey)
Constructor taking id, property type, property value, name message key.

Method Summary

Modifier and Type Method and Description
  1. boolean
isAllowed()
Indicates if user is allowed to perform the action represented by this entitlement.
  1. void
populateMessageKeys()
Populates name and description message keys.
  1. void
setAllowed(boolean allowed)
Indicates if user is allowed to perform the action represented by this entitlement.
  1. java.lang.String
toString()
Methods inherited from class com.ibm.uddi.v3.management.Property
getBooleanValue, getConstraints, getDescriptionKey, getDisplayOrder, getId, getIntegerValue, getNameKey, getStringValue, getType, getUnitsKey, getValidValues, getValue, isInternal, isReadOnly, isRequired, isUsingMessageKeys, setBooleanValue, setConstraints, setDescriptionKey, setDisplayOrder, setId, setIntegerValue, setInternal, setNameKey, setReadOnly, setRequired, setStringValue, setType, setUnitsKey, setUsingMessageKeys, setValidValues, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

Entitlement

  1. public Entitlement()
Constructor taking no arguments.

Entitlement

  1. public Entitlement(java.lang.String id,
  2. java.lang.String type,
  3. java.lang.Object value,
  4. java.lang.String nameKey)
Constructor taking id, property type, property value, name message key.
Parameters:
id -
type -
value -
nameKey -

Entitlement

  1. public Entitlement(boolean allowed)
Constructor taking an 'allowed' value (boolean). Caller must set the ID for this Entitlement separately.

Entitlement

  1. public Entitlement(java.lang.String id,
  2. boolean allowed)
Constructor taking an entitlement ID and 'allowed' value (boolean).
Parameters:
id -
allowed -

Method Detail

isAllowed

  1. public boolean isAllowed()
Indicates if user is allowed to perform the action represented by this entitlement.

Returns:
true indicates the user can perform this action.

setAllowed

  1. public void setAllowed(boolean allowed)
Indicates if user is allowed to perform the action represented by this entitlement.

Parameters:
allowed - - true indicates the user can perform this action.

populateMessageKeys

  1. public void populateMessageKeys( )
Populates name and description message keys.

toString

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