Class RouteType

java.lang.Object
slash.navigation.routes.remote.binding.RouteType

public class RouteType extends Object
a route has a category, a description, a creator and an url where to find the route. The optional attributes carry server-side metadata (specs/00055): they are emitted only when the route's file has been analyzed successfully. Old clients ignore unknown attributes; new clients (specs/00012) unmarshal them.

Java class for routeType complex type

.

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


 <complexType name="routeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="category" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="creator" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="lengthKind" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="positionLists" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="positions" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="startTime" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="elevationGain" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="elevationLoss" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • category

      protected String category
    • description

      protected String description
    • creator

      protected String creator
    • url

      protected String url
    • href

      protected String href
    • length

      protected Long length
    • lengthKind

      protected String lengthKind
    • duration

      protected Long duration
    • positionLists

      protected Integer positionLists
    • positions

      protected Integer positions
    • size

      protected Long size
    • format

      protected String format
    • startTime

      protected String startTime
    • elevationGain

      protected Integer elevationGain
    • elevationLoss

      protected Integer elevationLoss
    • country

      protected String country
  • Constructor Details

    • RouteType

      public RouteType()
  • Method Details

    • getCategory

      public String getCategory()
      Gets the value of the category property.
      Returns:
      possible object is String
    • setCategory

      public void setCategory(String value)
      Sets the value of the category property.
      Parameters:
      value - allowed object is String
    • 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
    • getCreator

      public String getCreator()
      Gets the value of the creator property.
      Returns:
      possible object is String
    • setCreator

      public void setCreator(String value)
      Sets the value of the creator property.
      Parameters:
      value - allowed object is String
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • getHref

      public String getHref()
      Gets the value of the href property.
      Returns:
      possible object is String
    • setHref

      public void setHref(String value)
      Sets the value of the href property.
      Parameters:
      value - allowed object is String
    • getLength

      public Long getLength()
      Gets the value of the length property.
      Returns:
      possible object is Long
    • setLength

      public void setLength(Long value)
      Sets the value of the length property.
      Parameters:
      value - allowed object is Long
    • getLengthKind

      public String getLengthKind()
      Gets the value of the lengthKind property.
      Returns:
      possible object is String
    • setLengthKind

      public void setLengthKind(String value)
      Sets the value of the lengthKind property.
      Parameters:
      value - allowed object is String
    • getDuration

      public Long getDuration()
      Gets the value of the duration property.
      Returns:
      possible object is Long
    • setDuration

      public void setDuration(Long value)
      Sets the value of the duration property.
      Parameters:
      value - allowed object is Long
    • getPositionLists

      public Integer getPositionLists()
      Gets the value of the positionLists property.
      Returns:
      possible object is Integer
    • setPositionLists

      public void setPositionLists(Integer value)
      Sets the value of the positionLists property.
      Parameters:
      value - allowed object is Integer
    • getPositions

      public Integer getPositions()
      Gets the value of the positions property.
      Returns:
      possible object is Integer
    • setPositions

      public void setPositions(Integer value)
      Sets the value of the positions property.
      Parameters:
      value - allowed object is Integer
    • getSize

      public Long getSize()
      Gets the value of the size property.
      Returns:
      possible object is Long
    • setSize

      public void setSize(Long value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is Long
    • getFormat

      public String getFormat()
      Gets the value of the format property.
      Returns:
      possible object is String
    • setFormat

      public void setFormat(String value)
      Sets the value of the format property.
      Parameters:
      value - allowed object is String
    • getStartTime

      public String getStartTime()
      Gets the value of the startTime property.
      Returns:
      possible object is String
    • setStartTime

      public void setStartTime(String value)
      Sets the value of the startTime property.
      Parameters:
      value - allowed object is String
    • getElevationGain

      public Integer getElevationGain()
      Gets the value of the elevationGain property.
      Returns:
      possible object is Integer
    • setElevationGain

      public void setElevationGain(Integer value)
      Sets the value of the elevationGain property.
      Parameters:
      value - allowed object is Integer
    • getElevationLoss

      public Integer getElevationLoss()
      Gets the value of the elevationLoss property.
      Returns:
      possible object is Integer
    • setElevationLoss

      public void setElevationLoss(Integer value)
      Sets the value of the elevationLoss property.
      Parameters:
      value - allowed object is Integer
    • getCountry

      public String getCountry()
      Gets the value of the country property.
      Returns:
      possible object is String
    • setCountry

      public void setCountry(String value)
      Sets the value of the country property.
      Parameters:
      value - allowed object is String