de.hpi.fgis.dude.util.data
Enum DuDeObjectPair.GeneratedBy

java.lang.Object
  extended by java.lang.Enum<DuDeObjectPair.GeneratedBy>
      extended by de.hpi.fgis.dude.util.data.DuDeObjectPair.GeneratedBy
All Implemented Interfaces:
Serializable, Comparable<DuDeObjectPair.GeneratedBy>
Enclosing class:
DuDeObjectPair

public static enum DuDeObjectPair.GeneratedBy
extends Enum<DuDeObjectPair.GeneratedBy>

DuDeObjectPair.GeneratedBy declares the possible values for the lineage property.

Author:
Matthias Pohl

Enum Constant Summary
Algorithm
          This type shall be used, if the DuDeObjectPair was generated by the algorithm.
NotDefined
          This type shall be used, if the lineage cannot be determined.
TransitiveClosure
          This type shall be used, if the DuDeObjectPair was generated by a transitive closure.
 
Method Summary
static DuDeObjectPair.GeneratedBy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DuDeObjectPair.GeneratedBy[] 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

Algorithm

public static final DuDeObjectPair.GeneratedBy Algorithm
This type shall be used, if the DuDeObjectPair was generated by the algorithm.


TransitiveClosure

public static final DuDeObjectPair.GeneratedBy TransitiveClosure
This type shall be used, if the DuDeObjectPair was generated by a transitive closure.


NotDefined

public static final DuDeObjectPair.GeneratedBy NotDefined
This type shall be used, if the lineage cannot be determined.

Method Detail

values

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

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

valueOf

public static DuDeObjectPair.GeneratedBy 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
NullPointerException - if the argument is null


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.