fr.orsay.lri.varna.models.templates
Enum RNATemplate.EdgeEndPointPosition

java.lang.Object
  extended by java.lang.Enum<RNATemplate.EdgeEndPointPosition>
      extended by fr.orsay.lri.varna.models.templates.RNATemplate.EdgeEndPointPosition
All Implemented Interfaces:
Serializable, Comparable<RNATemplate.EdgeEndPointPosition>
Enclosing class:
RNATemplate

public static enum RNATemplate.EdgeEndPointPosition
extends Enum<RNATemplate.EdgeEndPointPosition>

Position of an endpoint on an endpoint. Not all values make sense for any endpoint. For an helix, all four make sense, but for a non-paired sequence, only IN1 and OUT1 make sense.


Enum Constant Summary
IN1
           
IN2
           
OUT1
           
OUT2
           
 
Method Summary
static RNATemplate.EdgeEndPointPosition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RNATemplate.EdgeEndPointPosition[] 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

IN1

public static final RNATemplate.EdgeEndPointPosition IN1

IN2

public static final RNATemplate.EdgeEndPointPosition IN2

OUT1

public static final RNATemplate.EdgeEndPointPosition OUT1

OUT2

public static final RNATemplate.EdgeEndPointPosition OUT2
Method Detail

values

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

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

valueOf

public static RNATemplate.EdgeEndPointPosition 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