Package uk.ac.rdg.resc.edal.feature
Interface Feature<P>
-
- Type Parameters:
P- The type of object used to identify positions within the feature's domain. This may be a spatial, temporal, or combined spatiotemporal position.
- All Known Subinterfaces:
DiscreteFeature<P,DO>
- All Known Implementing Classes:
AbstractDiscreteFeature,GridFeature,MapFeature,PointCollectionFeature,PointFeature,PointSeriesFeature,ProfileFeature,TrajectoryFeature
public interface Feature<P>Superclass for all Feature types.
- Author:
- Jon Blower
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Domain<P>getDomain()PropertiesgetFeatureProperties()StringgetId()StringgetName()ParametergetParameter(String variableId)Map<String,Parameter>getParameterMap()Set<String>getVariableIds()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- an identifier that is unique within the
Datasetto which this feature belongs. Must never benull.
-
getName
String getName()
- Returns:
- a human-readable short string that identifies this feature. Not enforced to be unique.
-
getDescription
String getDescription()
- Returns:
- a (perhaps lengthy) human-readable description of this feature.
-
getDomain
Domain<P> getDomain()
- Returns:
- the domain of the values contained with the feature. May not
return
null
-
getVariableIds
Set<String> getVariableIds()
- Returns:
- the set of identifiers of the variables recorded in this Feature
-
getParameterMap
Map<String,Parameter> getParameterMap()
- Returns:
- the set of identifiers of the variables in this Feature mapped to
the
Parameters themselves
-
getFeatureProperties
Properties getFeatureProperties()
- Returns:
- a
Propertiesobject containing an arbitrary list ofStringproperties associated with thisFeature. This can be used to attach any additional information to theFeaturewhich doesn't fit elsewhere. Will not returnnull, but may be empty.
-
-