net.opengis.ols.v_1_2
Class AbstractRouteSegmentType

java.lang.Object
  extended by net.opengis.ols.v_1_2.AbstractRouteSegmentType
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
Direct Known Subclasses:
RouteSegmentType

public abstract class AbstractRouteSegmentType
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 the characteristics of a segment along a route.

Java class for AbstractRouteSegmentType complex type.

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

 <complexType name="AbstractRouteSegmentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}Distance"/>
         <element name="TravelTime" type="{http://www.w3.org/2001/XMLSchema}duration"/>
         <element ref="{http://www.opengis.net/xls}BoundingBox"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EnvelopeType boundingBox
           
protected  DistanceType distance
           
protected  String name
           
protected  Duration travelTime
           
 
Constructor Summary
AbstractRouteSegmentType()
           
 
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)
           
 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)
           
 EnvelopeType getBoundingBox()
          Rectangular area bounding the segment.
 DistanceType getDistance()
          Distance along the segment.
 String getName()
          Gets the value of the name property.
 Duration getTravelTime()
          Gets the value of the travelTime property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetBoundingBox()
           
 boolean isSetDistance()
           
 boolean isSetName()
           
 boolean isSetTravelTime()
           
 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 setBoundingBox(EnvelopeType value)
          Sets the value of the boundingBox property.
 void setDistance(DistanceType value)
          Sets the value of the distance property.
 void setName(String value)
          Sets the value of the name property.
 void setTravelTime(Duration value)
          Sets the value of the travelTime property.
 String toString()
           
 AbstractRouteSegmentType withBoundingBox(EnvelopeType value)
           
 AbstractRouteSegmentType withDistance(DistanceType value)
           
 AbstractRouteSegmentType withName(String value)
           
 AbstractRouteSegmentType withTravelTime(Duration value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.CopyTo
createNewInstance
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.MergeFrom
createNewInstance
 

Field Detail

distance

protected DistanceType distance

travelTime

protected Duration travelTime

boundingBox

protected EnvelopeType boundingBox

name

protected String name
Constructor Detail

AbstractRouteSegmentType

public AbstractRouteSegmentType()
Method Detail

getDistance

public DistanceType getDistance()
Distance along the segment.

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()

getTravelTime

public Duration getTravelTime()
Gets the value of the travelTime property.

Returns:
possible object is Duration

setTravelTime

public void setTravelTime(Duration value)
Sets the value of the travelTime property.

Parameters:
value - allowed object is Duration

isSetTravelTime

public boolean isSetTravelTime()

getBoundingBox

public EnvelopeType getBoundingBox()
Rectangular area bounding the segment.

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()

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

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

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

withDistance

public AbstractRouteSegmentType withDistance(DistanceType value)

withTravelTime

public AbstractRouteSegmentType withTravelTime(Duration value)

withBoundingBox

public AbstractRouteSegmentType withBoundingBox(EnvelopeType value)

withName

public AbstractRouteSegmentType withName(String value)


Copyright © 2008-2015. All Rights Reserved.