org.eclipse.emf.emfstore.internal.common.model
Enum EMFStorePropertyType

java.lang.Object
  extended by java.lang.Enum<EMFStorePropertyType>
      extended by org.eclipse.emf.emfstore.internal.common.model.EMFStorePropertyType
All Implemented Interfaces:
Serializable, Comparable<EMFStorePropertyType>, org.eclipse.emf.common.util.Enumerator

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

A representation of the literals of the enumeration 'EMF Store Property Type', and utility methods for working with them.

See Also:
ModelPackage.getEMFStorePropertyType()

Enum Constant Summary
LOCAL
          The 'Local' literal object.
SHARED
          The 'Shared' literal object.
 
Field Summary
static int LOCAL_VALUE
          The 'Local' literal value.
static int SHARED_VALUE
          The 'Shared' literal value.
static List<EMFStorePropertyType> VALUES
          A public read-only list of all the 'EMF Store Property Type' enumerators.
 
Method Summary
static EMFStorePropertyType get(int value)
          Returns the 'EMF Store Property Type' literal with the specified integer value.
static EMFStorePropertyType get(String literal)
          Returns the 'EMF Store Property Type' literal with the specified literal value.
static EMFStorePropertyType getByName(String name)
          Returns the 'EMF Store Property 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 EMFStorePropertyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EMFStorePropertyType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SHARED

public static final EMFStorePropertyType SHARED
The 'Shared' literal object.

See Also:
SHARED_VALUE

LOCAL

public static final EMFStorePropertyType LOCAL
The 'Local' literal object.

See Also:
LOCAL_VALUE
Field Detail

SHARED_VALUE

public static final int SHARED_VALUE
The 'Shared' literal value.

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

See Also:
SHARED, Constant Field Values

LOCAL_VALUE

public static final int LOCAL_VALUE
The 'Local' literal value.

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

See Also:
LOCAL, Constant Field Values

VALUES

public static final List<EMFStorePropertyType> VALUES
A public read-only list of all the 'EMF Store Property Type' enumerators.

Method Detail

values

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

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

valueOf

public static EMFStorePropertyType 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 EMFStorePropertyType get(String literal)
Returns the 'EMF Store Property Type' literal with the specified literal value.


getByName

public static EMFStorePropertyType getByName(String name)
Returns the 'EMF Store Property Type' literal with the specified name.


get

public static EMFStorePropertyType get(int value)
Returns the 'EMF Store Property 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<EMFStorePropertyType>


Copyright © 2015. All Rights Reserved.