Class EnumDefinition
-
- All Implemented Interfaces:
@Serializable() public final class EnumDefinition implements IGenericDefinition, WithComment
Represents an enumeration definition in a Wrap ABI.
-
-
Method Summary
Modifier and Type Method Description StringgetType()The type of the enumeration definition. IntegergetKind()The kind of the enumeration definition. StringgetName()The name of the enumeration definition, if any. BooleangetRequired()A flag indicating if the enumeration definition is required. StringgetComment()An optional comment for the enumeration definition. final List<String>getConstants()The list of constant values defined by the enumeration. -
-
Method Detail
-
getRequired
Boolean getRequired()
A flag indicating if the enumeration definition is required.
-
getComment
String getComment()
An optional comment for the enumeration definition.
-
getConstants
final List<String> getConstants()
The list of constant values defined by the enumeration.
-
-
-
-