org.apache.xerces.impl.xs.psvi
Interface XSIDConstraintDefinition

All Superinterfaces:
XSObject
All Known Implementing Classes:
IdentityConstraint

public interface XSIDConstraintDefinition
extends XSObject

3.11.1 The Identity-constraint Definition Schema Component.

Version:
$Id: XSIDConstraintDefinition.java,v 1.2 2002/06/17 18:41:46 elena Exp $
Author:
Elena Litani, IBM

Field Summary
static short IC_KEY
          Identity Constraints: key
static short IC_KEYREF
          Identity Constraints: key reference
static short IC_UNIQUE
          Identity Constraints: unique
 
Method Summary
 XSAnnotation getAnnotation()
          Optional.
 short getCategory()
          {identity-constraint category} One of key, keyref or unique.
 StringList getFieldStrs()
          {fields} A non-empty list of restricted XPath ([XPath]) expressions, as String's.
 XSIDConstraintDefinition getRefKey()
          {referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise.
 java.lang.String getSelectorStr()
          {selector} A restricted XPath ([XPath]) expression, as a String.
 
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSObject
getName, getNamespace, getType
 

Field Detail

IC_KEY

public static final short IC_KEY
Identity Constraints: key

See Also:
Constant Field Values

IC_KEYREF

public static final short IC_KEYREF
Identity Constraints: key reference

See Also:
Constant Field Values

IC_UNIQUE

public static final short IC_UNIQUE
Identity Constraints: unique

See Also:
Constant Field Values
Method Detail

getCategory

public short getCategory()
{identity-constraint category} One of key, keyref or unique.


getSelectorStr

public java.lang.String getSelectorStr()
{selector} A restricted XPath ([XPath]) expression, as a String.


getFieldStrs

public StringList getFieldStrs()
{fields} A non-empty list of restricted XPath ([XPath]) expressions, as String's.


getRefKey

public XSIDConstraintDefinition getRefKey()
{referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise. An identity-constraint definition with {identity-constraint category} equal to key or unique.


getAnnotation

public XSAnnotation getAnnotation()
Optional. Annotation.



Copyright © 1999-2002 Apache XML Project. All Rights Reserved.