|
||||||||||
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.ElementIdentityConstraint org.jbind.xml.schema.constraint.ElementInstanceConstraint org.jbind.xml.schema.constraint.ElementUniqueConstraint
Constructor Summary | |
ElementUniqueConstraint(ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName)
|
Method Summary | |
void |
checkElementKeys(IKeyStore anElementKeys,
IAnyTypeData aData,
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.ElementIdentityConstraint |
getElementDecl, setElementDecl |
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.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 ElementUniqueConstraint(ISourceInfo aSourceInfo, java.lang.String aNamespace, java.lang.String aName)
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 checkElementKeys(IKeyStore anElementKeys, IAnyTypeData aData, IConstraintViolations aViolations)
checkElementKeys
in interface IElementIdentityConstraint
public ConstraintType getConstraintType()
getConstraintType
in interface IConstraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |