|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<IModelElement.ElementType>
net.sourceforge.nrl.parser.model.IModelElement.ElementType
public static enum IModelElement.ElementType
A short summary of what sort of model element this is. Used by
IModelElement.getElementType().
| Enum Constant Summary | |
|---|---|
Classifier
Element is a classifier ( IClassifier}. |
|
DataType
Element is a data type ( IDataType). |
|
DataTypeWithAttributes
Element is a data type ( IDataType), but has attributes. |
|
Enumeration
Element is an IClassifier representing an enumeration. |
|
Package
Element is an IPackage. |
|
| Method Summary | |
|---|---|
static IModelElement.ElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IModelElement.ElementType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IModelElement.ElementType Classifier
IClassifier}.
public static final IModelElement.ElementType DataType
IDataType).
public static final IModelElement.ElementType DataTypeWithAttributes
IDataType), but has attributes.
public static final IModelElement.ElementType Enumeration
IClassifier representing an enumeration.
public static final IModelElement.ElementType Package
IPackage.
| Method Detail |
|---|
public static final IModelElement.ElementType[] values()
for(IModelElement.ElementType c : IModelElement.ElementType.values())
System.out.println(c);
public static IModelElement.ElementType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||