Package com.evolveum.midpoint.prism
Interface PrismPropertyValue<T>
-
- All Superinterfaces:
DebugDumpable
,Freezable
,MidpointOriginMetadata
,PathVisitable
,PrismContextSensitive
,PrismValue
,Revivable
,Serializable
,Visitable
- All Known Implementing Classes:
PrismPropertyValueImpl
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.String
debugDump(int indent, boolean detailedDump)
boolean
equals(PrismPropertyValue<?> other, @NotNull ParameterizedEquivalenceStrategy strategy, @Nullable MatchingRule<T> matchingRule)
boolean
equals(Object obj)
<IV extends PrismValue,ID extends ItemDefinition>
PartiallyResolvedItem<IV,ID>findPartial(ItemPath path)
@Nullable ExpressionWrapper
getExpression()
XNode
getRawElement()
Class<?>
getRealClass()
T
getRealValue()
Under what circumstances can this method return null (for properties)?static <T> T
getRealValue(PrismPropertyValue<T> propertyValue)
T
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
setValue(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, getAllItems, 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:PrismValue
Literal clone.- Specified by:
clone
in interfacePrismValue
-
cloneComplex
PrismPropertyValue<T> cloneComplex(CloneStrategy strategy)
Description copied from interface:PrismValue
Complex clone with different cloning strategies.- Specified by:
cloneComplex
in 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:
getRealClass
in interfacePrismValue
-
getRealValue
@Nullable T getRealValue()
Under what circumstances can this method return null (for properties)?- Specified by:
getRealValue
in interfacePrismValue
-
getRealValue
static <T> T getRealValue(PrismPropertyValue<T> propertyValue)
-
isNotFalse
static boolean isNotFalse(PrismPropertyValue<Boolean> booleanPropertyValue)
-
isTrue
static boolean isTrue(PrismPropertyValue<Boolean> booleanPropertyValue)
-
-