com.ibm.uddi.v3.management
Class Entitlement
- java.lang.Object
com.ibm.uddi.v3.management.Property
com.ibm.uddi.v3.management.Entitlement
All implemented interfaces:
java.io.Serializable
- public class Entitlement
- extends Property
- implements java.io.Serializable
See Also:
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 |
---|---|
|
isAllowed()
Indicates if user is allowed to perform the action represented by this entitlement.
|
|
populateMessageKeys()
Populates name and description message keys.
|
|
setAllowed(boolean allowed)
Indicates if user is allowed to perform the action represented by this entitlement.
|
|
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
- public Entitlement()
Constructor taking no arguments.
Entitlement
- public 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.
Parameters:
id
- type
- value
- nameKey
- Entitlement
- public Entitlement(boolean allowed)
Constructor taking an 'allowed' value (boolean).
Caller must set the ID for this
Entitlement
separately.
Entitlement
- public Entitlement(java.lang.String id,
- boolean allowed)
Constructor taking an entitlement ID and 'allowed' value (boolean).
Parameters:
id
- allowed
- Method Detail
isAllowed
- 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
- 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
- public void populateMessageKeys( )
Populates name and description message keys.
toString
- public java.lang.String toString( )
See Also:
Object.toString()