de.espirit.or.schema
Enum ComposedAttribute.Relation

java.lang.Object
  extended by java.lang.Enum<ComposedAttribute.Relation>
      extended by de.espirit.or.schema.ComposedAttribute.Relation
All Implemented Interfaces:
Serializable, Comparable<ComposedAttribute.Relation>
Enclosing interface:
ComposedAttribute<T>

public static enum ComposedAttribute.Relation
extends Enum<ComposedAttribute.Relation>

Enum represanting the relation between tables.

Since:
4.0.17

Enum Constant Summary
MANY2MANY
           
ONE2MANY
           
ONE2ONE
           
 
Method Summary
static ComposedAttribute.Relation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComposedAttribute.Relation[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONE2ONE

public static final ComposedAttribute.Relation ONE2ONE
Since:
4.0.17

ONE2MANY

public static final ComposedAttribute.Relation ONE2MANY
Since:
4.0.17

MANY2MANY

public static final ComposedAttribute.Relation MANY2MANY
Since:
4.0.17
Method Detail

values

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

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

valueOf

public static ComposedAttribute.Relation valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480