Enum AttributeInfo.RoleInReference
java.lang.Object
java.lang.Enum<AttributeInfo.RoleInReference>
org.identityconnectors.framework.common.objects.AttributeInfo.RoleInReference
- All Implemented Interfaces:
Serializable
,Comparable<AttributeInfo.RoleInReference>
- Enclosing class:
AttributeInfo
The role of an object in the relationship (provided by specific reference attribute).
We call this object a "holder" below.
- See Also:
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the enum constant of this type with the specified name.static AttributeInfo.RoleInReference[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUBJECT
The holder can be considered a subject of the relationship. It is the usual source (starting point) of relationship navigation, i.e. we usually ask "what objects does the subject hold", not the way around. Typical example: account or other type of group member (when regarding group membership relation). -
OBJECT
The holder can be considered an object of the relationship. It is the usual target (ending point) of relationship navigation. Typical example: the group that has some members (when regarding group membership relation).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<AttributeInfo.RoleInReference>
-