Class RouteType
java.lang.Object
slash.navigation.routes.remote.binding.RouteType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Longprotected Integerprotected Integerprotected Stringprotected Stringprotected Longprotected Stringprotected Integerprotected Integerprotected Longprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the category property.Gets the value of the country property.Gets the value of the creator property.Gets the value of the description property.Gets the value of the duration property.Gets the value of the elevationGain property.Gets the value of the elevationLoss property.Gets the value of the format property.getHref()Gets the value of the href property.Gets the value of the length property.Gets the value of the lengthKind property.Gets the value of the positionLists property.Gets the value of the positions property.getSize()Gets the value of the size property.Gets the value of the startTime property.getUrl()Gets the value of the url property.voidsetCategory(String value) Sets the value of the category property.voidsetCountry(String value) Sets the value of the country property.voidsetCreator(String value) Sets the value of the creator property.voidsetDescription(String value) Sets the value of the description property.voidsetDuration(Long value) Sets the value of the duration property.voidsetElevationGain(Integer value) Sets the value of the elevationGain property.voidsetElevationLoss(Integer value) Sets the value of the elevationLoss property.voidSets the value of the format property.voidSets the value of the href property.voidSets the value of the length property.voidsetLengthKind(String value) Sets the value of the lengthKind property.voidsetPositionLists(Integer value) Sets the value of the positionLists property.voidsetPositions(Integer value) Sets the value of the positions property.voidSets the value of the size property.voidsetStartTime(String value) Sets the value of the startTime property.voidSets the value of the url property.
-
Field Details
-
category
-
description
-
creator
-
url
-
href
-
length
-
lengthKind
-
duration
-
positionLists
-
positions
-
size
-
format
-
startTime
-
elevationGain
-
elevationLoss
-
country
-
-
Constructor Details
-
RouteType
public RouteType()
-
-
Method Details
-
getCategory
Gets the value of the category property.- Returns:
- possible object is
String
-
setCategory
Sets the value of the category property.- Parameters:
value- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getCreator
Gets the value of the creator property.- Returns:
- possible object is
String
-
setCreator
Sets the value of the creator property.- Parameters:
value- allowed object isString
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isString
-
getHref
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
Sets the value of the href property.- Parameters:
value- allowed object isString
-
getLength
Gets the value of the length property.- Returns:
- possible object is
Long
-
setLength
Sets the value of the length property.- Parameters:
value- allowed object isLong
-
getLengthKind
Gets the value of the lengthKind property.- Returns:
- possible object is
String
-
setLengthKind
Sets the value of the lengthKind property.- Parameters:
value- allowed object isString
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
Long
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isLong
-
getPositionLists
Gets the value of the positionLists property.- Returns:
- possible object is
Integer
-
setPositionLists
Sets the value of the positionLists property.- Parameters:
value- allowed object isInteger
-
getPositions
Gets the value of the positions property.- Returns:
- possible object is
Integer
-
setPositions
Sets the value of the positions property.- Parameters:
value- allowed object isInteger
-
getSize
Gets the value of the size property.- Returns:
- possible object is
Long
-
setSize
Sets the value of the size property.- Parameters:
value- allowed object isLong
-
getFormat
Gets the value of the format property.- Returns:
- possible object is
String
-
setFormat
Sets the value of the format property.- Parameters:
value- allowed object isString
-
getStartTime
Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getElevationGain
Gets the value of the elevationGain property.- Returns:
- possible object is
Integer
-
setElevationGain
Sets the value of the elevationGain property.- Parameters:
value- allowed object isInteger
-
getElevationLoss
Gets the value of the elevationLoss property.- Returns:
- possible object is
Integer
-
setElevationLoss
Sets the value of the elevationLoss property.- Parameters:
value- allowed object isInteger
-
getCountry
Gets the value of the country property.- Returns:
- possible object is
String
-
setCountry
Sets the value of the country property.- Parameters:
value- allowed object isString
-