net.opengis.olsnav.v_1_3
Class RouteControlType

java.lang.Object
  extended by net.opengis.olsnav.v_1_3.RouteControlType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

public class RouteControlType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

This structure contains the criteria to be used by the DetermineRoute request: The cost criteria includes the following information: -- Should travel time or travel distance be minimized? -- Should highways be used? -- Should toll roads be used? -- Should a scenic route be preferred? For which vehicle type(s)? For what starting time?

Java class for RouteControlType complex type.

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

 <complexType name="RouteControlType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CostCriteria" type="{http://www.opengis.net/ols/nav}RouteCostModelType"/>
         <element name="Vehicle" type="{http://www.opengis.net/ols/nav}VehicleType.N" maxOccurs="unbounded" minOccurs="0"/>
         <element name="VehicleCompositionLogic" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="AND"/>
               <enumeration value="OR"/>
             </restriction>
           </simpleType>
         </element>
         <element name="RouteStartDateTime" type="{http://www.opengis.net/ols/nav}DateTimeType" minOccurs="0"/>
         <element name="RouteEndDateTime" type="{http://www.opengis.net/ols/nav}DateTimeType" minOccurs="0"/>
       </sequence>
       <attribute name="useRealTimeTraffic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  RouteCostModelType costCriteria
           
protected  DateTimeType routeEndDateTime
           
protected  DateTimeType routeStartDateTime
           
protected  Boolean useRealTimeTraffic
           
protected  List<VehicleTypeN> vehicle
           
protected  String vehicleCompositionLogic
           
 
Constructor Summary
RouteControlType()
           
 
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)
           
 RouteCostModelType getCostCriteria()
          Gets the value of the costCriteria property.
 DateTimeType getRouteEndDateTime()
          Gets the value of the routeEndDateTime property.
 DateTimeType getRouteStartDateTime()
          Gets the value of the routeStartDateTime property.
 List<VehicleTypeN> getVehicle()
          Gets the value of the vehicle property.
 String getVehicleCompositionLogic()
          Gets the value of the vehicleCompositionLogic property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetCostCriteria()
           
 boolean isSetRouteEndDateTime()
           
 boolean isSetRouteStartDateTime()
           
 boolean isSetUseRealTimeTraffic()
           
 boolean isSetVehicle()
           
 boolean isSetVehicleCompositionLogic()
           
 boolean isUseRealTimeTraffic()
          Gets the value of the useRealTimeTraffic property.
 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 setCostCriteria(RouteCostModelType value)
          Sets the value of the costCriteria property.
 void setRouteEndDateTime(DateTimeType value)
          Sets the value of the routeEndDateTime property.
 void setRouteStartDateTime(DateTimeType value)
          Sets the value of the routeStartDateTime property.
 void setUseRealTimeTraffic(boolean value)
          Sets the value of the useRealTimeTraffic property.
 void setVehicle(List<VehicleTypeN> value)
           
 void setVehicleCompositionLogic(String value)
          Sets the value of the vehicleCompositionLogic property.
 String toString()
           
 void unsetUseRealTimeTraffic()
           
 void unsetVehicle()
           
 RouteControlType withCostCriteria(RouteCostModelType value)
           
 RouteControlType withRouteEndDateTime(DateTimeType value)
           
 RouteControlType withRouteStartDateTime(DateTimeType value)
           
 RouteControlType withUseRealTimeTraffic(boolean value)
           
 RouteControlType withVehicle(Collection<VehicleTypeN> values)
           
 RouteControlType withVehicle(List<VehicleTypeN> value)
           
 RouteControlType withVehicle(VehicleTypeN... values)
           
 RouteControlType withVehicleCompositionLogic(String value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

costCriteria

protected RouteCostModelType costCriteria

vehicle

protected List<VehicleTypeN> vehicle

vehicleCompositionLogic

protected String vehicleCompositionLogic

routeStartDateTime

protected DateTimeType routeStartDateTime

routeEndDateTime

protected DateTimeType routeEndDateTime

useRealTimeTraffic

protected Boolean useRealTimeTraffic
Constructor Detail

RouteControlType

public RouteControlType()
Method Detail

getCostCriteria

public RouteCostModelType getCostCriteria()
Gets the value of the costCriteria property.

Returns:
possible object is RouteCostModelType

setCostCriteria

public void setCostCriteria(RouteCostModelType value)
Sets the value of the costCriteria property.

Parameters:
value - allowed object is RouteCostModelType

isSetCostCriteria

public boolean isSetCostCriteria()

getVehicle

public List<VehicleTypeN> getVehicle()
Gets the value of the vehicle 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 vehicle property.

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

    getVehicle().add(newItem);
 

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


isSetVehicle

public boolean isSetVehicle()

unsetVehicle

public void unsetVehicle()

getVehicleCompositionLogic

public String getVehicleCompositionLogic()
Gets the value of the vehicleCompositionLogic property.

Returns:
possible object is String

setVehicleCompositionLogic

public void setVehicleCompositionLogic(String value)
Sets the value of the vehicleCompositionLogic property.

Parameters:
value - allowed object is String

isSetVehicleCompositionLogic

public boolean isSetVehicleCompositionLogic()

getRouteStartDateTime

public DateTimeType getRouteStartDateTime()
Gets the value of the routeStartDateTime property.

Returns:
possible object is DateTimeType

setRouteStartDateTime

public void setRouteStartDateTime(DateTimeType value)
Sets the value of the routeStartDateTime property.

Parameters:
value - allowed object is DateTimeType

isSetRouteStartDateTime

public boolean isSetRouteStartDateTime()

getRouteEndDateTime

public DateTimeType getRouteEndDateTime()
Gets the value of the routeEndDateTime property.

Returns:
possible object is DateTimeType

setRouteEndDateTime

public void setRouteEndDateTime(DateTimeType value)
Sets the value of the routeEndDateTime property.

Parameters:
value - allowed object is DateTimeType

isSetRouteEndDateTime

public boolean isSetRouteEndDateTime()

isUseRealTimeTraffic

public boolean isUseRealTimeTraffic()
Gets the value of the useRealTimeTraffic property.

Returns:
possible object is Boolean

setUseRealTimeTraffic

public void setUseRealTimeTraffic(boolean value)
Sets the value of the useRealTimeTraffic property.

Parameters:
value - allowed object is Boolean

isSetUseRealTimeTraffic

public boolean isSetUseRealTimeTraffic()

unsetUseRealTimeTraffic

public void unsetUseRealTimeTraffic()

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.ToStringStrategy2 strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString2

appendFields

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

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.EqualsStrategy2 strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals2

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.HashCodeStrategy2 strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2

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.CopyTo2

copyTo

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

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

mergeFrom

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

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

setVehicle

public void setVehicle(List<VehicleTypeN> value)

withCostCriteria

public RouteControlType withCostCriteria(RouteCostModelType value)

withVehicle

public RouteControlType withVehicle(VehicleTypeN... values)

withVehicle

public RouteControlType withVehicle(Collection<VehicleTypeN> values)

withVehicleCompositionLogic

public RouteControlType withVehicleCompositionLogic(String value)

withRouteStartDateTime

public RouteControlType withRouteStartDateTime(DateTimeType value)

withRouteEndDateTime

public RouteControlType withRouteEndDateTime(DateTimeType value)

withUseRealTimeTraffic

public RouteControlType withUseRealTimeTraffic(boolean value)

withVehicle

public RouteControlType withVehicle(List<VehicleTypeN> value)


Copyright © 2008-2015. All Rights Reserved.