Enum RelationTypes
- java.lang.Object
-
- java.lang.Enum<RelationTypes>
-
- com.evolveum.midpoint.schema.constants.RelationTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationTypes>
public enum RelationTypes extends Enum<RelationTypes>
Built-in (hardcoded) relations. Created by honchar.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AreaCategoryType[]
getCategories()
RelationKindType
getDefaultFor()
String
getDefaultIconColor()
String
getDefaultIconStyle()
String
getHeaderLabel()
@NotNull Collection<RelationKindType>
getKinds()
String
getLabelKey()
QName
getRelation()
static RelationTypes
getRelationTypeByRelationValue(QName relation)
static RelationTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMBER
public static final RelationTypes MEMBER
-
MANAGER
public static final RelationTypes MANAGER
-
META
public static final RelationTypes META
-
DEPUTY
public static final RelationTypes DEPUTY
-
APPROVER
public static final RelationTypes APPROVER
-
OWNER
public static final RelationTypes OWNER
-
CONSENT
public static final RelationTypes CONSENT
-
RELATED
public static final RelationTypes RELATED
-
-
Method Detail
-
values
public static RelationTypes[] 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 (RelationTypes c : RelationTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationTypes 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 nameNullPointerException
- if the argument is null
-
getRelation
public QName getRelation()
-
getHeaderLabel
public String getHeaderLabel()
-
getLabelKey
public String getLabelKey()
-
getDefaultFor
public RelationKindType getDefaultFor()
-
getKinds
@NotNull public @NotNull Collection<RelationKindType> getKinds()
-
getCategories
public AreaCategoryType[] getCategories()
-
getDefaultIconStyle
public String getDefaultIconStyle()
-
getDefaultIconColor
public String getDefaultIconColor()
-
getRelationTypeByRelationValue
public static RelationTypes getRelationTypeByRelationValue(QName relation)
-
-