Enum RelationKindType

  • All Implemented Interfaces:
    Serializable, Comparable<RelationKindType>

    public enum RelationKindType
    extends Enum<RelationKindType>

    Java class for RelationKindType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="RelationKindType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="member"/>
         <enumeration value="manager"/>
         <enumeration value="meta"/>
         <enumeration value="delegation"/>
         <enumeration value="approver"/>
         <enumeration value="owner"/>
         <enumeration value="consent"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • MEMBER

        public static final RelationKindType MEMBER
        Membership relation, usually meaning "has" or "is member of". Specifies that the subject is a member of organization, or that the subject has been assigned a role in a way that he gets authorizations and other content provided by that role. Default relation of MEMBERSHIP kind is also considered to be the overall default relation (i.e. used when ref.relation is null).
      • MANAGER

        public static final RelationKindType MANAGER
        Relations of "is manager of" kind. Specifies that the subject is a manager of organizational unit. Relations of this kind are usually also of MEMBERSHIP kind.
      • META

        public static final RelationKindType META
        Relations used for metarole assignments. Sometimes it is important to distinguish metarole and member assignments. This kind of relation is used for that purpose.
      • DELEGATION

        public static final RelationKindType DELEGATION
        Relation "is deputy of" kind. Specifies that the subject is a deputy of another user.
      • APPROVER

        public static final RelationKindType APPROVER
        Relation "is approver of" kind. Specifies that the subject is a (general) approver of specified (abstract) role. The approver will be asked for decision if the role is assigned, if there is a rule conflict during assignment (e.g. SoD conflict) or if there is any similar situation. This approver is responsible for the use of the role, which mostly means that he decides about role assignment. It is NOT meant to approve role changes. Role owner is meant for that purpose.
      • OWNER

        public static final RelationKindType OWNER
        Relation "is owner of" kind. Specifies that the subject is a (business) owner of specified (abstract) role. The owner will be asked for decision if the role is modified, when the associated policy changes and so on. This owner is responsible for maintaining role definition and policies. It is NOT necessarily concerned with role use (e.g. assignment). The approver relation kind is meant for that purpose.
      • CONSENT

        public static final RelationKindType CONSENT
        Relation "is consent for" kind. Specifies that the subject gave a consent for using personnel information related to this role.
    • Method Detail

      • values

        public static RelationKindType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RelationKindType c : RelationKindType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RelationKindType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()