Class DefaultRangeType
Object
DefaultRangeType
- All Implemented Interfaces:
RangeType
Default implementation of
RangeType
- Author:
- Simone Giannecchini, GeoSolutions.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRangeType
(String name, String description, Set<FieldType> fieldTypes) DefaultRangeType
(String name, String description, FieldType fieldType) DefaultRangeType
(Name name, InternationalString description, Set<FieldType> fieldTypes) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves thisRangeType
description asInternationalString
.getFieldType
(String name) Get the FieldType by nameGet all the measure types of this Coverage typegetName()
int
Get the Number of FieldTypes in the rangetoString()
Simple Implementation of toString method for debugging purpose.
-
Constructor Details
-
DefaultRangeType
-
DefaultRangeType
-
DefaultRangeType
-
-
Method Details
-
getDescription
Description copied from interface:RangeType
Retrieves thisRangeType
description asInternationalString
.- Specified by:
getDescription
in interfaceRangeType
- Returns:
- this
RangeType
description asInternationalString
.
-
getFieldType
Description copied from interface:RangeType
Get the FieldType by name- Specified by:
getFieldType
in interfaceRangeType
- Parameters:
name
- name of the FieldType in the form "nameSpace:localPart". In case of no nameSpace, the simple "localPart" section need to be provided- Returns:
- FieldType instance or null if not found
-
getFieldTypeNames
Description copied from interface:RangeType
- Specified by:
getFieldTypeNames
in interfaceRangeType
- Returns:
- List of
FieldType
names
-
getFieldTypes
Description copied from interface:RangeType
Get all the measure types of this Coverage type- Specified by:
getFieldTypes
in interfaceRangeType
- Returns:
- Set of FieldType instances
-
getName
Description copied from interface:RangeType
-
getNumFieldTypes
public int getNumFieldTypes()Description copied from interface:RangeType
Get the Number of FieldTypes in the range- Specified by:
getNumFieldTypes
in interfaceRangeType
- Returns:
- number of measure types
-
toString
Simple Implementation of toString method for debugging purpose.
-