org.eclipse.tigerstripe.model
Enum IAssociationEnd.EChangeableEnum

java.lang.Object
  extended by java.lang.Enum<IAssociationEnd.EChangeableEnum>
      extended by org.eclipse.tigerstripe.model.IAssociationEnd.EChangeableEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IAssociationEnd.EChangeableEnum>
Enclosing interface:
IAssociationEnd

public static enum IAssociationEnd.EChangeableEnum
extends java.lang.Enum<IAssociationEnd.EChangeableEnum>

An enum of the possible values for the changeability of an end.


Enum Constant Summary
ADDONLY
           
FROZEN
           
NONE
           
 
Method Summary
 java.lang.String getLabel()
          Return the label for an enumeration value.
static IAssociationEnd.EChangeableEnum parse(java.lang.String label)
          Given a String label, return an enumeration value.
static IAssociationEnd.EChangeableEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IAssociationEnd.EChangeableEnum[] 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

NONE

public static final IAssociationEnd.EChangeableEnum NONE

FROZEN

public static final IAssociationEnd.EChangeableEnum FROZEN

ADDONLY

public static final IAssociationEnd.EChangeableEnum ADDONLY
Method Detail

values

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

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

valueOf

public static IAssociationEnd.EChangeableEnum 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

getLabel

public java.lang.String getLabel()
Return the label for an enumeration value.

Returns:
String - the label.

parse

public static IAssociationEnd.EChangeableEnum parse(java.lang.String label)
Given a String label, return an enumeration value. Returns null if no enumeration corresponds to the label.

Parameters:
label -
Returns:
the enumeration value that corresponds to the label.