org.gxml.xs
Enum SmIdentityConstraintKind

java.lang.Object
  extended by java.lang.Enum<SmIdentityConstraintKind>
      extended by org.gxml.xs.SmIdentityConstraintKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SmIdentityConstraintKind>

public enum SmIdentityConstraintKind
extends java.lang.Enum<SmIdentityConstraintKind>


Enum Constant Summary
Key
          The identity-constraint definition asserts uniqueness as for unique.
KeyRef
          The identity-constraint definition asserts a correspondence, with respect to the content identified by {selector}, of the tuples resulting from evaluation of the {fields} XPath expression(s), with those of the {referenced key}.
Unique
          The identity-constraint definition asserts uniqueness, with respect to the content identified by {selector}, of the tuples resulting from evaluation of the {fields} XPath expression(s).
 
Method Summary
 boolean isKey()
           
 boolean isKeyRef()
           
 boolean isUnique()
           
static SmIdentityConstraintKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SmIdentityConstraintKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unique

public static final SmIdentityConstraintKind Unique
The identity-constraint definition asserts uniqueness, with respect to the content identified by {selector}, of the tuples resulting from evaluation of the {fields} XPath expression(s).


Key

public static final SmIdentityConstraintKind Key
The identity-constraint definition asserts uniqueness as for unique. key further asserts that all selected content actually has such tuples.


KeyRef

public static final SmIdentityConstraintKind KeyRef
The identity-constraint definition asserts a correspondence, with respect to the content identified by {selector}, of the tuples resulting from evaluation of the {fields} XPath expression(s), with those of the {referenced key}.

Method Detail

values

public static SmIdentityConstraintKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SmIdentityConstraintKind c : SmIdentityConstraintKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SmIdentityConstraintKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isUnique

public boolean isUnique()

isKey

public boolean isKey()

isKeyRef

public boolean isKeyRef()


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.