Class ImportedEnumDefinition
-
- All Implemented Interfaces:
@Serializable() public final class ImportedEnumDefinition implements IGenericDefinition, WithComment, ImportedDefinition
An imported enumeration definition in a Wrap ABI.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Integerkindprivate final Stringnameprivate final Booleanrequiredprivate final Stringcommentprivate final Stringuriprivate final Stringnamespaceprivate final StringnativeTypeprivate final List<String>constants
-
Method Summary
Modifier and Type Method Description StringgetType()The type of this definition, which is always "enum". IntegergetKind()The kind of this definition. StringgetName()The name of this definition, if it has one. BooleangetRequired()Whether this definition is required. StringgetComment()The comment associated with this definition, if there is one. StringgetUri()The URI where this definition is located. StringgetNamespace()The namespace of this definition. StringgetNativeType()The native type of this definition. final List<String>getConstants()The list of constant values defined in this enumeration. -
-
Method Detail
-
getRequired
Boolean getRequired()
Whether this definition is required.
-
getComment
String getComment()
The comment associated with this definition, if there is one.
-
getNamespace
String getNamespace()
The namespace of this definition.
-
getNativeType
String getNativeType()
The native type of this definition.
-
getConstants
final List<String> getConstants()
The list of constant values defined in this enumeration.
-
-
-
-