org.objectweb.dsrg.sofa.repository.model
Enum AssumptionKind

java.lang.Object
  extended by java.lang.Enum<AssumptionKind>
      extended by org.objectweb.dsrg.sofa.repository.model.AssumptionKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AssumptionKind>, org.eclipse.emf.common.util.Enumerator

public enum AssumptionKind
extends java.lang.Enum<AssumptionKind>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Assumption Kind', and utility methods for working with them.

See Also:
ModelPackage.getAssumptionKind()
Generated from the meta-model
Part of the meta-model

Enum Constant Summary
ATTRIBUTE
          The 'Attribute' literal object
CAPACITY
          The 'Capacity' literal object
MAXIMUM
          The 'Maximum' literal object
MINIMUM
          The 'Minimum' literal object
 
Field Summary
static int ATTRIBUTE_VALUE
          The 'Attribute' literal value
static int CAPACITY_VALUE
          The 'Capacity' literal value
static int MAXIMUM_VALUE
          The 'Maximum' literal value
static int MINIMUM_VALUE
          The 'Minimum' literal value
static java.util.List<AssumptionKind> VALUES
          A public read-only list of all the 'Assumption Kind' enumerators
 
Method Summary
static AssumptionKind get(int value)
          Returns the 'Assumption Kind' literal with the specified integer value
static AssumptionKind get(java.lang.String literal)
          Returns the 'Assumption Kind' literal with the specified literal value
static AssumptionKind getByName(java.lang.String name)
          Returns the 'Assumption Kind' literal with the specified name
 java.lang.String getLiteral()
           
 java.lang.String getName()
           
 int getValue()
           
 java.lang.String toString()
          Returns the literal value of the enumerator, which is its string representation
static AssumptionKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AssumptionKind[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATTRIBUTE

public static final AssumptionKind ATTRIBUTE
The 'Attribute' literal object.

See Also:
ATTRIBUTE_VALUE
Generated from the meta-model
Ordered (meta-model)

MAXIMUM

public static final AssumptionKind MAXIMUM
The 'Maximum' literal object.

See Also:
MAXIMUM_VALUE
Generated from the meta-model
Ordered (meta-model)

MINIMUM

public static final AssumptionKind MINIMUM
The 'Minimum' literal object.

See Also:
MINIMUM_VALUE
Generated from the meta-model
Ordered (meta-model)

CAPACITY

public static final AssumptionKind CAPACITY
The 'Capacity' literal object.

See Also:
CAPACITY_VALUE
Generated from the meta-model
Ordered (meta-model)
Field Detail

ATTRIBUTE_VALUE

public static final int ATTRIBUTE_VALUE
The 'Attribute' literal value.

If the meaning of 'Attribute' literal object isn't clear, there really should be more of a description here...

See Also:
ATTRIBUTE, Constant Field Values
Generated from the meta-model
Ordered (meta-model)
Part of the meta-model
name="attribute"

MAXIMUM_VALUE

public static final int MAXIMUM_VALUE
The 'Maximum' literal value.

If the meaning of 'Maximum' literal object isn't clear, there really should be more of a description here...

See Also:
MAXIMUM, Constant Field Values
Generated from the meta-model
Ordered (meta-model)
Part of the meta-model
name="maximum"

MINIMUM_VALUE

public static final int MINIMUM_VALUE
The 'Minimum' literal value.

If the meaning of 'Minimum' literal object isn't clear, there really should be more of a description here...

See Also:
MINIMUM, Constant Field Values
Generated from the meta-model
Ordered (meta-model)
Part of the meta-model
name="minimum"

CAPACITY_VALUE

public static final int CAPACITY_VALUE
The 'Capacity' literal value.

If the meaning of 'Capacity' literal object isn't clear, there really should be more of a description here...

See Also:
CAPACITY, Constant Field Values
Generated from the meta-model
Ordered (meta-model)
Part of the meta-model
name="capacity"

VALUES

public static final java.util.List<AssumptionKind> VALUES
A public read-only list of all the 'Assumption Kind' enumerators.

Generated from the meta-model
Method Detail

values

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

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

valueOf

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

get

public static AssumptionKind get(java.lang.String literal)
Returns the 'Assumption Kind' literal with the specified literal value.

Generated from the meta-model

getByName

public static AssumptionKind getByName(java.lang.String name)
Returns the 'Assumption Kind' literal with the specified name.

Generated from the meta-model

get

public static AssumptionKind get(int value)
Returns the 'Assumption Kind' literal with the specified integer value.

Generated from the meta-model

getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
Generated from the meta-model

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
Generated from the meta-model

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
Generated from the meta-model

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<AssumptionKind>
Generated from the meta-model