Interface XSIdentityConstraint

    • Method Detail

      • getName

        String getName()
        Name of the identity constraint. A name uniquely identifies this within the namespace.
        Returns:
        never null.
      • getTargetNamespace

        String getTargetNamespace()
        Target namespace of the identity constraint. Just short for getParent().getTargetNamespace().
      • getCategory

        short getCategory()
        Returns the type of the identity constraint.
        Returns:
        either KEY,KEYREF, or UNIQUE.
      • getSelector

        XSXPath getSelector()
        Returns the selector XPath expression as string.
        Returns:
        never null.
      • getFields

        List<XSXPath> getFields()
        Returns the list of field XPaths.
        Returns:
        a non-empty read-only list of Strings, each representing the XPath.