com.evolveum.midpoint.schema.processor
Class ObjectReferenceDefinition

java.lang.Object
  extended by com.evolveum.midpoint.schema.processor.Definition
      extended by com.evolveum.midpoint.schema.processor.ItemDefinition
          extended by com.evolveum.midpoint.schema.processor.PropertyDefinition
              extended by com.evolveum.midpoint.schema.processor.ObjectReferenceDefinition
All Implemented Interfaces:
Dumpable, java.io.Serializable

public class ObjectReferenceDefinition
extends PropertyDefinition

Object Reference Schema Definition. 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. This class represents schema definition for object reference. See Definition for more details.

Author:
Radovan Semancik
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.evolveum.midpoint.schema.processor.ItemDefinition
name
 
Fields inherited from class com.evolveum.midpoint.schema.processor.Definition
defaultName, displayName, help, ignored, typeName
 
Method Summary
 java.util.Set<javax.xml.namespace.QName> getTargetTypeNames()
          Returns valid XSD object types whose may be the targets of the reference.
 
Methods inherited from class com.evolveum.midpoint.schema.processor.PropertyDefinition
canCreate, canRead, canUpdate, getAllowedValues, getMaxOccurs, getMinOccurs, getValueType, instantiate, instantiate, instantiate, isMandatory, isMultiValue, isOptional, isSingleValue, parseItem, setCreate, setMaxOccurs, setMinOccurs, setRead, setReadOnly, setUpdate, toString
 
Methods inherited from class com.evolveum.midpoint.schema.processor.ItemDefinition
getName, getNameOrDefaultName
 
Methods inherited from class com.evolveum.midpoint.schema.processor.Definition
dump, dump, getDefaultName, getDisplayName, getHelp, getTypeName, isIgnored, setDisplayName, setHelp, setIgnored
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTargetTypeNames

public java.util.Set<javax.xml.namespace.QName> getTargetTypeNames()
Returns valid XSD object types whose may be the targets of the reference. Corresponds to "targetType" XSD annotation. Returns empty set if not specified. Must not return null.

Returns:
set of target type names


Copyright © 2011 evolveum. All Rights Reserved.