Package com.evolveum.midpoint.prism
Interface PrismPropertyValue<T>
-
- All Superinterfaces:
DebugDumpable,PathVisitable,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 Instance Methods Abstract Methods Modifier and Type Method Description voidapplyDefinition(ItemDefinition definition)voidapplyDefinition(ItemDefinition definition, boolean force)voidcheckConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope)PrismPropertyValue<T>clone()Literal clone.PrismPropertyValue<T>cloneComplex(CloneStrategy strategy)Complex clone with different cloning strategies.StringdebugDump()Show the content of the object intended for diagnostics by system administrator.StringdebugDump(int indent)StringdebugDump(int indent, boolean detailedDump)booleanequals(PrismPropertyValue<?> other, ParameterizedEquivalenceStrategy strategy, MatchingRule<T> matchingRule)booleanequals(Object obj)Objectfind(ItemPath path)<IV extends PrismValue,ID extends ItemDefinition>
PartiallyResolvedItem<IV,ID>findPartial(ItemPath path)ExpressionWrappergetExpression()XNodegetRawElement()Class<?>getRealClass()<T> TgetRealValue()TgetValue()inthashCode()booleanisEmpty()booleanisRaw()voidrecompute(PrismContext prismContext)voidrevive(PrismContext prismContext)voidsetExpression(ExpressionWrapper expression)voidsetRawElement(XNode rawElement)voidsetValue(T value)StringtoHumanReadableString()javax.xml.bind.JAXBElement<T>toJaxbElement()Returns JAXBElement corresponding to the this value.StringtoString()-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismValue
accept, accept, clearParent, diff, diff, equals, equals, equals, getAllValues, getOriginObject, getOriginType, getParent, getParentContainerValue, getPath, getPrismContext, getRealValueOrRawType, getRootValue, getTypeName, getUserData, getUserData, hashCode, hashCode, hasRealClass, isImmutable, normalize, recompute, representsSameValue, setImmutable, setOriginObject, setOriginType, setParent, setPrismContext, setUserData
-
-
-
-
Method Detail
-
setValue
void setValue(T value)
-
getValue
T getValue()
-
getRawElement
XNode getRawElement()
-
setRawElement
void setRawElement(XNode rawElement)
-
isRaw
boolean isRaw()
- Specified by:
isRawin interfacePrismValue
-
getExpression
@Nullable ExpressionWrapper getExpression()
-
setExpression
void setExpression(@Nullable ExpressionWrapper expression)
-
applyDefinition
void applyDefinition(ItemDefinition definition) throws SchemaException
- Specified by:
applyDefinitionin interfacePrismValue- Throws:
SchemaException
-
applyDefinition
void applyDefinition(ItemDefinition definition, boolean force) throws SchemaException
- Specified by:
applyDefinitionin interfacePrismValue- Throws:
SchemaException
-
revive
void revive(PrismContext prismContext) throws SchemaException
- Specified by:
revivein interfacePrismValue- Specified by:
revivein interfaceRevivable- Throws:
SchemaException
-
recompute
void recompute(PrismContext prismContext)
- Specified by:
recomputein interfacePrismValue
-
find
Object find(ItemPath path)
- Specified by:
findin interfacePrismValue
-
findPartial
<IV extends PrismValue,ID extends ItemDefinition> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path)
-
checkConsistenceInternal
void checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope)
- Specified by:
checkConsistenceInternalin interfacePrismValue
-
isEmpty
boolean isEmpty()
- Specified by:
isEmptyin interfacePrismValue
-
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, ParameterizedEquivalenceStrategy strategy, MatchingRule<T> matchingRule)
-
debugDump
String debugDump()
Description copied from interface:DebugDumpableShow the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDumpin interfaceDebugDumpable- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
debugDump
String debugDump(int indent, boolean detailedDump)
-
toHumanReadableString
String toHumanReadableString()
- Specified by:
toHumanReadableStringin interfacePrismValue
-
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> T getRealValue()
- Specified by:
getRealValuein interfacePrismValue
-
-