public class Feature extends Object
Constructor and Description |
---|
Feature(String id,
String name,
String description,
Point coordinates) |
Modifier and Type | Method and Description |
---|---|
Point |
getCoordinates() |
String |
getDescription() |
String |
getId() |
String |
getName() |
void |
setCoordinates(Point coordinates) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
String |
toString() |
public Point getCoordinates()
public void setCoordinates(Point coordinates)
coordinates
- The coordinates to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public String getId()
public void setId(String id)
id
- The id to set.public String getName()
public void setName(String name)
name
- The name to set.