Class InterfaceDefinition
-
- All Implemented Interfaces:
@Serializable() public final class InterfaceDefinition implements IGenericDefinition, ImportedDefinition
A data class representing an interface definition in a Wrap ABI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInterfaceDefinition.CapabilityDefinitionA data class representing a capability definition in an interface definition in a Wrap ABI.
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Integerkindprivate final Stringnameprivate final Booleanrequiredprivate final Stringuriprivate final Stringnamespaceprivate final StringnativeTypeprivate final InterfaceDefinition.CapabilityDefinitioncapabilities
-
Constructor Summary
Constructors Constructor Description InterfaceDefinition(String type, Integer kind, String name, Boolean required, String uri, String namespace, String nativeType, InterfaceDefinition.CapabilityDefinition capabilities)
-
Method Summary
Modifier and Type Method Description StringgetType()The type of the interface definition. IntegergetKind()The kind of the interface definition. StringgetName()The name of the interface definition. BooleangetRequired()A boolean indicating whether the interface definition is required. StringgetUri()The URI of the interface definition. StringgetNamespace()The namespace of the interface definition. StringgetNativeType()The native type of the interface definition. final InterfaceDefinition.CapabilityDefinitiongetCapabilities()A list of capability definitions for the interface definition. -
-
Method Detail
-
getRequired
Boolean getRequired()
A boolean indicating whether the interface definition is required.
-
getNamespace
String getNamespace()
The namespace of the interface definition.
-
getNativeType
String getNativeType()
The native type of the interface definition.
-
getCapabilities
final InterfaceDefinition.CapabilityDefinition getCapabilities()
A list of capability definitions for the interface definition.
-
-
-
-