- All Known Subinterfaces:
RecordType
Base interface of type definitions.
Every
Type
is identified by a TypeName
.
Type
is either the base interface of meta-classes such as RecordType
,
or the return value of methods providing information about fields or members such as
RecordType.getFieldTypes()
.
Type
can optionally be associated to a Java class.
The Java class can be inferred from the TypeName
using a naming convention,
or be provided directly by the implementation.
- Since:
- 2.3
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name that identifies this type.Returns the Java type corresponding to the OGC/ISO type.
-
Method Details
-
getTypeName
@UML(identifier="typeName", obligation=MANDATORY, specification=ISO_19103, version=2005) TypeName getTypeName()Returns the name that identifies this type. This method can be think as the equivalent of the JavaClass.getName()
method.- Returns:
- the name that identifies this type.
-
toJavaType
Returns the Java type corresponding to the OGC/ISO type. By default, the Java type is inferred from the name by delegating toTypeName.toJavaType()
.- Returns:
- the Java type (usually a
Class
) for this OGC/ISO type. - Since:
- 3.1
- Departure from OGC/ISO abstract specification:
Departure for closer integration with the Java environment
Added for integration with the Java language.
-