LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info
Enum LyRelationFieldInfo.Direction

java.lang.Object
  extended by java.lang.Enum<LyRelationFieldInfo.Direction>
      extended by leon.info.LyRelationFieldInfo.Direction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LyRelationFieldInfo.Direction>
Enclosing class:
LyRelationFieldInfo

public static enum LyRelationFieldInfo.Direction
extends java.lang.Enum<LyRelationFieldInfo.Direction>

Directions.


Enum Constant Summary
BACKWARD
          Direction backward : the relation can be traversed when calculating cross references beetween the classes enabled on this relation and the class that contains this field.
BOTH
          Direction both : the relation can be traversed when calculating cross references in both forward and backward directions.
FORWARD
          Direction forward : the relation can be traversed when calculating cross references beetween the class that contains this field and classes accepted on this relation.
NONE
          Direction none : the relation can't be traversed to calculate cross references.
 
Method Summary
static LyRelationFieldInfo.Direction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LyRelationFieldInfo.Direction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FORWARD

public static final LyRelationFieldInfo.Direction FORWARD
Direction forward : the relation can be traversed when calculating cross references beetween the class that contains this field and classes accepted on this relation.


BACKWARD

public static final LyRelationFieldInfo.Direction BACKWARD
Direction backward : the relation can be traversed when calculating cross references beetween the classes enabled on this relation and the class that contains this field.


BOTH

public static final LyRelationFieldInfo.Direction BOTH
Direction both : the relation can be traversed when calculating cross references in both forward and backward directions.


NONE

public static final LyRelationFieldInfo.Direction NONE
Direction none : the relation can't be traversed to calculate cross references.

Method Detail

values

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

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

valueOf

public static LyRelationFieldInfo.Direction 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

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com