org.openxma.dsl.dom.model
Enum CrudOperationType

java.lang.Object
  extended by java.lang.Enum<CrudOperationType>
      extended by org.openxma.dsl.dom.model.CrudOperationType
All Implemented Interfaces:
Serializable, Comparable<CrudOperationType>, org.eclipse.emf.common.util.Enumerator

public enum CrudOperationType
extends Enum<CrudOperationType>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Crud Operation Type', and utility methods for working with them.

See Also:
DomPackage.getCrudOperationType()

Enum Constant Summary
ALL
          The 'ALL' literal object.
CREATE
          The 'CREATE' literal object.
DELETE
          The 'DELETE' literal object.
NULL
          The 'NULL' literal object.
READ
          The 'READ' literal object.
UPDATE
          The 'UPDATE' literal object.
 
Field Summary
static int ALL_VALUE
          The 'ALL' literal value.
static int CREATE_VALUE
          The 'CREATE' literal value.
static int DELETE_VALUE
          The 'DELETE' literal value.
static int NULL_VALUE
          The 'NULL' literal value.
static int READ_VALUE
          The 'READ' literal value.
static int UPDATE_VALUE
          The 'UPDATE' literal value.
static List<CrudOperationType> VALUES
          A public read-only list of all the 'Crud Operation Type' enumerators.
 
Method Summary
static CrudOperationType get(int value)
          Returns the 'Crud Operation Type' literal with the specified integer value.
static CrudOperationType get(String literal)
          Returns the 'Crud Operation Type' literal with the specified literal value.
static CrudOperationType getByName(String name)
          Returns the 'Crud Operation Type' literal with the specified name.
 String getLiteral()
           
 String getName()
           
 int getValue()
           
 String toString()
          Returns the literal value of the enumerator, which is its string representation.
static CrudOperationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CrudOperationType[] 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

NULL

public static final CrudOperationType NULL
The 'NULL' literal object.

See Also:
NULL_VALUE

CREATE

public static final CrudOperationType CREATE
The 'CREATE' literal object.

See Also:
CREATE_VALUE

READ

public static final CrudOperationType READ
The 'READ' literal object.

See Also:
READ_VALUE

UPDATE

public static final CrudOperationType UPDATE
The 'UPDATE' literal object.

See Also:
UPDATE_VALUE

DELETE

public static final CrudOperationType DELETE
The 'DELETE' literal object.

See Also:
DELETE_VALUE

ALL

public static final CrudOperationType ALL
The 'ALL' literal object.

See Also:
ALL_VALUE
Field Detail

NULL_VALUE

public static final int NULL_VALUE
The 'NULL' literal value.

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

See Also:
NULL, Constant Field Values

CREATE_VALUE

public static final int CREATE_VALUE
The 'CREATE' literal value.

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

See Also:
CREATE, Constant Field Values

READ_VALUE

public static final int READ_VALUE
The 'READ' literal value.

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

See Also:
READ, Constant Field Values

UPDATE_VALUE

public static final int UPDATE_VALUE
The 'UPDATE' literal value.

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

See Also:
UPDATE, Constant Field Values

DELETE_VALUE

public static final int DELETE_VALUE
The 'DELETE' literal value.

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

See Also:
DELETE, Constant Field Values

ALL_VALUE

public static final int ALL_VALUE
The 'ALL' literal value.

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

See Also:
ALL, Constant Field Values

VALUES

public static final List<CrudOperationType> VALUES
A public read-only list of all the 'Crud Operation Type' enumerators.

Method Detail

values

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

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

valueOf

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

get

public static CrudOperationType get(String literal)
Returns the 'Crud Operation Type' literal with the specified literal value.


getByName

public static CrudOperationType getByName(String name)
Returns the 'Crud Operation Type' literal with the specified name.


get

public static CrudOperationType get(int value)
Returns the 'Crud Operation Type' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator

getName

public String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

toString

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

Overrides:
toString in class Enum<CrudOperationType>


Copyright © 2013. All Rights Reserved.