|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.uddi.v3.management.Property
com.ibm.uddi.v3.management.Entitlement
public class Entitlement
Represents an entitlement, indicating whether a user can perform a specific action.
Constructor Summary | |
---|---|
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 | |
---|---|
boolean |
isAllowed()
Indicates if user is allowed to perform the action represented by this entitlement. |
void |
populateMessageKeys()
Populates name and description message keys. |
void |
setAllowed(boolean allowed)
Indicates if user is allowed to perform the action represented by this entitlement. |
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 |
---|
public Entitlement()
public Entitlement(java.lang.String id, java.lang.String type, java.lang.Object value, java.lang.String nameKey)
id
- type
- value
- nameKey
- public Entitlement(boolean allowed)
Entitlement
separately.
public Entitlement(java.lang.String id, boolean allowed)
id
- allowed
- Method Detail |
---|
public boolean isAllowed()
true
indicates the user can perform this action.public void setAllowed(boolean allowed)
allowed
- - true
indicates the user can perform this action.public void populateMessageKeys()
public java.lang.String toString()
toString
in class Property
Object.toString()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |