org.apache.xerces.xs

Interface XSIDCDefinition

All Superinterfaces:
XSObject

public interface XSIDCDefinition
extends XSObject

This interface represents the Identity-constraint Definition schema component.

Field Summary

static short
IC_KEY
See the definition of key in the identity-constraint category.
static short
IC_KEYREF
See the definition of keyref in the identity-constraint category.
static short
IC_UNIQUE
See the definition of unique in the identity-constraint category.

Method Summary

XSObjectList
getAnnotations()
A sequence of [annotations] or an empty XSObjectList.
short
getCategory()
[identity-constraint category]: one of key, keyref or unique.
StringList
getFieldStrs()
[fields]: a non-empty list of restricted XPath 1.0 expressions.
XSIDCDefinition
getRefKey()
[referenced key]: required if [identity-constraint category] is keyref, null otherwise.
String
getSelectorStr()
[selector]: a restricted XPath 1.0 expression.

Methods inherited from interface org.apache.xerces.xs.XSObject

getName, getNamespace, getNamespaceItem, getType

Field Details

IC_KEY

public static final short IC_KEY
See the definition of key in the identity-constraint category.
Field Value:
1

IC_KEYREF

public static final short IC_KEYREF
See the definition of keyref in the identity-constraint category.
Field Value:
2

IC_UNIQUE

public static final short IC_UNIQUE
See the definition of unique in the identity-constraint category.
Field Value:
3

Method Details

getAnnotations

public XSObjectList getAnnotations()
A sequence of [annotations] or an empty XSObjectList.

getCategory

public short getCategory()
[identity-constraint category]: one of key, keyref or unique.

getFieldStrs

public StringList getFieldStrs()
[fields]: a non-empty list of restricted XPath 1.0 expressions.

getRefKey

public XSIDCDefinition getRefKey()
[referenced key]: required if [identity-constraint category] is keyref, null otherwise. An identity-constraint definition with [ identity-constraint category] equal to key or unique.

getSelectorStr

public String getSelectorStr()
[selector]: a restricted XPath 1.0 expression.

Copyright B) 1999-2007 The Apache Software Foundation. All Rights Reserved.