Package com.evolveum.midpoint.prism
Interface PrismPropertyValue<T>
- All Superinterfaces:
DebugDumpable
,Freezable
,MidpointOriginMetadata
,PathVisitable
,PrismContextSensitive
,PrismValue
,Revivable
,Serializable
,Visitable
- Author:
- lazyman
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Literal clone.cloneComplex
(CloneStrategy strategy) Complex clone with different cloning strategies.debugDump
(int indent, boolean detailedDump) boolean
equals
(PrismPropertyValue<?> other, @NotNull ParameterizedEquivalenceStrategy strategy, @Nullable MatchingRule<T> matchingRule) boolean
<IV extends PrismValue,
ID extends ItemDefinition<?>>
PartiallyResolvedItem<IV,ID> findPartial
(ItemPath path) @Nullable ExpressionWrapper
Class<?>
Under what circumstances can this method return null (for properties)?static <T> T
getRealValue
(PrismPropertyValue<T> propertyValue) getValue()
int
hashCode()
static boolean
isNotFalse
(PrismPropertyValue<Boolean> booleanPropertyValue) static boolean
isTrue
(PrismPropertyValue<Boolean> booleanPropertyValue) void
setExpression
(@Nullable ExpressionWrapper expression) void
setRawElement
(XNode rawElement) void
jakarta.xml.bind.JAXBElement<T>
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, cloneIfImmutable, createImmutableClone, diff, equals, equals, find, getAllItems, getAllValues, getNearestValueOfType, getParent, getParentContainerValue, getPath, getRealValueIfExists, getRealValueOrRawType, getRootObjectable, getRootValue, getTypeName, getUserData, getUserData, getValueMetadata, getValueMetadataAsContainer, hashCode, hashCode, hasRealClass, hasValueMetadata, isEmpty, isObjectable, isOfType, isRaw, isTransient, normalize, recompute, recompute, representsSameValue, setParent, setPrismContext, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata, toHumanReadableString, valueMetadata
-
Method Details
-
setValue
-
getValue
T getValue() -
getRawElement
XNode getRawElement() -
setRawElement
-
getExpression
-
setExpression
-
findPartial
<IV extends PrismValue,ID extends ItemDefinition<?>> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path) -
clone
PrismPropertyValue<T> clone()Description copied from interface:PrismValue
Literal clone.- Specified by:
clone
in interfacePrismValue
-
cloneComplex
Description copied from interface:PrismValue
Complex clone with different cloning strategies.- Specified by:
cloneComplex
in interfacePrismValue
- See Also:
-
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.
-
equals
-
hashCode
int hashCode() -
debugDump
-
toJaxbElement
jakarta.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:
getRealClass
in interfacePrismValue
-
getRealValue
Under what circumstances can this method return null (for properties)?- Specified by:
getRealValue
in interfacePrismValue
-
getRealValue
-
isNotFalse
-
isTrue
-