org.plasma.sdo
Enum AssociationPath

java.lang.Object
  extended by java.lang.Enum<AssociationPath>
      extended by org.plasma.sdo.AssociationPath
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AssociationPath>

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

Defines the structural nature of the path or set of paths between two model types, where a path may involve one or more traversals or hops from the source to the destination through any number of SDO reference properties.


Enum Constant Summary
many
          Two model elements are associated through any number of multi-valued (many) reference properties
many_binary
          Two model elements are associated through two multi-valued (many) reference properties
many_nary
          Two model elements are associated through more-than-three multi-valued (many) reference properties
many_ternary
          Two model elements are associated through three multi-valued (many) reference properties
many_unary
          Two model elements are associated through one-and-only-one multi-valued (many) reference property
singular
          Two model elements are associated through any number of singular reference properties
singular_binary
          Two model elements are associated through two singular reference properties
singular_nary
          Two model elements are associated through more-than-three singular reference properties
singular_ternary
          Two model elements are associated through three singular reference properties
singular_unary
          Two model elements are associated through one-and-only-one singular reference property
 
Method Summary
static AssociationPath valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AssociationPath[] 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

singular

public static final AssociationPath singular
Two model elements are associated through any number of singular reference properties


singular_unary

public static final AssociationPath singular_unary
Two model elements are associated through one-and-only-one singular reference property


singular_binary

public static final AssociationPath singular_binary
Two model elements are associated through two singular reference properties


singular_ternary

public static final AssociationPath singular_ternary
Two model elements are associated through three singular reference properties


singular_nary

public static final AssociationPath singular_nary
Two model elements are associated through more-than-three singular reference properties


many

public static final AssociationPath many
Two model elements are associated through any number of multi-valued (many) reference properties


many_unary

public static final AssociationPath many_unary
Two model elements are associated through one-and-only-one multi-valued (many) reference property


many_binary

public static final AssociationPath many_binary
Two model elements are associated through two multi-valued (many) reference properties


many_ternary

public static final AssociationPath many_ternary
Two model elements are associated through three multi-valued (many) reference properties


many_nary

public static final AssociationPath many_nary
Two model elements are associated through more-than-three multi-valued (many) reference properties

Method Detail

values

public static AssociationPath[] 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 (AssociationPath c : AssociationPath.values())
    System.out.println(c);

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

valueOf

public static AssociationPath 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


Copyright © 2013. All Rights Reserved.