|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.cmp.Component org.jbind.xml.schema.constraint.IdentityConstraintComponent org.jbind.xml.schema.constraint.TypeIdentityConstraint org.jbind.xml.schema.constraint.TypeInstanceConstraint org.jbind.xml.schema.constraint.TypeKeyConstraint
Nested Class Summary |
Nested classes inherited from class org.jbind.xml.core.constraint.ITypeInstanceConstraint |
ITypeInstanceConstraint.IScope |
Field Summary |
Fields inherited from interface org.jbind.xml.core.constraint.ITypeInstanceConstraint |
GLOBAL, LOCAL |
Constructor Summary | |
TypeKeyConstraint(ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName,
ITypeInstanceConstraint.IScope aScope)
|
Method Summary | |
void |
collectLocalTypeInstances(IAnyTypeData aData,
java.util.Map aMap,
IConstraintViolations aViolations)
|
ConstraintType |
getConstraintType()
|
void |
globalCheck(IDataContext aContext,
IAnyTypeData aData,
IAnyTypeData anEnclosingData,
IConstraintViolations aViolations)
Checks if the specified data satisfies the constraint globally. |
Methods inherited from class org.jbind.xml.schema.constraint.TypeInstanceConstraint |
getScope |
Methods inherited from class org.jbind.xml.schema.constraint.IdentityConstraintComponent |
accept, createKey, getDataType, getNbFields, getSelector, getSymbolspace, isFinal, isReference, isRestriction, localCheck, select, select, setDataType, setFields, setSelector, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.constraint.ITypeInstanceConstraint |
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 |
isFinal, isRestriction, localCheck |
Constructor Detail |
public TypeKeyConstraint(ISourceInfo aSourceInfo, java.lang.String aNamespace, java.lang.String aName, ITypeInstanceConstraint.IScope aScope)
Method Detail |
public void globalCheck(IDataContext aContext, IAnyTypeData aData, IAnyTypeData anEnclosingData, IConstraintViolations aViolations)
IConstraint
globalCheck
in interface IConstraint
aContext
- (required).aData
- (required).aViolations
- (required).public void collectLocalTypeInstances(IAnyTypeData aData, java.util.Map aMap, IConstraintViolations aViolations)
collectLocalTypeInstances
in interface ITypeInstanceConstraint
public ConstraintType getConstraintType()
getConstraintType
in interface IConstraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |