org.eclipse.emf.ecore.change
Class ChangeKind

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.emf.ecore.change.ChangeKind
All Implemented Interfaces:
Enumerator

public final class ChangeKind
extends AbstractEnumerator

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

See Also:
ChangePackage.getChangeKind()

Field Summary
static int ADD
          The 'ADD' literal value
static ChangeKind ADD_LITERAL
          The 'ADD' literal object
static int MOVE
          The 'MOVE' literal value
static ChangeKind MOVE_LITERAL
          The 'MOVE' literal object
static int REMOVE
          The 'REMOVE' literal value
static ChangeKind REMOVE_LITERAL
          The 'REMOVE' literal object
static List VALUES
          A public read-only list of all the 'Kind' enumerators
 
Method Summary
static ChangeKind get(int value)
          Returns the 'Kind' literal with the specified integer value
static ChangeKind get(String literal)
          Returns the 'Kind' literal with the specified literal value
static ChangeKind getByName(String name)
          Returns the 'Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADD

public static final int ADD
The 'ADD' literal value.

See Also:
ADD_LITERAL, Constant Field Values

REMOVE

public static final int REMOVE
The 'REMOVE' literal value.

See Also:
REMOVE_LITERAL, Constant Field Values

MOVE

public static final int MOVE
The 'MOVE' literal value.

See Also:
MOVE_LITERAL, Constant Field Values

ADD_LITERAL

public static final ChangeKind ADD_LITERAL
The 'ADD' literal object.

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

See Also:
ADD

REMOVE_LITERAL

public static final ChangeKind REMOVE_LITERAL
The 'REMOVE' literal object.

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

See Also:
REMOVE

MOVE_LITERAL

public static final ChangeKind MOVE_LITERAL
The 'MOVE' literal object.

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

See Also:
MOVE

VALUES

public static final List VALUES
A public read-only list of all the 'Kind' enumerators.

Method Detail

get

public static ChangeKind get(String literal)
Returns the 'Kind' literal with the specified literal value.


getByName

public static ChangeKind getByName(String name)
Returns the 'Kind' literal with the specified name.


get

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


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.