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