de.fhpotsdam.unfolding.data
Class PointFeature

java.lang.Object
  extended by de.fhpotsdam.unfolding.data.Feature
      extended by de.fhpotsdam.unfolding.data.PointFeature

public class PointFeature
extends Feature

Stores a single location.


Nested Class Summary
 
Nested classes/interfaces inherited from class de.fhpotsdam.unfolding.data.Feature
Feature.FeatureType
 
Field Summary
 Location location
          The location of this point feature.
 
Fields inherited from class de.fhpotsdam.unfolding.data.Feature
properties
 
Constructor Summary
PointFeature()
          Creates a PointFeature.
PointFeature(Location location)
          Creates a PointFeature with a single location.
 
Method Summary
 Location getLocation()
          Returns the single location of this point feature.
 void setLocation(Location location)
          Sets the single location of this point feature.
 
Methods inherited from class de.fhpotsdam.unfolding.data.Feature
addProperty, getId, getProperties, getProperty, getStringProperty, getType, putProperty, setId, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public Location location
The location of this point feature.

Constructor Detail

PointFeature

public PointFeature()
Creates a PointFeature. Its location needs to be set later on.


PointFeature

public PointFeature(Location location)
Creates a PointFeature with a single location.

Parameters:
location - The location.
Method Detail

getLocation

public Location getLocation()
Returns the single location of this point feature.

Returns:
A location.

setLocation

public void setLocation(Location location)
Sets the single location of this point feature.

Parameters:
location - A location.