Enum LayerType
- java.lang.Object
-
- java.lang.Enum<LayerType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LayerType
-
- All Implemented Interfaces:
Serializable
,Comparable<LayerType>
public enum LayerType extends Enum<LayerType>
Java class for LayerType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LayerType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="schema"/> <enumeration value="model"/> <enumeration value="presentation"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODEL
Model layer means application of schema constraints inside the IDM model.PRESENTATION
The presentation layer that is used to display information to the user but it also means presentation of the data outside midpoint.SCHEMA
The lowest layer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LayerType
fromValue(String v)
String
value()
static LayerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LayerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCHEMA
public static final LayerType SCHEMA
The lowest layer. It means that the schema is taken in almost unmodified form. This efficiently means "bottom of provisioning component" from the architectural perspective. This is the default. Note that this means that the schemaHandling is actually applied on the schema on this layer. The LayerType does not apply to the "pure" schema, therefore this is the lowest practically applicable level.
-
MODEL
public static final LayerType MODEL
Model layer means application of schema constraints inside the IDM model. This efficiently means "bottom of IDM model component" from the architectural perspective.
-
PRESENTATION
public static final LayerType PRESENTATION
The presentation layer that is used to display information to the user but it also means presentation of the data outside midpoint. Therefore it applies both to GUI and also the web service interface and also to similar interfaces. This efficiently means "top of IDM model component" or "Model API" from the architectural perspective.
-
-
Method Detail
-
values
public static LayerType[] 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 (LayerType c : LayerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LayerType 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
-
value
public String value()
-
-