public class LocationDef extends Object implements Serializable
Constructor and Description |
---|
LocationDef() |
Modifier and Type | Method and Description |
---|---|
void |
deletePriority() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getCoordinates()
Returns the value of field 'coordinates'.
|
String |
getGeolocation()
Returns the value of field 'geolocation'.
|
String |
getLocationName()
Returns the value of field 'locationName'.
|
String |
getMonitoringArea()
Returns the value of field 'monitoringArea'.
|
String |
getPollingPackageName()
Returns the value of field 'pollingPackageName'.
|
long |
getPriority()
Returns the value of field 'priority'.
|
Tags |
getTags()
Returns the value of field 'tags'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasPriority()
Method hasPriority.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setCoordinates(String coordinates)
Sets the value of field 'coordinates'.
|
void |
setGeolocation(String geolocation)
Sets the value of field 'geolocation'.
|
void |
setLocationName(String locationName)
Sets the value of field 'locationName'.
|
void |
setMonitoringArea(String monitoringArea)
Sets the value of field 'monitoringArea'.
|
void |
setPollingPackageName(String pollingPackageName)
Sets the value of field 'pollingPackageName'.
|
void |
setPriority(long priority)
Sets the value of field 'priority'.
|
void |
setTags(Tags tags)
Sets the value of field 'tags'.
|
static LocationDef |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deletePriority()
public boolean equals(Object obj)
public String getCoordinates()
public String getGeolocation()
public String getLocationName()
public String getMonitoringArea()
public String getPollingPackageName()
public long getPriority()
public Tags getTags()
public boolean hasPriority()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setCoordinates(String coordinates)
coordinates
- the value of field 'coordinates'.public void setGeolocation(String geolocation)
geolocation
- the value of field 'geolocation'.public void setLocationName(String locationName)
locationName
- the value of field 'locationName'.public void setMonitoringArea(String monitoringArea)
monitoringArea
- the value of field 'monitoringArea'.public void setPollingPackageName(String pollingPackageName)
pollingPackageName
- the value of field
'pollingPackageName'.public void setPriority(long priority)
priority
- the value of field 'priority'.public void setTags(Tags tags)
tags
- the value of field 'tags'.public static LocationDef unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.