Package com.evolveum.axiom.lang.impl
Class ValueContext<V>
java.lang.Object
com.evolveum.axiom.lang.impl.ValueContext<V>
- All Implemented Interfaces:
AxiomBuilderStreamTarget.ValueBuilder,AxiomValueContext<V>,Dependency<AxiomValue<V>>
public class ValueContext<V>
extends Object
implements AxiomValueContext<V>, AxiomBuilderStreamTarget.ValueBuilder, Dependency<AxiomValue<V>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.axiom.reactor.Dependency
Dependency.Immediate<V>, Dependency.OptionalDep<T>, Dependency.Search<T>, Dependency.Suppliable<V>, Dependency.Unsatified<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.ReferenceValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.ReferenceDependency -
Constructor Summary
ConstructorsConstructorDescriptionValueContext(ItemContext<V> itemContext, V value, SourceLocation loc) ValueContext(SourceLocation loc, com.evolveum.axiom.lang.impl.IdentifierSpaceHolder space) -
Method Summary
Modifier and TypeMethodDescription<V> AxiomValueReference<V><T> ItemContext<T>childItemDef(AxiomName statement) protected ItemContext<?>createItem(AxiomName id, SourceLocation loc) voiddependsOnAction(ValueActionImpl<V> action) voidendValue(SourceLocation loc) get()ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.LookupImplinfraItemDef(AxiomName item) booleanbooleanValueContext<?>lookup(AxiomName space, AxiomValueIdentifier key) voidmergeCompletedIfEmpty(Optional<AxiomItem<?>> item) voidprotected ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.Resultmutable()name()parent()voidregister(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key) voidregister(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) voidreplace(AxiomValue<?> axiomItemValue) voidreplaceValue(V object) <T> Dependency.Search<AxiomItem<T>>requireChild(AxiomName item) com.evolveum.axiom.lang.impl.SourceContextroot()protected com.evolveum.axiom.lang.impl.SourceContextrootImpl()startInfra(AxiomName identifier, SourceLocation loc) ItemContext<?>startItem(AxiomName identifier, SourceLocation loc) toString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.ValueBuilder
axiomAsConditionalDefaultMethods inherited from interface com.evolveum.axiom.lang.impl.AxiomValueContext
childItem, parent, parentValueMethods inherited from interface com.evolveum.axiom.reactor.Dependency
flatMap, isRequired, map, unsatisfied
-
Field Details
-
referenceDependency
public ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.ReferenceDependency referenceDependency -
reference
-
-
Constructor Details
-
ValueContext
-
ValueContext
-
-
Method Details
-
name
-
getLookup
-
childItemDef
- Specified by:
childItemDefin interfaceAxiomBuilderStreamTarget.ValueBuilder
-
startItem
- Specified by:
startItemin interfaceAxiomBuilderStreamTarget.ValueBuilder
-
endValue
- Specified by:
endValuein interfaceAxiomBuilderStreamTarget.ValueBuilder
-
mutable
-
isSatisfied
public boolean isSatisfied()- Specified by:
isSatisfiedin interfaceDependency<V>
-
get
- Specified by:
getin interfaceDependency<V>
-
errorMessage
- Specified by:
errorMessagein interfaceDependency<V>
-
itemDefinition
-
currentType
-
addAction
-
createItem
-
replace
- Specified by:
replacein interfaceAxiomValueContext<V>
-
childItem
- Specified by:
childItemin interfaceAxiomValueContext<V>
-
currentValue
- Specified by:
currentValuein interfaceAxiomValueContext<V>
-
mergeItem
- Specified by:
mergeItemin interfaceAxiomValueContext<V>
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key) - Specified by:
registerin interfaceAxiomValueContext<V>
-
newAction
- Specified by:
newActionin interfaceAxiomValueContext<V>
-
root
public com.evolveum.axiom.lang.impl.SourceContext root()- Specified by:
rootin interfaceAxiomValueContext<V>
-
dependsOnAction
-
requireChild
-
asReference
- Specified by:
asReferencein interfaceAxiomValueContext<V>
-
replaceValue
- Specified by:
replaceValuein interfaceAxiomValueContext<V>
-
isMutable
public boolean isMutable() -
toString
-
lazyValue
-
infraItemDef
- Specified by:
infraItemDefin interfaceAxiomBuilderStreamTarget.ValueBuilder
-
startInfra
- Specified by:
startInfrain interfaceAxiomBuilderStreamTarget.ValueBuilder
-
valueIdentifier
- Specified by:
valueIdentifierin interfaceAxiomValueContext<V>
-
mergeCompletedIfEmpty
- Specified by:
mergeCompletedIfEmptyin interfaceAxiomValueContext<V>
-
currentInfra
-
parent
-
rootImpl
protected com.evolveum.axiom.lang.impl.SourceContext rootImpl() -
startLocation
-
lookup
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) -
space
-