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 thisRangeTypedescription asInternationalString.getFieldType(String name) Get the FieldType by nameGet all the measure types of this Coverage typegetName()intGet 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:RangeTypeRetrieves thisRangeTypedescription asInternationalString.- Specified by:
getDescriptionin interfaceRangeType- Returns:
- this
RangeTypedescription asInternationalString.
-
getFieldType
Description copied from interface:RangeTypeGet the FieldType by name- Specified by:
getFieldTypein 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:
getFieldTypeNamesin interfaceRangeType- Returns:
- List of
FieldTypenames
-
getFieldTypes
Description copied from interface:RangeTypeGet all the measure types of this Coverage type- Specified by:
getFieldTypesin interfaceRangeType- Returns:
- Set of FieldType instances
-
getName
Description copied from interface:RangeType -
getNumFieldTypes
public int getNumFieldTypes()Description copied from interface:RangeTypeGet the Number of FieldTypes in the range- Specified by:
getNumFieldTypesin interfaceRangeType- Returns:
- number of measure types
-
toString
Simple Implementation of toString method for debugging purpose.
-