Enum StaticObjectCollection
- java.lang.Object
-
- java.lang.Enum<StaticObjectCollection>
-
- com.evolveum.midpoint.gui.impl.page.self.requestAccess.StaticObjectCollection
-
- All Implemented Interfaces:
Serializable
,Comparable<StaticObjectCollection>
public enum StaticObjectCollection extends Enum<StaticObjectCollection>
Created by Viliam Repan (lazyman).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_ORGS
ALL_ROLES
ALL_SERVICES
ROLE_CATALOG_VIEW
USER_ASSIGNMENTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StaticObjectCollection
findCollection(String identifier)
String
getStringUri()
Class<? extends ObjectType>
getType()
QName
getUri()
static StaticObjectCollection
valueOf(String name)
Returns the enum constant of this type with the specified name.static StaticObjectCollection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_ROLES
public static final StaticObjectCollection ALL_ROLES
-
ALL_SERVICES
public static final StaticObjectCollection ALL_SERVICES
-
ALL_ORGS
public static final StaticObjectCollection ALL_ORGS
-
USER_ASSIGNMENTS
public static final StaticObjectCollection USER_ASSIGNMENTS
-
ROLE_CATALOG_VIEW
public static final StaticObjectCollection ROLE_CATALOG_VIEW
-
-
Method Detail
-
values
public static StaticObjectCollection[] 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 (StaticObjectCollection c : StaticObjectCollection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StaticObjectCollection 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 QName getUri()
-
getType
public Class<? extends ObjectType> getType()
-
getStringUri
public String getStringUri()
-
findCollection
public static StaticObjectCollection findCollection(String identifier)
-
-