Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 set of [annotations] if it exists, otherwise 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.
`java.lang.String` | `getSelectorStr()` [selector]: a restricted XPath 1.0 expression.

Methods inherited from interface org.apache.xerces.xs.XSObject
`getName, getNamespace, getNamespaceItem, getType`

Field Detail

### IC_KEY

    public static final short IC_KEY

  See the definition of `key` in the identity-constraint category.

### IC_KEYREF

    public static final short IC_KEYREF

  See the definition of `keyref` in the identity-constraint category.

### IC_UNIQUE

    public static final short IC_UNIQUE

  See the definition of `unique` in the identity-constraint category.

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 1.0 expression.

### 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.

### getAnnotations

    public XSObjectList getAnnotations()

  A set of [annotations] if it exists, otherwise an empty `XSObjectList`.

Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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