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 String
getDescription()
Domain<P>
getDomain()
Properties
getFeatureProperties()
String
getId()
String
getName()
Parameter
getParameter(String variableId)
Map<String,Parameter>
getParameterMap()
Set<String>
getVariableIds()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- an identifier that is unique within the
Dataset
to 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
Parameter
s themselves
-
getFeatureProperties
Properties getFeatureProperties()
- Returns:
- a
Properties
object containing an arbitrary list ofString
properties associated with thisFeature
. This can be used to attach any additional information to theFeature
which doesn't fit elsewhere. Will not returnnull
, but may be empty.
-
-