Package com.evolveum.axiom.api
Class StructuredValueImpl
- java.lang.Object
 - 
- com.evolveum.axiom.api.AbstractAxiomValue<Collection<AxiomItem<?>>>
 - 
- com.evolveum.axiom.api.StructuredValueImpl
 
 
 
- 
- All Implemented Interfaces:
 AxiomInfraValue,AxiomStructured,AxiomStructuredValue,AxiomValue<Collection<AxiomItem<?>>>
- Direct Known Subclasses:
 AbstractBaseDefinition,AxiomIdentifierDefinitionImpl
public class StructuredValueImpl extends AbstractAxiomValue<Collection<AxiomItem<?>>> implements AxiomStructuredValue
 
- 
- 
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 inherited from interface com.evolveum.axiom.api.AxiomValue
AXIOM_VALUE, METADATA, METADATA_TYPE, TYPE, VALUE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description StructuredValueImpl(AxiomTypeDefinition type, Map<AxiomName,AxiomItem<?>> items, Map<AxiomName,AxiomItem<?>> infraItems) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> Optional<AxiomItem<T>>as(Class<T> type, Optional<? extends AxiomItem<?>> item)Optional<? extends AxiomItem<?>>item(AxiomName name)Optional<AxiomItem<?>>item(AxiomItemDefinition def)Map<AxiomName,AxiomItem<?>>itemMap()Collection<AxiomItem<?>>items()protected <X> Xrequire(Optional<X> value)protected AxiomItem<?>requireItem(AxiomName name)- 
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.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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
require
protected <X> X require(Optional<X> value)
 
- 
item
public Optional<AxiomItem<?>> item(AxiomItemDefinition def)
- Specified by:
 itemin interfaceAxiomStructuredValue
 
- 
item
public Optional<? extends AxiomItem<?>> item(AxiomName name)
- Specified by:
 itemin interfaceAxiomStructuredValue
 
- 
items
public Collection<AxiomItem<?>> items()
 
- 
itemMap
public Map<AxiomName,AxiomItem<?>> itemMap()
- Specified by:
 itemMapin interfaceAxiomStructuredValue
 
 - 
 
 -