Package org.geotools.feature.type
Class SchemaImpl
Object
SchemaImpl
- All Implemented Interfaces:
Map<Name,
,AttributeType> Schema
- Direct Known Subclasses:
GCOSchema
,GMDSchema
,GMLSchema
,GMLSchema
,GMLSchema
,GMXSchema
,GSRSchema
,GSSSchema
,GTSSchema
,SimpleSchema
,SMIL20LANGSchema
,SMIL20Schema
,XLINKSchema
,XSSchema
Implementation of Schema.
- Author:
- Justin Deoliveira, The Open Planning Project
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(AttributeType type) Adds a type to the schema.void
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
getURI()
The uri of the schema.int
hashCode()
boolean
isEmpty()
keySet()
Profiles the schema, creating a new schema in the process.put
(Name name, AttributeType type) void
putAll
(Map<? extends Name, ? extends AttributeType> t) int
size()
toString()
values()
Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
SchemaImpl
Schema constructed w/ respect to provided URI
-
-
Method Details
-
keySet
- Specified by:
keySet
in interfaceMap<Name,
AttributeType>
-
size
public int size()- Specified by:
size
in interfaceMap<Name,
AttributeType>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap<Name,
AttributeType>
-
containsKey
- Specified by:
containsKey
in interfaceMap<Name,
AttributeType>
-
containsValue
- Specified by:
containsValue
in interfaceMap<Name,
AttributeType>
-
get
- Specified by:
get
in interfaceMap<Name,
AttributeType>
-
put
- Specified by:
put
in interfaceMap<Name,
AttributeType>
-
remove
- Specified by:
remove
in interfaceMap<Name,
AttributeType>
-
putAll
- Specified by:
putAll
in interfaceMap<Name,
AttributeType>
-
clear
public void clear()- Specified by:
clear
in interfaceMap<Name,
AttributeType>
-
values
- Specified by:
values
in interfaceMap<Name,
AttributeType>
-
entrySet
- Specified by:
entrySet
in interfaceMap<Name,
AttributeType>
-
hashCode
public int hashCode() -
equals
-
toString
-
getURI
Description copied from interface:Schema
The uri of the schema.This method is a convenience for
keySet().getURI()
. -
add
Description copied from interface:Schema
Adds a type to the schema.This method is a convenience for
put(type.getName(),type)
. -
profile
Description copied from interface:Schema
Profiles the schema, creating a new schema in the process.A profile of a schema is a subset of the schema, and it also a schema itself.
Used to select a subset of types for a specific application. Profiles often are used to express limitiations of a source of data.
-