Package com.evolveum.axiom.lang.spi
Class AxiomItemDefinitionImpl
- java.lang.Object
-
- com.evolveum.axiom.api.AbstractAxiomValue<Collection<AxiomItem<?>>>
-
- com.evolveum.axiom.api.StructuredValueImpl
-
- com.evolveum.axiom.lang.spi.AbstractBaseDefinition
-
- com.evolveum.axiom.lang.spi.AxiomItemDefinitionImpl
-
- All Implemented Interfaces:
AxiomInfraValue
,AxiomStructured
,AxiomStructuredValue
,AxiomValue<Collection<AxiomItem<?>>>
,AxiomItemDefinition
,AxiomNamedDefinition
,Navigable<AxiomPath.Component<?>,AxiomItemDefinition>
public class AxiomItemDefinitionImpl extends AbstractBaseDefinition implements AxiomItemDefinition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.axiom.api.schema.AxiomItemDefinition
AxiomItemDefinition.Extended, AxiomItemDefinition.Inherited
-
Nested classes/interfaces inherited from interface com.evolveum.axiom.api.AxiomStructuredValue
AxiomStructuredValue.Factory
-
Nested classes/interfaces inherited from interface com.evolveum.axiom.api.AxiomValue
AxiomValue.Factory<V,T extends AxiomValue<V>>
-
-
Field Summary
Fields Modifier and Type Field Description static AxiomStructuredValue.Factory
FACTORY
-
Fields inherited from interface com.evolveum.axiom.api.schema.AxiomItemDefinition
CONSTANT, DEFAULT, NAME, ROOT_SPACE, SPACE, VALUE_SPACE
-
Fields inherited from interface com.evolveum.axiom.api.AxiomValue
AXIOM_VALUE, METADATA, METADATA_TYPE, TYPE, VALUE
-
-
Constructor Summary
Constructors Constructor Description AxiomItemDefinitionImpl(AxiomTypeDefinition axiomItemDefinition, Map<AxiomName,AxiomItem<?>> items, Map<AxiomName,AxiomItem<?>> infraItems)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AxiomValue<?>>
constantValue()
Optional<AxiomValue<?>>
defaultValue()
AxiomTypeDefinition
definingType()
static AxiomItemDefinition
from(AxiomValue<?> value)
Optional<AxiomIdentifierDefinition>
identifierDefinition()
int
maxOccurs()
int
minOccurs()
boolean
operational()
boolean
required()
Optional<AxiomName>
substitutionOf()
String
toString()
AxiomTypeDefinition
typeDefinition()
-
Methods inherited from class com.evolveum.axiom.lang.spi.AbstractBaseDefinition
documentation, name
-
Methods inherited from class com.evolveum.axiom.api.StructuredValueImpl
as, item, item, itemMap, items, require, requireItem
-
Methods inherited from class com.evolveum.axiom.api.AbstractAxiomValue
infraItems, type
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.axiom.api.AxiomInfraValue
infraItem, infraItems
-
Methods inherited from interface com.evolveum.axiom.api.schema.AxiomItemDefinition
derived, inherited, isStructured, notInherited, resolve
-
Methods inherited from interface com.evolveum.axiom.api.schema.AxiomNamedDefinition
documentation, name
-
Methods inherited from interface com.evolveum.axiom.api.AxiomStructured
asComplex
-
Methods inherited from interface com.evolveum.axiom.api.AxiomStructuredValue
onlyValue, value
-
Methods inherited from interface com.evolveum.axiom.api.AxiomValue
metadata, metadata, type
-
-
-
-
Field Detail
-
FACTORY
public static final AxiomStructuredValue.Factory FACTORY
-
-
Method Detail
-
definingType
public AxiomTypeDefinition definingType()
- Specified by:
definingType
in interfaceAxiomItemDefinition
-
operational
public boolean operational()
- Specified by:
operational
in interfaceAxiomItemDefinition
-
typeDefinition
public AxiomTypeDefinition typeDefinition()
- Specified by:
typeDefinition
in interfaceAxiomItemDefinition
-
required
public boolean required()
- Specified by:
required
in interfaceAxiomItemDefinition
-
minOccurs
public int minOccurs()
- Specified by:
minOccurs
in interfaceAxiomItemDefinition
-
maxOccurs
public int maxOccurs()
- Specified by:
maxOccurs
in interfaceAxiomItemDefinition
-
toString
public String toString()
- Overrides:
toString
in classAbstractAxiomValue<Collection<AxiomItem<?>>>
-
identifierDefinition
public Optional<AxiomIdentifierDefinition> identifierDefinition()
- Specified by:
identifierDefinition
in interfaceAxiomItemDefinition
-
substitutionOf
public Optional<AxiomName> substitutionOf()
- Specified by:
substitutionOf
in interfaceAxiomItemDefinition
-
constantValue
public Optional<AxiomValue<?>> constantValue()
- Specified by:
constantValue
in interfaceAxiomItemDefinition
-
defaultValue
public Optional<AxiomValue<?>> defaultValue()
- Specified by:
defaultValue
in interfaceAxiomItemDefinition
-
from
public static AxiomItemDefinition from(AxiomValue<?> value)
-
-