Package com.evolveum.axiom.lang.spi
Class AxiomTypeDefinitionImpl
- 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.AxiomTypeDefinitionImpl
-
- All Implemented Interfaces:
AxiomInfraValue
,AxiomStructured
,AxiomStructuredValue
,AxiomValue<Collection<AxiomItem<?>>>
,AxiomNamedDefinition
,AxiomTypeDefinition
public class AxiomTypeDefinitionImpl extends AbstractBaseDefinition implements AxiomTypeDefinition
-
-
Nested Class Summary
-
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.AxiomTypeDefinition
IDENTIFIER_MEMBER, NAME, SPACE
-
Fields inherited from interface com.evolveum.axiom.api.AxiomValue
AXIOM_VALUE, METADATA, METADATA_TYPE, TYPE, VALUE
-
-
Constructor Summary
Constructors Constructor Description AxiomTypeDefinitionImpl(AxiomTypeDefinition def, Map<AxiomName,AxiomItem<?>> keywordMap, Map<AxiomName,AxiomItem<?>> infraItems)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AxiomItemDefinition>
argument()
static AxiomTypeDefinition
from(AxiomStructuredValue value)
static AxiomTypeDefinition
from(AxiomValue<?> value)
Collection<AxiomIdentifierDefinition>
identifierDefinitions()
Optional<? extends AxiomItem<?>>
item(AxiomName name)
Map<AxiomName,AxiomItemDefinition>
itemDefinitions()
Optional<AxiomTypeDefinition>
superType()
-
Methods inherited from class com.evolveum.axiom.lang.spi.AbstractBaseDefinition
documentation, name
-
Methods inherited from class com.evolveum.axiom.api.StructuredValueImpl
as, item, itemMap, items, require, requireItem
-
Methods inherited from class com.evolveum.axiom.api.AbstractAxiomValue
infraItems, toString, 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.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.schema.AxiomTypeDefinition
isComplex, isSubtypeOf, isSubtypeOf, isSupertypeOf, itemDefinition, itemDefinition, requiredItems
-
Methods inherited from interface com.evolveum.axiom.api.AxiomValue
metadata, metadata, type
-
-
-
-
Field Detail
-
FACTORY
public static final AxiomStructuredValue.Factory FACTORY
-
-
Method Detail
-
from
public static AxiomTypeDefinition from(AxiomValue<?> value)
-
from
public static AxiomTypeDefinition from(AxiomStructuredValue value)
-
item
public Optional<? extends AxiomItem<?>> item(AxiomName name)
- Specified by:
item
in interfaceAxiomStructuredValue
- Overrides:
item
in classStructuredValueImpl
-
argument
public Optional<AxiomItemDefinition> argument()
- Specified by:
argument
in interfaceAxiomTypeDefinition
-
superType
public Optional<AxiomTypeDefinition> superType()
- Specified by:
superType
in interfaceAxiomTypeDefinition
-
itemDefinitions
public Map<AxiomName,AxiomItemDefinition> itemDefinitions()
- Specified by:
itemDefinitions
in interfaceAxiomTypeDefinition
-
identifierDefinitions
public Collection<AxiomIdentifierDefinition> identifierDefinitions()
- Specified by:
identifierDefinitions
in interfaceAxiomTypeDefinition
-
-