|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.opengis.olsnav.v_1_3.RouteControlType
public class RouteControlType
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.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)
|
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.HashCodeStrategy 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.MergeStrategy 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 |
|---|
protected RouteCostModelType costCriteria
protected List<VehicleTypeN> vehicle
protected String vehicleCompositionLogic
protected DateTimeType routeStartDateTime
protected DateTimeType routeEndDateTime
protected Boolean useRealTimeTraffic
| Constructor Detail |
|---|
public RouteControlType()
| Method Detail |
|---|
public RouteCostModelType getCostCriteria()
RouteCostModelTypepublic void setCostCriteria(RouteCostModelType value)
value - allowed object is
RouteCostModelTypepublic boolean isSetCostCriteria()
public List<VehicleTypeN> getVehicle()
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
public boolean isSetVehicle()
public void unsetVehicle()
public String getVehicleCompositionLogic()
Stringpublic void setVehicleCompositionLogic(String value)
value - allowed object is
Stringpublic boolean isSetVehicleCompositionLogic()
public DateTimeType getRouteStartDateTime()
DateTimeTypepublic void setRouteStartDateTime(DateTimeType value)
value - allowed object is
DateTimeTypepublic boolean isSetRouteStartDateTime()
public DateTimeType getRouteEndDateTime()
DateTimeTypepublic void setRouteEndDateTime(DateTimeType value)
value - allowed object is
DateTimeTypepublic boolean isSetRouteEndDateTime()
public boolean isUseRealTimeTraffic()
Booleanpublic void setUseRealTimeTraffic(boolean value)
value - allowed object is
Booleanpublic boolean isSetUseRealTimeTraffic()
public void unsetUseRealTimeTraffic()
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.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)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrompublic void setVehicle(List<VehicleTypeN> value)
public RouteControlType withCostCriteria(RouteCostModelType value)
public RouteControlType withVehicle(VehicleTypeN... values)
public RouteControlType withVehicle(Collection<VehicleTypeN> values)
public RouteControlType withVehicleCompositionLogic(String value)
public RouteControlType withRouteStartDateTime(DateTimeType value)
public RouteControlType withRouteEndDateTime(DateTimeType value)
public RouteControlType withUseRealTimeTraffic(boolean value)
public RouteControlType withVehicle(List<VehicleTypeN> value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||