Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
public interface: SchemaIdentityConstraint [javadoc | source]

All Implemented Interfaces:
    SchemaAnnotated, SchemaComponent

All Known Implementing Classes:

Represents an identity constraint definition.
Nested Class Summary:
public static final class  SchemaIdentityConstraint.Ref  Used to allow on-demand loading of identity constraints. 
Field Summary
public static final  int CC_KEY    A xs:key constraint. See #getConstraintCategory
public static final  int CC_KEYREF    A xs:keyRef constraint. See #getConstraintCategory
public static final  int CC_UNIQUE    A xs:unique constraint. See #getConstraintCategory
Method from org.apache.xmlbeans.SchemaIdentityConstraint Summary:
getConstraintCategory,   getFieldPath,   getFields,   getNSMap,   getReferencedKey,   getSelector,   getSelectorPath,   getUserData
Method from org.apache.xmlbeans.SchemaIdentityConstraint Detail:
 public int getConstraintCategory()
 public Object getFieldPath(int index)
    Return a compiled xpath object for the field.
 public String[] getFields()
    Return (a copy of) the xpaths for all the fields.
 public Map getNSMap()
    Return a read-only copy of the namespace map. This is the set of prefix to URI mappings that were in scope in the schema at the point at which this constraint was declared
 public SchemaIdentityConstraint getReferencedKey()
    Returns the key that a key ref refers to. Only valid for keyrefs.
 public String getSelector()
    Return the selector xpath as a string.
 public Object getSelectorPath()
    Return a compiled xpath object for the selector.
 public Object getUserData()
    Returns user-specific information.