Enum AssignmentViewType
- java.lang.Object
-
- java.lang.Enum<AssignmentViewType>
-
- com.evolveum.midpoint.web.page.self.dto.AssignmentViewType
-
- All Implemented Interfaces:
Serializable
,Comparable<AssignmentViewType>
public enum AssignmentViewType extends Enum<AssignmentViewType>
Created by honchar.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORG_TYPE
ROLE_CATALOG_VIEW
ROLE_TYPE
SERVICE_TYPE
USER_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getType()
String
getUri()
static AssignmentViewType
getViewByUri(String uri)
static AssignmentViewType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AssignmentViewType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROLE_CATALOG_VIEW
public static final AssignmentViewType ROLE_CATALOG_VIEW
-
ROLE_TYPE
public static final AssignmentViewType ROLE_TYPE
-
ORG_TYPE
public static final AssignmentViewType ORG_TYPE
-
SERVICE_TYPE
public static final AssignmentViewType SERVICE_TYPE
-
USER_TYPE
public static final AssignmentViewType USER_TYPE
-
-
Method Detail
-
values
public static AssignmentViewType[] 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 (AssignmentViewType c : AssignmentViewType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssignmentViewType 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
-
getUri
public String getUri()
-
getType
public Class getType()
-
getViewByUri
public static AssignmentViewType getViewByUri(String uri)
-
-