public enum ModelElement extends Enum<ModelElement>
Enum Constant and Description |
---|
BLUEPRINT |
DOMAIN_PROFILE |
TOPOLOGY |
TUNING_PARAMETERS |
Modifier and Type | Method and Description |
---|---|
Class<?> |
classType() |
static ModelElement |
forClass(Class<?> aClass)
Returns a instance of this Enum with same
classType as the supplied parameter. |
static boolean |
isModelElement(Class<?> aClass)
Verifies whether the supplied class parameter represents a
ModelElement |
String |
modelElementName() |
static ModelElement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelElement TOPOLOGY
public static final ModelElement DOMAIN_PROFILE
public static final ModelElement BLUEPRINT
public static final ModelElement TUNING_PARAMETERS
public static ModelElement[] values()
for (ModelElement c : ModelElement.values()) System.out.println(c);
public static ModelElement valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<?> classType()
public String modelElementName()
public static ModelElement forClass(Class<?> aClass)
classType
as the supplied parameter.aClass
- - Class to be matched with an existing classType
ModelElement
instance representing the supplied classpublic static boolean isModelElement(Class<?> aClass)
ModelElement
aClass
- - The class to be verifiedtrue
or false
based on whether the supplied class represents a ModelElement