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.PropertyDefinition
          extended by com.evolveum.midpoint.schema.processor.ObjectReferenceDefinition

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

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, isMandatory, isMultiValue, isOptional, isSingleValue, setCreate, setMaxOccurs, setMinOccurs, setRead, setUpdate
 
Methods inherited from class com.evolveum.midpoint.schema.processor.Definition
debugDump, getDefaultName, getDisplayName, getHelp, getName, getNameOrDefaultName, getTypeName, toString
 
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.