@UML(identifier="RecordSchema", specification=ISO_19103) public interface RecordSchema
Record schemas do not provide a hierarchical framework within which data types may be
organized. Name spaces, however, do define a hierarchical framework for
arbitrary named items. Record schemas can participate in this framework by virtue of the fact
that they are all identified by local name or some subclass. A schema's
location in the hierarchy can be communicated by
getSchemaName().scope().name()
.
Modifier and Type | Method and Description |
---|---|
Map<TypeName,RecordType> |
getDescription()
Returns the dictionary of all (name, record type) pairs in this schema.
|
Collection<RecordType> |
getElements()
Returns all record types declared in this schema.
|
LocalName |
getSchemaName()
Returns the schema name.
|
RecordType |
locate(TypeName name)
Looks up the provided type name and returns the associated record type.
|
@UML(identifier="schemaName", obligation=MANDATORY, specification=ISO_19103) LocalName getSchemaName()
@UML(identifier="description", obligation=MANDATORY, specification=ISO_19103) Map<TypeName,RecordType> getDescription()
@UML(identifier="element", obligation=OPTIONAL, specification=ISO_19103) Collection<RecordType> getElements()
getDescription().values()
.@UML(identifier="locate", obligation=MANDATORY, specification=ISO_19103) RecordType locate(TypeName name)
null
. This is functionnaly
equivalent to getDescription().get(name)
.Copyright © 1996–2019 Geotools. All rights reserved.