Class DefaultRangeType
- Object
-
- DefaultRangeType
-
-
Constructor Summary
Constructors Constructor Description DefaultRangeType(String name, String description, Set<FieldType> fieldTypes)
DefaultRangeType(String name, String description, FieldType fieldType)
DefaultRangeType(Name name, InternationalString description, Set<FieldType> fieldTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternationalString
getDescription()
Retrieves thisRangeType
description asInternationalString
.FieldType
getFieldType(String name)
Get the FieldType by nameSet<Name>
getFieldTypeNames()
Set<FieldType>
getFieldTypes()
Get all the measure types of this Coverage typeName
getName()
int
getNumFieldTypes()
Get the Number of FieldTypes in the rangeString
toString()
Simple Implementation of toString method for debugging purpose.
-
-
-
Constructor Detail
-
DefaultRangeType
public DefaultRangeType(String name, String description, FieldType fieldType)
-
DefaultRangeType
public DefaultRangeType(String name, String description, Set<FieldType> fieldTypes)
-
DefaultRangeType
public DefaultRangeType(Name name, InternationalString description, Set<FieldType> fieldTypes)
-
-
Method Detail
-
getDescription
public InternationalString getDescription()
Description copied from interface:RangeType
Retrieves thisRangeType
description asInternationalString
.- Specified by:
getDescription
in interfaceRangeType
- Returns:
- this
RangeType
description asInternationalString
.
-
getFieldType
public FieldType getFieldType(String name)
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
public Set<Name> getFieldTypeNames()
Description copied from interface:RangeType
- Specified by:
getFieldTypeNames
in interfaceRangeType
- Returns:
- List of
FieldType
names
-
getFieldTypes
public Set<FieldType> 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
-
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
public String toString()
Simple Implementation of toString method for debugging purpose.- Overrides:
toString
in classObject
-
-