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, getRealValueOrRawType, getRootValue, getTypeName, getUserData, getUserData, hashCode, hashCode, hasRealClass, isImmutable, normalize, recompute, representsSameValue, setImmutable, setOriginObject, setOriginType, setParent, setPrismContext, setUserDatadebugDumpLazily, debugDumpLazilyshortDump, shortDumpLazilyString 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 PrismValueObject 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 PrismValueSchemaExceptionvoid applyDefinition(PrismReferenceDefinition definition, boolean force) throws SchemaException
SchemaExceptionvoid recompute(PrismContext prismContext)
recompute in interface PrismValuevoid checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope)
checkConsistenceInternal in interface PrismValueboolean isEmpty()
isEmpty in interface PrismValuePrismReferenceValue toCanonical()
Referencable asReferencable()
String debugDump()
DebugDumpabledebugDump in interface DebugDumpableString debugDump(int indent)
debugDump in interface DebugDumpableString debugDump(int indent, boolean expandObject)
PrismReferenceValue clone()
PrismValueclone in interface PrismValuePrismReferenceValue cloneComplex(CloneStrategy strategy)
PrismValuecloneComplex in interface PrismValueCloneStrategyString toHumanReadableString()
toHumanReadableString in interface PrismValueClass<?> getRealClass()
getRealClass in interface PrismValue@Nullable Referencable getRealValue()
getRealValue in interface PrismValuevoid revive(PrismContext prismContext) throws SchemaException
revive in interface PrismValuerevive in interface RevivableSchemaExceptionvoid shortDump(StringBuilder sb)
ShortDumpableshortDump in interface ShortDumpablesb - StringBuilder to which to a compact one-line content of the object intended
for diagnostics by system administrator should be appended.Copyright © 2022 Evolveum. All rights reserved.