public interface PrismReferenceValue extends PrismValue, ShortDumpable
INDENT_STRING
Modifier and Type | Method and Description |
---|---|
void |
applyDefinition(ItemDefinition definition,
boolean force) |
void |
applyDefinition(PrismReferenceDefinition definition,
boolean force) |
Referencable |
asReferencable() |
void |
checkConsistenceInternal(Itemable rootItem,
boolean requireDefinitions,
boolean prohibitRaw,
ConsistencyCheckScope scope) |
PrismReferenceValue |
clone()
Literal clone.
|
PrismReferenceValue |
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 expandObject) |
boolean |
equals(Object obj) |
Object |
find(ItemPath path) |
<IV extends PrismValue,ID extends ItemDefinition> |
findPartial(ItemPath path) |
PrismReferenceDefinition |
getDefinition() |
String |
getDescription() |
SearchFilterType |
getFilter() |
PrismObject |
getObject()
Returns object that this reference points to.
|
String |
getOid()
OID of the object that this reference refers to (reference target).
|
Class<?> |
getRealClass() |
Referencable |
getRealValue() |
QName |
getRelation() |
EvaluationTimeType |
getResolutionTime() |
PolyString |
getTargetName()
Returns cached name of the target object.
|
QName |
getTargetType()
Returns XSD type of the object that this reference refers to.
|
Class<Objectable> |
getTargetTypeCompileTimeClass() |
Class<Objectable> |
getTargetTypeCompileTimeClass(PrismContext prismContext) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isRaw() |
void |
recompute(PrismContext prismContext) |
PrismReferenceValue |
relation(QName relation) |
void |
revive(PrismContext prismContext) |
void |
setDescription(String description) |
void |
setFilter(SearchFilterType filter) |
void |
setObject(PrismObject object) |
void |
setOid(String oid) |
void |
setRelation(QName relation) |
void |
setResolutionTime(EvaluationTimeType resolutionTime) |
void |
setTargetName(PolyString name) |
void |
setTargetName(PolyStringType name) |
void |
setTargetType(QName targetType) |
void |
setTargetType(QName targetType,
boolean allowEmptyNamespace) |
void |
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.
|
PrismReferenceValue |
toCanonical()
Returns a version of this value that is canonical, that means it has the minimal form.
|
String |
toHumanReadableString() |
String |
toString() |
accept, accept, applyDefinition, clearParent, diff, diff, equals, equals, equals, getAllValues, getOriginObject, getOriginType, getParent, getParentContainerValue, getPath, getPrismContext, getRootValue, getTypeName, getUserData, getUserData, hashCode, hashCode, isImmutable, normalize, recompute, representsSameValue, setImmutable, setOriginObject, setOriginType, setParent, setPrismContext, setUserData
debugDumpLazily, debugDumpLazily
shortDump, shortDumpLazily
String getOid()
void setOid(String oid)
PrismObject getObject()
void setObject(PrismObject object)
QName getTargetType()
void setTargetType(QName targetType)
void setTargetType(QName targetType, boolean allowEmptyNamespace)
targetType
- allowEmptyNamespace
- This is an ugly hack. See comment in DOMUtil.validateNonEmptyQName.PolyString getTargetName()
void setTargetName(PolyString name)
void setTargetName(PolyStringType name)
Class<Objectable> getTargetTypeCompileTimeClass()
Class<Objectable> getTargetTypeCompileTimeClass(PrismContext prismContext)
QName getRelation()
void setRelation(QName relation)
PrismReferenceValue relation(QName relation)
String getDescription()
void setDescription(String description)
SearchFilterType getFilter()
void setFilter(SearchFilterType filter)
EvaluationTimeType getResolutionTime()
void setResolutionTime(EvaluationTimeType resolutionTime)
PrismReferenceDefinition getDefinition()
boolean isRaw()
isRaw
in interface PrismValue
Object find(ItemPath path)
find
in interface PrismValue
<IV extends PrismValue,ID extends ItemDefinition> PartiallyResolvedItem<IV,ID> findPartial(ItemPath path)
void applyDefinition(ItemDefinition definition, boolean force) throws SchemaException
applyDefinition
in interface PrismValue
SchemaException
void applyDefinition(PrismReferenceDefinition definition, boolean force) throws SchemaException
SchemaException
void recompute(PrismContext prismContext)
recompute
in interface PrismValue
void checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope)
checkConsistenceInternal
in interface PrismValue
boolean isEmpty()
isEmpty
in interface PrismValue
PrismReferenceValue toCanonical()
Referencable asReferencable()
String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
String debugDump(int indent)
debugDump
in interface DebugDumpable
String debugDump(int indent, boolean expandObject)
PrismReferenceValue clone()
PrismValue
clone
in interface PrismValue
PrismReferenceValue cloneComplex(CloneStrategy strategy)
PrismValue
cloneComplex
in interface PrismValue
CloneStrategy
String toHumanReadableString()
toHumanReadableString
in interface PrismValue
Class<?> getRealClass()
getRealClass
in interface PrismValue
@Nullable Referencable getRealValue()
getRealValue
in interface PrismValue
void revive(PrismContext prismContext) throws SchemaException
revive
in interface PrismValue
revive
in interface Revivable
SchemaException
void shortDump(StringBuilder sb)
ShortDumpable
shortDump
in interface ShortDumpable
sb
- StringBuilder to which to a compact one-line content of the object intended
for diagnostics by system administrator should be appended.Copyright © 2020 Evolveum. All rights reserved.