net.opengis.ols.v_1_2
Class RouteInstructionType

java.lang.Object
  extended by net.opengis.ols.v_1_2.RouteInstructionType
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 RouteInstructionType
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

Defines a single turn-by-turn route instruction or advisory formatted for presentation.

Java class for RouteInstructionType complex type.

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

 <complexType name="RouteInstructionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Instruction" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="distance" type="{http://www.opengis.net/xls}DistanceType"/>
         <element name="RouteInstructionGeometry" type="{http://www.opengis.net/xls}RouteGeometryType" minOccurs="0"/>
         <element name="BoundingBox" type="{http://www.opengis.net/gml}EnvelopeType" minOccurs="0"/>
       </sequence>
       <attribute name="duration" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EnvelopeType boundingBox
           
protected  String description
           
protected  DistanceType distance
           
protected  Duration duration
           
protected  String instruction
           
protected  RouteGeometryType routeInstructionGeometry
           
 
Constructor Summary
RouteInstructionType()
           
 
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)
           
 EnvelopeType getBoundingBox()
          Gets the value of the boundingBox property.
 String getDescription()
          Gets the value of the description property.
 DistanceType getDistance()
          Gets the value of the distance property.
 Duration getDuration()
          Gets the value of the duration property.
 String getInstruction()
          Gets the value of the instruction property.
 RouteGeometryType getRouteInstructionGeometry()
          Gets the value of the routeInstructionGeometry property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetBoundingBox()
           
 boolean isSetDescription()
           
 boolean isSetDistance()
           
 boolean isSetDuration()
           
 boolean isSetInstruction()
           
 boolean isSetRouteInstructionGeometry()
           
 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 setBoundingBox(EnvelopeType value)
          Sets the value of the boundingBox property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDistance(DistanceType value)
          Sets the value of the distance property.
 void setDuration(Duration value)
          Sets the value of the duration property.
 void setInstruction(String value)
          Sets the value of the instruction property.
 void setRouteInstructionGeometry(RouteGeometryType value)
          Sets the value of the routeInstructionGeometry property.
 String toString()
           
 RouteInstructionType withBoundingBox(EnvelopeType value)
           
 RouteInstructionType withDescription(String value)
           
 RouteInstructionType withDistance(DistanceType value)
           
 RouteInstructionType withDuration(Duration value)
           
 RouteInstructionType withInstruction(String value)
           
 RouteInstructionType withRouteInstructionGeometry(RouteGeometryType value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

instruction

protected String instruction

distance

protected DistanceType distance

routeInstructionGeometry

protected RouteGeometryType routeInstructionGeometry

boundingBox

protected EnvelopeType boundingBox

duration

protected Duration duration

description

protected String description
Constructor Detail

RouteInstructionType

public RouteInstructionType()
Method Detail

getInstruction

public String getInstruction()
Gets the value of the instruction property.

Returns:
possible object is String

setInstruction

public void setInstruction(String value)
Sets the value of the instruction property.

Parameters:
value - allowed object is String

isSetInstruction

public boolean isSetInstruction()

getDistance

public DistanceType getDistance()
Gets the value of the distance property.

Returns:
possible object is DistanceType

setDistance

public void setDistance(DistanceType value)
Sets the value of the distance property.

Parameters:
value - allowed object is DistanceType

isSetDistance

public boolean isSetDistance()

getRouteInstructionGeometry

public RouteGeometryType getRouteInstructionGeometry()
Gets the value of the routeInstructionGeometry property.

Returns:
possible object is RouteGeometryType

setRouteInstructionGeometry

public void setRouteInstructionGeometry(RouteGeometryType value)
Sets the value of the routeInstructionGeometry property.

Parameters:
value - allowed object is RouteGeometryType

isSetRouteInstructionGeometry

public boolean isSetRouteInstructionGeometry()

getBoundingBox

public EnvelopeType getBoundingBox()
Gets the value of the boundingBox property.

Returns:
possible object is EnvelopeType

setBoundingBox

public void setBoundingBox(EnvelopeType value)
Sets the value of the boundingBox property.

Parameters:
value - allowed object is EnvelopeType

isSetBoundingBox

public boolean isSetBoundingBox()

getDuration

public Duration getDuration()
Gets the value of the duration property.

Returns:
possible object is Duration

setDuration

public void setDuration(Duration value)
Sets the value of the duration property.

Parameters:
value - allowed object is Duration

isSetDuration

public boolean isSetDuration()

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

isSetDescription

public boolean isSetDescription()

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

withInstruction

public RouteInstructionType withInstruction(String value)

withDistance

public RouteInstructionType withDistance(DistanceType value)

withRouteInstructionGeometry

public RouteInstructionType withRouteInstructionGeometry(RouteGeometryType value)

withBoundingBox

public RouteInstructionType withBoundingBox(EnvelopeType value)

withDuration

public RouteInstructionType withDuration(Duration value)

withDescription

public RouteInstructionType withDescription(String value)


Copyright © 2008-2016. All Rights Reserved.