|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.opengis.ols.v_1_2.NearestType
public class NearestType
Defines a spatial filter which selects the POI nearest to the specified location.
Java class for NearestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NearestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.opengis.net/xls}_Location" maxOccurs="unbounded"/>
</sequence>
<attribute name="nearestCriterion" type="{http://www.opengis.net/xls}NearestCriterionType" default="Proximity" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<JAXBElement<? extends AbstractLocationType>> |
location
|
protected NearestCriterionType |
nearestCriterion
|
| Constructor Summary | |
|---|---|
NearestType()
|
|
| Method Summary | |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
|
List<JAXBElement<? extends AbstractLocationType>> |
getLocation()
Gets the value of the location property. |
NearestCriterionType |
getNearestCriterion()
Gets the value of the nearestCriterion property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
|
boolean |
isSetLocation()
|
boolean |
isSetNearestCriterion()
|
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
|
void |
mergeFrom(Object left,
Object right)
|
void |
setLocation(List<JAXBElement<? extends AbstractLocationType>> value)
|
void |
setNearestCriterion(NearestCriterionType value)
Sets the value of the nearestCriterion property. |
String |
toString()
|
void |
unsetLocation()
|
NearestType |
withLocation(Collection<JAXBElement<? extends AbstractLocationType>> values)
|
NearestType |
withLocation(JAXBElement<? extends AbstractLocationType>... values)
|
NearestType |
withLocation(List<JAXBElement<? extends AbstractLocationType>> value)
|
NearestType |
withNearestCriterion(NearestCriterionType value)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<JAXBElement<? extends AbstractLocationType>> location
protected NearestCriterionType nearestCriterion
| Constructor Detail |
|---|
public NearestType()
| Method Detail |
|---|
public List<JAXBElement<? extends AbstractLocationType>> getLocation()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the location property.
For example, to add a new item, do as follows:
getLocation().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<PointOfInterestType>
JAXBElement<AddressType>
JAXBElement<AbstractPOIType>
JAXBElement<AbstractLocationType>
JAXBElement<PositionType>
JAXBElement<AbstractPositionType>
public boolean isSetLocation()
public void unsetLocation()
public NearestCriterionType getNearestCriterion()
NearestCriterionTypepublic void setNearestCriterion(NearestCriterionType value)
value - allowed object is
NearestCriterionTypepublic boolean isSetNearestCriterion()
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void setLocation(List<JAXBElement<? extends AbstractLocationType>> value)
public NearestType withLocation(JAXBElement<? extends AbstractLocationType>... values)
public NearestType withLocation(Collection<JAXBElement<? extends AbstractLocationType>> values)
public NearestType withNearestCriterion(NearestCriterionType value)
public NearestType withLocation(List<JAXBElement<? extends AbstractLocationType>> value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||