public class BaseLocatable extends java.lang.Object implements LocationHolder
LocationHolder
.Constructor and Description |
---|
BaseLocatable() |
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Returns the
location from which
this object orginates, or null if not known. |
void |
setLocation(Location location) |
public BaseLocatable()
public void setLocation(Location location)
setLocation
in interface LocationHolder
public Location getLocation()
Locatable
location
from which
this object orginates, or null if not known.getLocation
in interface Locatable