uk.ac.ebi.ep.mm
Enum Relationship

java.lang.Object
  extended by java.lang.Enum<Relationship>
      extended by uk.ac.ebi.ep.mm.Relationship
All Implemented Interfaces:
Serializable, Comparable<Relationship>

public enum Relationship
extends Enum<Relationship>


Enum Constant Summary
belongs_to
          Is part of a wider group, is found in...
binds_to
           
is_activator_of
           
is_cofactor_of
           
is_drug_for
           
is_inhibitor_of
           
is_part_of
          Is found (appears) in a concrete instance or case
is_related_to
          Most generic.
is_substrate_or_product_of
           
is_target_of
           
same_as
          An entry in a database referencing basically the same entity in another one (unification xref).
 
Method Summary
static Relationship between(MmDatabase from, MmDatabase to)
          Gets the usual relationship between two databases.
static Relationship valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Relationship[] 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

is_related_to

public static final Relationship is_related_to
Most generic.


same_as

public static final Relationship same_as
An entry in a database referencing basically the same entity in another one (unification xref).


belongs_to

public static final Relationship belongs_to
Is part of a wider group, is found in...


is_part_of

public static final Relationship is_part_of
Is found (appears) in a concrete instance or case


binds_to

public static final Relationship binds_to

is_drug_for

public static final Relationship is_drug_for

is_cofactor_of

public static final Relationship is_cofactor_of

is_inhibitor_of

public static final Relationship is_inhibitor_of

is_activator_of

public static final Relationship is_activator_of

is_target_of

public static final Relationship is_target_of

is_substrate_or_product_of

public static final Relationship is_substrate_or_product_of
Method Detail

values

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

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

valueOf

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

between

public static Relationship between(MmDatabase from,
                                   MmDatabase to)
Gets the usual relationship between two databases.



Copyright © 2012 EMBL-EBI. All Rights Reserved.