org.apache.ws.jaxme.xs.impl

Class XSIdentityConstraintImpl

Implemented Interfaces:
XSIdentityConstraint, XSObject, XSOpenAttrs

public class XSIdentityConstraintImpl
extends XSOpenAttrsImpl
implements XSIdentityConstraint

Default implementation of the XSIdentityConstraint.
Author:
Chris Kirk

Constructor Summary

XSIdentityConstraintImpl(XSElement pParent, XsEKey key)
XSIdentityConstraintImpl(XSElement pParent, XsEUnique unique)

Method Summary

XSAnnotation[]
getAnnotations()
Returns the array of annotations.
XSElementOrAttrRef[][]
getMatchCriteria()
String
getName()
boolean
isUnique()
void
validate()

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl

getOpenAttributes

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl

getLocator, getParentObject, getXSSchema, getXsObject, isTopLevelObject, validate, validateAllIn

Constructor Details

XSIdentityConstraintImpl

protected XSIdentityConstraintImpl(XSElement pParent,
                                   XsEKey key)
            throws SAXException

XSIdentityConstraintImpl

protected XSIdentityConstraintImpl(XSElement pParent,
                                   XsEUnique unique)
            throws SAXException

Method Details

getAnnotations

public XSAnnotation[] getAnnotations()
Returns the array of annotations.
Specified by:
getAnnotations in interface XSIdentityConstraint

getMatchCriteria

public XSElementOrAttrRef[][] getMatchCriteria()
Specified by:
getMatchCriteria in interface XSIdentityConstraint

getName

public String getName()
Specified by:
getName in interface XSIdentityConstraint
See Also:
getName()

isUnique

public boolean isUnique()
Specified by:
isUnique in interface XSIdentityConstraint
See Also:
isUnique

validate

public void validate()
            throws SAXException
Specified by:
validate in interface XSObject
Overrides:
validate in interface XSObjectImpl