public class Zone extends MetadataProviderEntity implements IZone, java.io.Serializable
Constructor and Description |
---|
Zone() |
Modifier and Type | Method and Description |
---|---|
static Zone |
copy(IZone input)
Create a copy of an SPI object.
|
java.lang.String |
getBorderColor()
Get the border color.
|
java.util.List<ILocation> |
getCoordinates()
Get list of coordinates that defines the zone.
|
java.lang.String |
getFillColor()
Get the fill color.
|
java.lang.String |
getName()
Get display name.
|
java.lang.Double |
getOpacity()
Get the opacity value.
|
java.lang.String |
getSiteToken()
Get token for associated site.
|
java.lang.String |
getToken()
Get unique zone token.
|
void |
setBorderColor(java.lang.String borderColor) |
void |
setCoordinates(java.util.List<Location> coordinates) |
void |
setFillColor(java.lang.String fillColor) |
void |
setName(java.lang.String name) |
void |
setOpacity(java.lang.Double opacity) |
void |
setSiteToken(java.lang.String siteToken) |
void |
setToken(java.lang.String token) |
copy, getCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeleted, setCreatedBy, setCreatedDate, setDeleted, setUpdatedBy, setUpdatedDate
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
getCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeleted
public java.lang.String getToken()
IZone
public void setToken(java.lang.String token)
public java.lang.String getSiteToken()
IZone
getSiteToken
in interface IZone
public void setSiteToken(java.lang.String siteToken)
public java.lang.String getName()
IZone
public void setName(java.lang.String name)
public java.util.List<ILocation> getCoordinates()
IZone
getCoordinates
in interface IZone
public void setCoordinates(java.util.List<Location> coordinates)
public java.lang.String getBorderColor()
IZone
getBorderColor
in interface IZone
public void setBorderColor(java.lang.String borderColor)
public java.lang.String getFillColor()
IZone
getFillColor
in interface IZone
public void setFillColor(java.lang.String fillColor)
public java.lang.Double getOpacity()
IZone
getOpacity
in interface IZone
public void setOpacity(java.lang.Double opacity)
public static Zone copy(IZone input) throws SiteWhereException
input
- SiteWhereException