org.biopax.paxtools.controller
Enum ModelUtils.RelationshipType

java.lang.Object
  extended by java.lang.Enum<ModelUtils.RelationshipType>
      extended by org.biopax.paxtools.controller.ModelUtils.RelationshipType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModelUtils.RelationshipType>
Enclosing class:
ModelUtils

public static enum ModelUtils.RelationshipType
extends java.lang.Enum<ModelUtils.RelationshipType>

Controlled vocabulary terms for the RelationshipType CV to be added with auto-generated/inferred comments and/or relationship xrefs. We do not want to use "official" CV terms and IDs from the PSI-MI "cross-reference" branch for several reasons: - it's does not have terms we'd like and have those we'd not use - to distinguish auto-generated rel. xrefs from the original BioPAX data - hack: we also want put the related BioPAX element's URI into the xref's 'id' proerty (this is not what the BioPAX standard officially regarding to use of xrefs)

Author:
rodche

Enum Constant Summary
GENE
           
ORGANISM
           
PROCESS
           
SEQUENCE
           
 
Method Summary
static ModelUtils.RelationshipType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModelUtils.RelationshipType[] 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

PROCESS

public static final ModelUtils.RelationshipType PROCESS

ORGANISM

public static final ModelUtils.RelationshipType ORGANISM

GENE

public static final ModelUtils.RelationshipType GENE

SEQUENCE

public static final ModelUtils.RelationshipType SEQUENCE
Method Detail

values

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

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

valueOf

public static ModelUtils.RelationshipType 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 © 2011 BioPAX. All Rights Reserved.