Enum ProcessConstants.DataElementProperty
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.DataElementProperty>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.DataElementProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.DataElementProperty>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.DataElementProperty extends Enum<ProcessConstants.DataElementProperty>
The properties / attributes of data elements.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESCRIPTION
The description of the data elementDataElement.getDescription()
ID
The ID of the data element,DataElement.getID()
IDENTIFIER
The ID of the identifier,DataElement.getIdentifierID()
.NAME
The name of the data element,DataElement.getName()
.PUBLIC
If the data element is public,DataElement.isPublic()
.TYPE
The type of the data element,DataElement.getDataType()
/ProcessConstants.AdeptDataType
.USER_ATTRIBUTE
The user attributes.USER_DEFINED_TYPE
The user defined type,DataElement.getUDTName()
.VIRTUAL
If the data element is virtual,DataElement.isVirtual()
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ProcessConstants.DataElementProperty
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.DataElementProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.DataElementProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final ProcessConstants.DataElementProperty ID
The ID of the data element,DataElement.getID()
-
NAME
public static final ProcessConstants.DataElementProperty NAME
The name of the data element,DataElement.getName()
.
-
DESCRIPTION
public static final ProcessConstants.DataElementProperty DESCRIPTION
The description of the data elementDataElement.getDescription()
-
TYPE
public static final ProcessConstants.DataElementProperty TYPE
The type of the data element,DataElement.getDataType()
/ProcessConstants.AdeptDataType
.
-
USER_DEFINED_TYPE
public static final ProcessConstants.DataElementProperty USER_DEFINED_TYPE
The user defined type,DataElement.getUDTName()
.
-
IDENTIFIER
public static final ProcessConstants.DataElementProperty IDENTIFIER
The ID of the identifier,DataElement.getIdentifierID()
.
-
PUBLIC
public static final ProcessConstants.DataElementProperty PUBLIC
If the data element is public,DataElement.isPublic()
.
-
VIRTUAL
public static final ProcessConstants.DataElementProperty VIRTUAL
If the data element is virtual,DataElement.isVirtual()
.
-
USER_ATTRIBUTE
public static final ProcessConstants.DataElementProperty USER_ATTRIBUTE
The user attributes.
-
-
Method Detail
-
values
public static ProcessConstants.DataElementProperty[] 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 (ProcessConstants.DataElementProperty c : ProcessConstants.DataElementProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessConstants.DataElementProperty 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 nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
valueOf
public static ProcessConstants.DataElementProperty valueOf(int code)
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:
code
- 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 nameNullPointerException
- if the argument is null
-
-