Package com.evolveum.axiom.lang.impl
Enum BasicStatementRule
- java.lang.Object
-
- java.lang.Enum<BasicStatementRule>
-
- com.evolveum.axiom.lang.impl.BasicStatementRule
-
- All Implemented Interfaces:
AxiomStatementRule<AxiomName>
,Serializable
,Comparable<BasicStatementRule>
public enum BasicStatementRule extends Enum<BasicStatementRule> implements AxiomStatementRule<AxiomName>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.axiom.lang.impl.AxiomStatementRule
AxiomStatementRule.Action<V>, AxiomStatementRule.ActionBuilder<V>, AxiomStatementRule.Lookup<V>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addFromType(AxiomStructuredValue source, AxiomValueContext<?> target, boolean inheritance)
static AxiomValueIdentifier
idFrom(AxiomItemDefinition definition, AxiomValue<?> value)
boolean
isApplicableTo(AxiomItemDefinition definition)
static AxiomValueIdentifier
itemKey(AxiomName name)
static BasicStatementRule
valueOf(String name)
Returns the enum constant of this type with the specified name.static BasicStatementRule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.evolveum.axiom.lang.impl.AxiomStatementRule
apply, name
-
-
-
-
Enum Constant Detail
-
APPLY_CONSTANTS
public static final BasicStatementRule APPLY_CONSTANTS
-
ITEM_LOCALNAME
public static final BasicStatementRule ITEM_LOCALNAME
-
MOVE_ARGUMENT_VALUE
public static final BasicStatementRule MOVE_ARGUMENT_VALUE
-
REGISTER_TYPE
public static final BasicStatementRule REGISTER_TYPE
-
REGISTER_ROOT
public static final BasicStatementRule REGISTER_ROOT
-
ITEM_VALUE_IDENTIFIER
public static final BasicStatementRule ITEM_VALUE_IDENTIFIER
-
EXPAND_TYPE_REFERENCE
public static final BasicStatementRule EXPAND_TYPE_REFERENCE
-
ITEMS_FROM_SUPERTYPE
public static final BasicStatementRule ITEMS_FROM_SUPERTYPE
-
ITEMS_FROM_MIXIN
public static final BasicStatementRule ITEMS_FROM_MIXIN
-
SUBSTITUTION
public static final BasicStatementRule SUBSTITUTION
-
IMPORT_DEFAULTS
public static final BasicStatementRule IMPORT_DEFAULTS
-
EXPORT_GLOBALS_FROM_MODEL
public static final BasicStatementRule EXPORT_GLOBALS_FROM_MODEL
-
IMPORT_MODEL
public static final BasicStatementRule IMPORT_MODEL
-
APPLY_AUGMENTATION
public static final BasicStatementRule APPLY_AUGMENTATION
-
-
Method Detail
-
values
public static BasicStatementRule[] 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 (BasicStatementRule c : BasicStatementRule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicStatementRule 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
-
isApplicableTo
public boolean isApplicableTo(AxiomItemDefinition definition)
- Specified by:
isApplicableTo
in interfaceAxiomStatementRule<AxiomName>
-
addFromType
public static void addFromType(AxiomStructuredValue source, AxiomValueContext<?> target, boolean inheritance)
-
idFrom
public static AxiomValueIdentifier idFrom(AxiomItemDefinition definition, AxiomValue<?> value)
-
itemKey
public static AxiomValueIdentifier itemKey(AxiomName name)
-
-