Package iofXml.v2

Class 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>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String content  
      protected java.lang.String unit  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • content

        protected java.lang.String content
      • unit

        protected java.lang.String unit
    • Constructor Detail

      • CourseLength

        public CourseLength()
    • 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 is String
      • 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 is String