net.opengis.ols.v_1_2
Class WayPointListType

java.lang.Object
  extended by net.opengis.ols.v_1_2.WayPointListType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class WayPointListType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

Defines a list of waypoints along a route.

Java class for WayPointListType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="WayPointListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}StartPoint"/>
         <element ref="{http://www.opengis.net/xls}ViaPoint" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.opengis.net/xls}EndPoint"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  WayPointType endPoint
           
protected  WayPointType startPoint
           
protected  List<WayPointType> viaPoint
           
 
Constructor Summary
WayPointListType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy 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.EqualsStrategy strategy)
           
 WayPointType getEndPoint()
          Gets the value of the endPoint property.
 WayPointType getStartPoint()
          Gets the value of the startPoint property.
 List<WayPointType> getViaPoint()
          Gets the value of the viaPoint property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetEndPoint()
           
 boolean isSetStartPoint()
           
 boolean isSetViaPoint()
           
 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.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setEndPoint(WayPointType value)
          Sets the value of the endPoint property.
 void setStartPoint(WayPointType value)
          Sets the value of the startPoint property.
 void setViaPoint(List<WayPointType> value)
           
 String toString()
           
 void unsetViaPoint()
           
 WayPointListType withEndPoint(WayPointType value)
           
 WayPointListType withStartPoint(WayPointType value)
           
 WayPointListType withViaPoint(Collection<WayPointType> values)
           
 WayPointListType withViaPoint(List<WayPointType> value)
           
 WayPointListType withViaPoint(WayPointType... values)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

startPoint

protected WayPointType startPoint

viaPoint

protected List<WayPointType> viaPoint

endPoint

protected WayPointType endPoint
Constructor Detail

WayPointListType

public WayPointListType()
Method Detail

getStartPoint

public WayPointType getStartPoint()
Gets the value of the startPoint property.

Returns:
possible object is WayPointType

setStartPoint

public void setStartPoint(WayPointType value)
Sets the value of the startPoint property.

Parameters:
value - allowed object is WayPointType

isSetStartPoint

public boolean isSetStartPoint()

getViaPoint

public List<WayPointType> getViaPoint()
Gets the value of the viaPoint property.

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 viaPoint property.

For example, to add a new item, do as follows:

    getViaPoint().add(newItem);
 

Objects of the following type(s) are allowed in the list WayPointType


isSetViaPoint

public boolean isSetViaPoint()

unsetViaPoint

public void unsetViaPoint()

getEndPoint

public WayPointType getEndPoint()
Gets the value of the endPoint property.

Returns:
possible object is WayPointType

setEndPoint

public void setEndPoint(WayPointType value)
Sets the value of the endPoint property.

Parameters:
value - allowed object is WayPointType

isSetEndPoint

public boolean isSetEndPoint()

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom

mergeFrom

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.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom

setViaPoint

public void setViaPoint(List<WayPointType> value)

withStartPoint

public WayPointListType withStartPoint(WayPointType value)

withViaPoint

public WayPointListType withViaPoint(WayPointType... values)

withViaPoint

public WayPointListType withViaPoint(Collection<WayPointType> values)

withEndPoint

public WayPointListType withEndPoint(WayPointType value)

withViaPoint

public WayPointListType withViaPoint(List<WayPointType> value)


Copyright © 2008-2015. All Rights Reserved.