Package iofXml.v2
Class CourseLength
- java.lang.Object
-
- iofXml.v2.CourseLength
-
public class CourseLength extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="unit" default="m"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="m"/> <enumeration value="km"/> <enumeration value="ft"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description CourseLength()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContent()
Gets the value of the content property.java.lang.String
getUnit()
Gets the value of the unit property.void
setContent(java.lang.String value)
Sets the value of the content property.void
setUnit(java.lang.String value)
Sets the value of the unit property.
-
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Gets the value of the content property.- Returns:
- possible object is
String
-
setContent
public void setContent(java.lang.String value)
Sets the value of the content property.- Parameters:
value
- allowed object isString
-
getUnit
public java.lang.String getUnit()
Gets the value of the unit property.- Returns:
- possible object is
String
-
setUnit
public void setUnit(java.lang.String value)
Sets the value of the unit property.- Parameters:
value
- allowed object isString
-
-