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, setUpdatedDateaddOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatagetCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeletedpublic java.lang.String getToken()
IZonepublic void setToken(java.lang.String token)
public java.lang.String getSiteToken()
IZonegetSiteToken in interface IZonepublic void setSiteToken(java.lang.String siteToken)
public java.lang.String getName()
IZonepublic void setName(java.lang.String name)
public java.util.List<ILocation> getCoordinates()
IZonegetCoordinates in interface IZonepublic void setCoordinates(java.util.List<Location> coordinates)
public java.lang.String getBorderColor()
IZonegetBorderColor in interface IZonepublic void setBorderColor(java.lang.String borderColor)
public java.lang.String getFillColor()
IZonegetFillColor in interface IZonepublic void setFillColor(java.lang.String fillColor)
public java.lang.Double getOpacity()
IZonegetOpacity in interface IZonepublic void setOpacity(java.lang.Double opacity)
public static Zone copy(IZone input) throws SiteWhereException
input - SiteWhereException