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 void
applyDefinition(ItemDefinition definition)
void
applyDefinition(ItemDefinition definition, boolean force)
void
checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope)
PrismPropertyValue<T>
clone()
Literal clone.PrismPropertyValue<T>
cloneComplex(CloneStrategy strategy)
Complex clone with different cloning strategies.String
debugDump()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
String
debugDump(int indent, boolean detailedDump)
boolean
equals(PrismPropertyValue<?> other, ParameterizedEquivalenceStrategy strategy, MatchingRule<T> matchingRule)
boolean
equals(Object obj)
Object
find(ItemPath path)
<IV extends PrismValue,ID extends ItemDefinition>
PartiallyResolvedItem<IV,ID>findPartial(ItemPath path)
ExpressionWrapper
getExpression()
XNode
getRawElement()
Class<?>
getRealClass()
<T> T
getRealValue()
T
getValue()
int
hashCode()
boolean
isEmpty()
boolean
isRaw()
void
recompute(PrismContext prismContext)
void
revive(PrismContext prismContext)
void
setExpression(ExpressionWrapper expression)
void
setRawElement(XNode rawElement)
void
setValue(T value)
String
toHumanReadableString()
javax.xml.bind.JAXBElement<T>
toJaxbElement()
Returns JAXBElement corresponding to the this value.String
toString()
-
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:
isRaw
in interfacePrismValue
-
getExpression
@Nullable ExpressionWrapper getExpression()
-
setExpression
void setExpression(@Nullable ExpressionWrapper expression)
-
applyDefinition
void applyDefinition(ItemDefinition definition) throws SchemaException
- Specified by:
applyDefinition
in interfacePrismValue
- Throws:
SchemaException
-
applyDefinition
void applyDefinition(ItemDefinition definition, boolean force) throws SchemaException
- Specified by:
applyDefinition
in interfacePrismValue
- Throws:
SchemaException
-
revive
void revive(PrismContext prismContext) throws SchemaException
- Specified by:
revive
in interfacePrismValue
- Specified by:
revive
in interfaceRevivable
- Throws:
SchemaException
-
recompute
void recompute(PrismContext prismContext)
- Specified by:
recompute
in interfacePrismValue
-
find
Object find(ItemPath path)
- Specified by:
find
in 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:
checkConsistenceInternal
in interfacePrismValue
-
isEmpty
boolean isEmpty()
- Specified by:
isEmpty
in interfacePrismValue
-
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, ParameterizedEquivalenceStrategy strategy, MatchingRule<T> matchingRule)
-
debugDump
String debugDump()
Description copied from interface:DebugDumpable
Show 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:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
debugDump
String debugDump(int indent, boolean detailedDump)
-
toHumanReadableString
String toHumanReadableString()
- Specified by:
toHumanReadableString
in 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:
getRealClass
in interfacePrismValue
-
getRealValue
@Nullable <T> T getRealValue()
- Specified by:
getRealValue
in interfacePrismValue
-
-