Enum Class ElementType
- All Implemented Interfaces:
Serializable,Comparable<ElementType>,Constable
Denotes the OPC UA element types.
- Author:
- Jan-Hendrik Cepok, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCore()Returns whether this value is part of "core".static ElementTypeReturns the enum constant of this class with the specified name.static ElementType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OBJECTTYPE
-
VARIABLETYPE
-
ROOTOBJECT
-
ROOTVARIABLE
-
ROOTMETHOD
-
SUBOBJECT
-
SUBMETHOD
-
FIELDOBJECT
-
FIELDVARIABLE
-
FIELDMETHOD
-
ENUM
-
DATATYPE
-
-
Field Details
-
isCore
private boolean isCore
-
-
Constructor Details
-
ElementType
private ElementType(boolean isCore) Creates a new enum value.- Parameters:
isCore- whether this value is part of "core"
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isCore
public boolean isCore()Returns whether this value is part of "core".- Returns:
truefor core,falseelse
-