net.opengis.olsnav.v_1_3
Class RouteCostModelType

java.lang.Object
  extended by net.opengis.olsnav.v_1_3.RouteCostModelType
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 RouteCostModelType
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

This structure contains information about the cost criteria. It contains information about how to assign "exchange rate" cost to: -- Road distance -- Road travel time -- Highway usage preference -- Toll road usage preference -- Scenic route preference

Java class for RouteCostModelType complex type.

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

 <complexType name="RouteCostModelType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="MinimizerGoal" type="{http://www.opengis.net/ols/nav}RouteMinimizeOptionEnum"/>
         <element name="HighwayAffinity" type="{http://www.opengis.net/ols/nav}RouteHighwayUsageEnum" minOccurs="0"/>
         <element name="TollroadAffinity" type="{http://www.opengis.net/ols/nav}RouteTollUsageEnum" minOccurs="0"/>
       </sequence>
       <attribute name="ScenicRoute" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  RouteHighwayUsageEnum highwayAffinity
           
protected  RouteMinimizeOptionEnum minimizerGoal
           
protected  Boolean scenicRoute
           
protected  RouteTollUsageEnum tollroadAffinity
           
 
Constructor Summary
RouteCostModelType()
           
 
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)
           
 RouteHighwayUsageEnum getHighwayAffinity()
          Gets the value of the highwayAffinity property.
 RouteMinimizeOptionEnum getMinimizerGoal()
          Gets the value of the minimizerGoal property.
 RouteTollUsageEnum getTollroadAffinity()
          Gets the value of the tollroadAffinity property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isScenicRoute()
          Gets the value of the scenicRoute property.
 boolean isSetHighwayAffinity()
           
 boolean isSetMinimizerGoal()
           
 boolean isSetScenicRoute()
           
 boolean isSetTollroadAffinity()
           
 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 setHighwayAffinity(RouteHighwayUsageEnum value)
          Sets the value of the highwayAffinity property.
 void setMinimizerGoal(RouteMinimizeOptionEnum value)
          Sets the value of the minimizerGoal property.
 void setScenicRoute(boolean value)
          Sets the value of the scenicRoute property.
 void setTollroadAffinity(RouteTollUsageEnum value)
          Sets the value of the tollroadAffinity property.
 String toString()
           
 void unsetScenicRoute()
           
 RouteCostModelType withHighwayAffinity(RouteHighwayUsageEnum value)
           
 RouteCostModelType withMinimizerGoal(RouteMinimizeOptionEnum value)
           
 RouteCostModelType withScenicRoute(boolean value)
           
 RouteCostModelType withTollroadAffinity(RouteTollUsageEnum value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

minimizerGoal

protected RouteMinimizeOptionEnum minimizerGoal

highwayAffinity

protected RouteHighwayUsageEnum highwayAffinity

tollroadAffinity

protected RouteTollUsageEnum tollroadAffinity

scenicRoute

protected Boolean scenicRoute
Constructor Detail

RouteCostModelType

public RouteCostModelType()
Method Detail

getMinimizerGoal

public RouteMinimizeOptionEnum getMinimizerGoal()
Gets the value of the minimizerGoal property.

Returns:
possible object is RouteMinimizeOptionEnum

setMinimizerGoal

public void setMinimizerGoal(RouteMinimizeOptionEnum value)
Sets the value of the minimizerGoal property.

Parameters:
value - allowed object is RouteMinimizeOptionEnum

isSetMinimizerGoal

public boolean isSetMinimizerGoal()

getHighwayAffinity

public RouteHighwayUsageEnum getHighwayAffinity()
Gets the value of the highwayAffinity property.

Returns:
possible object is RouteHighwayUsageEnum

setHighwayAffinity

public void setHighwayAffinity(RouteHighwayUsageEnum value)
Sets the value of the highwayAffinity property.

Parameters:
value - allowed object is RouteHighwayUsageEnum

isSetHighwayAffinity

public boolean isSetHighwayAffinity()

getTollroadAffinity

public RouteTollUsageEnum getTollroadAffinity()
Gets the value of the tollroadAffinity property.

Returns:
possible object is RouteTollUsageEnum

setTollroadAffinity

public void setTollroadAffinity(RouteTollUsageEnum value)
Sets the value of the tollroadAffinity property.

Parameters:
value - allowed object is RouteTollUsageEnum

isSetTollroadAffinity

public boolean isSetTollroadAffinity()

isScenicRoute

public boolean isScenicRoute()
Gets the value of the scenicRoute property.

Returns:
possible object is Boolean

setScenicRoute

public void setScenicRoute(boolean value)
Sets the value of the scenicRoute property.

Parameters:
value - allowed object is Boolean

isSetScenicRoute

public boolean isSetScenicRoute()

unsetScenicRoute

public void unsetScenicRoute()

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

withMinimizerGoal

public RouteCostModelType withMinimizerGoal(RouteMinimizeOptionEnum value)

withHighwayAffinity

public RouteCostModelType withHighwayAffinity(RouteHighwayUsageEnum value)

withTollroadAffinity

public RouteCostModelType withTollroadAffinity(RouteTollUsageEnum value)

withScenicRoute

public RouteCostModelType withScenicRoute(boolean value)


Copyright © 2008-2015. All Rights Reserved.