org.jbind.xml.core.constraint
Interface ITypeInstanceConstraint

All Superinterfaces:
IComponent, IConstraint, IHasBindingAttributes, IHasLocation, IIdentityConstraint, IIdentityConstraintComponent, IInstanceConstraint, ISourceInfo, ITypeIdentityConstraint
All Known Subinterfaces:
ITypeKeyConstraint, ITypeUniqueConstraint
All Known Implementing Classes:
TypeInstanceConstraint, TypeKeyConstraint, TypeUniqueConstraint

public interface ITypeInstanceConstraint
extends ITypeIdentityConstraint, IInstanceConstraint


Nested Class Summary
static interface ITypeInstanceConstraint.IScope
           
 
Field Summary
static ITypeInstanceConstraint.IScope GLOBAL
           
static ITypeInstanceConstraint.IScope LOCAL
           
 
Method Summary
 void collectLocalTypeInstances(IAnyTypeData aData, java.util.Map aMap, IConstraintViolations aViolations)
           
 ITypeInstanceConstraint.IScope getScope()
           
 
Methods inherited from interface org.jbind.xml.core.constraint.IIdentityConstraintComponent
getNbFields, getSelector, setFields, setSelector
 
Methods inherited from interface org.jbind.xml.core.cmp.IComponent
accept, addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, getSymbolspace, isAnonymous, isReference, isTopLevelComponent, setBindings, setParentComponent, validate
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.constraint.IIdentityConstraint
getDataType, setDataType
 
Methods inherited from interface org.jbind.xml.core.constraint.IConstraint
getConstraintType, globalCheck, isFinal, isRestriction, localCheck
 

Field Detail

GLOBAL

public static final ITypeInstanceConstraint.IScope GLOBAL

LOCAL

public static final ITypeInstanceConstraint.IScope LOCAL
Method Detail

getScope

public ITypeInstanceConstraint.IScope getScope()

collectLocalTypeInstances

public void collectLocalTypeInstances(IAnyTypeData aData,
                                      java.util.Map aMap,
                                      IConstraintViolations aViolations)