public abstract class BasicElementConfig<S> extends AllowedEntityConfig<S>
| Modifier and Type | Field and Description |
|---|---|
protected static double |
DEFAULT_COORD |
static String |
LATITUDE |
static String |
LONGITUDE |
static String |
NAME |
static String |
OWNER |
static String |
RACK_ADDRESS |
| Constructor and Description |
|---|
BasicElementConfig() |
| Modifier and Type | Method and Description |
|---|---|
double |
latitude()
Returns element latitude.
|
BasicElementConfig |
latitude(Double latitude)
Sets the element latitude.
|
double |
longitude()
Returns element latitude.
|
BasicElementConfig |
longitude(Double longitude)
Sets the element longitude.
|
String |
name()
Returns friendly label for the element.
|
BasicElementConfig |
name(String name)
Sets friendly label for the element.
|
String |
owner()
Returns owner of the element.
|
BasicElementConfig |
owner(String owner)
Sets the owner of the element.
|
String |
rackAddress()
Returns the element rack address.
|
BasicElementConfig |
rackAddress(String address)
Sets element rack address.
|
isAllowed, isAllowedapply, get, get, get, get, get, get, getList, init, key, node, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subjectpublic static final String NAME
public static final String LATITUDE
public static final String LONGITUDE
public static final String RACK_ADDRESS
public static final String OWNER
protected static final double DEFAULT_COORD
public String name()
public BasicElementConfig name(String name)
name - new friendly label; null to clearpublic double latitude()
public BasicElementConfig latitude(Double latitude)
latitude - new latitude; null to clearpublic double longitude()
public BasicElementConfig longitude(Double longitude)
longitude - new longitude; null to clearpublic String rackAddress()
public BasicElementConfig rackAddress(String address)
address - new rack address; null to clearpublic String owner()
public BasicElementConfig owner(String owner)
owner - new owner; null to clearCopyright © 2015. All rights reserved.