Class IdentityField

  • All Implemented Interfaces:
    java.io.Serializable

    public class IdentityField
    extends Annotated
    A class which represents the field selector for an IdentityConstraint
    Version:
    $Revision: 6230 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
    Author:
    Keith Visco
    See Also:
    Serialized Form
    • Constructor Detail

      • IdentityField

        public IdentityField​(java.lang.String xpath)
                      throws SchemaException
        Creates a new IdentityField.
        Parameters:
        xpath - the xpath for the IdentityField. Must not be null.
        Throws:
        SchemaException - if xpath is null.
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the Id of this IdentityField, or null if no Id has been set.
        Returns:
        the Id of this IdentityField, or null if no Id has been set.
      • getXPath

        public java.lang.String getXPath()
        Returns the XPath of this IdentityField. This value will never be null.
        Returns:
        the XPath of this IdentityField.
      • setId

        public void setId​(java.lang.String id)
        Sets the Id for this IdentityField.
        Parameters:
        id - the Id for this IdentityField.
      • setXPath

        public void setXPath​(java.lang.String xpath)
                      throws SchemaException
        Sets the XPath expression for this Field.
        Parameters:
        xpath - the XPath expression for this IdentityField. Must not be null.
        Throws:
        SchemaException - if xpath is null.
      • getStructureType

        public short getStructureType()
        Returns the type of this Schema Structure
        Specified by:
        getStructureType in class Structure
        Returns:
        the type of this Schema Structure