Class ImportedObjectDefinition
-
- All Implemented Interfaces:
@Serializable() public final class ImportedObjectDefinition implements IGenericDefinition, WithComment, ImportedDefinition
A data class representing an imported object 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<PropertyDefinition>propertiesprivate final List<GenericDefinition>interfaces
-
Constructor Summary
Constructors Constructor Description ImportedObjectDefinition(String type, Integer kind, String name, Boolean required, String comment, String uri, String namespace, String nativeType, List<PropertyDefinition> properties, List<GenericDefinition> interfaces)
-
Method Summary
Modifier and Type Method Description StringgetType()The type of the imported object definition. IntegergetKind()The kind of the imported object definition. StringgetName()The name of the imported object definition. BooleangetRequired()A flag indicating whether this definition is required. StringgetComment()The comment for this definition. StringgetUri()The URI of the imported object. StringgetNamespace()The namespace of the imported object. StringgetNativeType()The native type of the imported object. final List<PropertyDefinition>getProperties()The list of properties of the imported object. final List<GenericDefinition>getInterfaces()The list of interfaces implemented by the imported object. -
-
Method Detail
-
getRequired
Boolean getRequired()
A flag indicating whether this definition is required.
-
getComment
String getComment()
The comment for this definition.
-
getNamespace
String getNamespace()
The namespace of the imported object.
-
getNativeType
String getNativeType()
The native type of the imported object.
-
getProperties
final List<PropertyDefinition> getProperties()
The list of properties of the imported object.
-
getInterfaces
final List<GenericDefinition> getInterfaces()
The list of interfaces implemented by the imported object.
-
-
-
-