|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.evolveum.midpoint.prism.PrismValue
com.evolveum.midpoint.prism.PrismReferenceValue
public class PrismReferenceValue
| Field Summary |
|---|
| Fields inherited from class com.evolveum.midpoint.prism.PrismValue |
|---|
domElement |
| Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
|---|
INDENT_STRING |
| Constructor Summary | |
|---|---|
PrismReferenceValue()
|
|
PrismReferenceValue(java.lang.String oid)
|
|
PrismReferenceValue(java.lang.String oid,
OriginType type,
Objectable source)
|
|
| Method Summary | |
|---|---|
void |
applyDefinition(ItemDefinition definition,
boolean force)
|
void |
applyDefinition(PrismReferenceDefinition definition,
boolean force)
|
void |
checkConsistenceInternal(Itemable rootItem,
ItemPath parentPath,
boolean requireDefinitions,
boolean prohibitRaw)
|
PrismReferenceValue |
clone()
|
protected void |
copyValues(PrismReferenceValue clone)
|
protected org.w3c.dom.Element |
createDomElement()
|
static PrismReferenceValue |
createFromTarget(PrismObject<?> refTarget)
|
java.lang.String |
debugDump()
Show the content of the object intended for diagnostics by system administrator. |
java.lang.String |
debugDump(int indent)
|
java.lang.String |
dump()
Show the content of the object intended for diagnostics by developer. |
boolean |
equals(java.lang.Object obj)
|
boolean |
equalsComplex(PrismReferenceValue other,
boolean ignoreMetadata,
boolean isLiteral)
|
boolean |
equalsComplex(PrismValue other,
boolean ignoreMetadata,
boolean isLiteral)
|
java.lang.String |
getDescription()
|
org.w3c.dom.Element |
getFilter()
|
PrismObject |
getObject()
|
java.lang.String |
getOid()
OID of the object that this reference refers to (reference target). |
javax.xml.namespace.QName |
getRelation()
|
javax.xml.namespace.QName |
getTargetType()
Returns XSD type of the object that this reference refers to. |
int |
hashCode()
|
boolean |
isEmpty()
|
boolean |
isRaw()
Returns true if the value is raw. |
void |
recompute(PrismContext prismContext)
|
boolean |
representsSameValue(PrismReferenceValue other)
|
boolean |
representsSameValue(PrismValue other)
Returns true if this and other value represent the same value. |
void |
setDescription(java.lang.String description)
|
void |
setFilter(org.w3c.dom.Element filter)
|
void |
setObject(PrismObject object)
|
void |
setOid(java.lang.String oid)
|
void |
setRelation(javax.xml.namespace.QName relation)
|
void |
setTargetType(javax.xml.namespace.QName targetType)
|
PrismReferenceValue |
toCannonical()
Returns a version of this value that is cannonical, that means it has the minimal form. |
java.lang.String |
toString()
|
| Methods inherited from class com.evolveum.midpoint.prism.PrismValue |
|---|
accept, applyDefinition, asDomElement, clearDomElement, cloneCollection, cloneValues, containsRealValue, copyValues, diff, diff, equals, equals, equalsRealValue, equalsRealValue, getOriginObject, getOriginType, getParent, getPath, getPrismContext, normalize, recompute, resetParentCollection, revive, setOriginObject, setOriginType, setParent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrismReferenceValue()
public PrismReferenceValue(java.lang.String oid)
public PrismReferenceValue(java.lang.String oid,
OriginType type,
Objectable source)
| Method Detail |
|---|
public java.lang.String getOid()
public void setOid(java.lang.String oid)
public PrismObject getObject()
public void setObject(PrismObject object)
public javax.xml.namespace.QName getTargetType()
public void setTargetType(javax.xml.namespace.QName targetType)
public javax.xml.namespace.QName getRelation()
public void setRelation(javax.xml.namespace.QName relation)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public org.w3c.dom.Element getFilter()
public void setFilter(org.w3c.dom.Element filter)
public boolean isRaw()
PrismValue
isRaw in class PrismValue
public void applyDefinition(ItemDefinition definition,
boolean force)
throws SchemaException
applyDefinition in class PrismValueSchemaException
public void applyDefinition(PrismReferenceDefinition definition,
boolean force)
throws SchemaException
SchemaExceptionpublic void recompute(PrismContext prismContext)
recompute in class PrismValueprotected org.w3c.dom.Element createDomElement()
createDomElement in class PrismValue
public void checkConsistenceInternal(Itemable rootItem,
ItemPath parentPath,
boolean requireDefinitions,
boolean prohibitRaw)
checkConsistenceInternal in class PrismValuepublic boolean isEmpty()
isEmpty in class PrismValuepublic PrismReferenceValue toCannonical()
public boolean equalsComplex(PrismValue other,
boolean ignoreMetadata,
boolean isLiteral)
equalsComplex in class PrismValue
public boolean equalsComplex(PrismReferenceValue other,
boolean ignoreMetadata,
boolean isLiteral)
public boolean equals(java.lang.Object obj)
equals in class PrismValuepublic int hashCode()
hashCode in class PrismValuepublic boolean representsSameValue(PrismValue other)
PrismValue
representsSameValue in class PrismValuepublic boolean representsSameValue(PrismReferenceValue other)
public static PrismReferenceValue createFromTarget(PrismObject<?> refTarget)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String debugDump()
DebugDumpable
debugDump in interface DebugDumpablepublic java.lang.String debugDump(int indent)
debugDump in interface DebugDumpablepublic java.lang.String dump()
Dumpable
dump in interface Dumpablepublic PrismReferenceValue clone()
clone in class PrismValueprotected void copyValues(PrismReferenceValue clone)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||