com.ibm.uddi.v3.management

Class Entitlement

  • All Implemented Interfaces:
    java.io.Serializable


    public class Entitlement
    extends Property
    implements java.io.Serializable
    Represents an entitlement, indicating whether a user can perform a specific action.
    See Also:
    Serialized Form
    • 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()
        Overrides:
        toString in class Property
        See Also:
        Object.toString()
IBM WebSphere Application ServerTM
Release 8.5