org.eclipse.emf.cdo.common.model
Enum CDOPackageUnit.Type

java.lang.Object
  extended by java.lang.Enum<CDOPackageUnit.Type>
      extended by org.eclipse.emf.cdo.common.model.CDOPackageUnit.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CDOPackageUnit.Type>
Enclosing interface:
CDOPackageUnit

public static enum CDOPackageUnit.Type
extends java.lang.Enum<CDOPackageUnit.Type>


Enum Constant Summary
DYNAMIC
           
LEGACY
           
NATIVE
           
UNKNOWN
           
 
Method Summary
 void checkNotUnknown()
           
 boolean isGenerated()
           
static CDOPackageUnit.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CDOPackageUnit.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NATIVE

public static final CDOPackageUnit.Type NATIVE

LEGACY

public static final CDOPackageUnit.Type LEGACY

DYNAMIC

public static final CDOPackageUnit.Type DYNAMIC

UNKNOWN

public static final CDOPackageUnit.Type UNKNOWN
Method Detail

values

public static final CDOPackageUnit.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CDOPackageUnit.Type c : CDOPackageUnit.Type.values())
        System.out.println(c);

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

valueOf

public static CDOPackageUnit.Type 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

isGenerated

public boolean isGenerated()

checkNotUnknown

public void checkNotUnknown()

Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
All Rights Reserved.