Package com.evolveum.midpoint.prism
Interface PrismPropertyValue<T>
-
- All Superinterfaces:
DebugDumpable,Freezable,MidpointOriginMetadata,PathVisitable,PrismContextSensitive,PrismValue,Revivable,Serializable,Visitable
public interface PrismPropertyValue<T> extends DebugDumpable, Serializable, PrismValue
- Author:
- lazyman
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description PrismPropertyValue<T>clone()Literal clone.PrismPropertyValue<T>cloneComplex(CloneStrategy strategy)Complex clone with different cloning strategies.StringdebugDump(int indent, boolean detailedDump)booleanequals(PrismPropertyValue<?> other, @NotNull ParameterizedEquivalenceStrategy strategy, @Nullable MatchingRule<T> matchingRule)booleanequals(Object obj)<IV extends PrismValue,ID extends ItemDefinition>
PartiallyResolvedItem<IV,ID>findPartial(ItemPath path)@Nullable ExpressionWrappergetExpression()XNodegetRawElement()Class<?>getRealClass()TgetRealValue()Under what circumstances can this method return null (for properties)?static <T> TgetRealValue(PrismPropertyValue<T> propertyValue)TgetValue()inthashCode()static booleanisNotFalse(PrismPropertyValue<Boolean> booleanPropertyValue)static booleanisTrue(PrismPropertyValue<Boolean> booleanPropertyValue)voidsetExpression(@Nullable ExpressionWrapper expression)voidsetRawElement(XNode rawElement)voidsetValue(T value)javax.xml.bind.JAXBElement<T>toJaxbElement()Returns JAXBElement corresponding to the this value.-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.metadata.MidpointOriginMetadata
getOriginObject, getOriginType, setOriginObject, setOriginType
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismValue
accept, accept, applyDefinition, applyDefinition, checkConsistenceInternal, clearParent, createImmutableClone, diff, equals, equals, find, getAllValues, getParent, getParentContainerValue, getPath, getRealValueOrRawType, getRootValue, getTypeName, getUserData, getUserData, getValueMetadata, getValueMetadataAsContainer, hashCode, hashCode, hasRealClass, hasValueMetadata, isEmpty, isRaw, isTransient, normalize, recompute, recompute, representsSameValue, setParent, setPrismContext, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata, toHumanReadableString, valueMetadata
-
-
-
-
Method Detail
-
setValue
void setValue(T value)
-
getValue
T getValue()
-
getRawElement
XNode getRawElement()
-
setRawElement
void setRawElement(XNode rawElement)
-
getExpression
@Nullable @Nullable ExpressionWrapper getExpression()
-
setExpression
void setExpression(@Nullable @Nullable ExpressionWrapper expression)
-
findPartial
<IV extends PrismValue,ID extends ItemDefinition> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path)
-
clone
PrismPropertyValue<T> clone()
Description copied from interface:PrismValueLiteral clone.- Specified by:
clonein interfacePrismValue
-
cloneComplex
PrismPropertyValue<T> cloneComplex(CloneStrategy strategy)
Description copied from interface:PrismValueComplex clone with different cloning strategies.- Specified by:
cloneComplexin interfacePrismValue- See Also:
CloneStrategy
-
equals
boolean equals(PrismPropertyValue<?> other, @NotNull @NotNull ParameterizedEquivalenceStrategy strategy, @Nullable @Nullable MatchingRule<T> matchingRule)
- Returns:
- true if values are equivalent under given strategy and (if present) also under matching rule. Some of the strategy requirements (e.g. literal DOM comparison) can be skipped if matching rule is used.
-
debugDump
String debugDump(int indent, boolean detailedDump)
-
toJaxbElement
javax.xml.bind.JAXBElement<T> toJaxbElement()
Returns JAXBElement corresponding to the this value. Name of the element is the name of parent property; its value is the real value of the property.- Returns:
- Created JAXBElement.
-
getRealClass
Class<?> getRealClass()
- Specified by:
getRealClassin interfacePrismValue
-
getRealValue
@Nullable T getRealValue()
Under what circumstances can this method return null (for properties)?- Specified by:
getRealValuein interfacePrismValue
-
getRealValue
static <T> T getRealValue(PrismPropertyValue<T> propertyValue)
-
isNotFalse
static boolean isNotFalse(PrismPropertyValue<Boolean> booleanPropertyValue)
-
isTrue
static boolean isTrue(PrismPropertyValue<Boolean> booleanPropertyValue)
-
-