com.evolveum.midpoint.schema.processor
Class ObjectReference
java.lang.Object
com.evolveum.midpoint.schema.processor.Item
com.evolveum.midpoint.schema.processor.Property
com.evolveum.midpoint.schema.processor.ObjectReference
- All Implemented Interfaces:
- DebugDumpable, Dumpable, java.io.Serializable
public class ObjectReference
- extends Property
Object Reference is a property that describes reference to an object. It is
used to represent association between objects. For example reference from
User object to Account objects that belong to the user. The reference is a
simple uni-directional link using an OID as an identifier.
This type should be used for all object references so the implementations can
detect them and automatically resolve them.
- Author:
- semancik
- See Also:
- Serialized Form
Methods inherited from class com.evolveum.midpoint.schema.processor.Property |
addValue, addValues, applyValueToElement, clone, compareRealValuesTo, compareTo, copyValues, createModification, createModification, deleteValue, deleteValues, equals, getRealValues, getValue, getValue, getValues, getValues, hashCode, hasRealValue, hasValue, isEmpty, replaceValues, serializeToDom, serializeToDom, serializeToJaxb, setDefinition, setValue |
Methods inherited from class com.evolveum.midpoint.schema.processor.Item |
copyValues, debugDump, dump, getDisplayName, getElement, getHelp, getName, getParentPath, getPath, setElement, setName, setParentPath |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ObjectReference
public ObjectReference(javax.xml.namespace.QName name,
PropertyDefinition definition,
java.lang.Object element,
PropertyPath parentPath)
getDefinition
public ObjectReferenceDefinition getDefinition()
- Returns applicable property definition.
May return null if no definition is applicable or the definition is not
know.
- Overrides:
getDefinition
in class Property
- Returns:
- applicable property definition
getOid
public java.lang.String getOid()
- OID of the object that this reference refers to (reference target).
May return null, but the reference is in that case incomplete and
unusable.
- Returns:
- the target oid
getTargetTypeName
public javax.xml.namespace.QName getTargetTypeName()
- Returns XSD type of the object that this reference refers to. It may be
used in XPath expressions and similar filters.
May return null if the type name is not set.
- Returns:
- the target type name
toString
public java.lang.String toString()
- Overrides:
toString
in class Property
debugDump
public java.lang.String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
- Overrides:
debugDump
in class Property
getDebugDumpClassName
protected java.lang.String getDebugDumpClassName()
- Return a human readable name of this class suitable for logs.
- Overrides:
getDebugDumpClassName
in class Property
Copyright © 2012 evolveum. All Rights Reserved.