com.evolveum.midpoint.schema.processor
Class ObjectReference
java.lang.Object
com.evolveum.midpoint.schema.processor.Property
com.evolveum.midpoint.schema.processor.ObjectReference
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
Methods inherited from class com.evolveum.midpoint.schema.processor.Property |
createModification, createModification, dump, getDisplayName, getHelp, getName, getValue, getValue, getValues, getValues, serializeToDom, setDefinition, setName, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectReference
public ObjectReference()
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
Copyright © 2011 evolveum. All Rights Reserved.