Class DriversLicenseType


  • public class DriversLicenseType
    extends Object

    Java class for driversLicenseType complex type.

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

     <complexType name="driversLicenseType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="number">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <minLength value="5"/>
                   <maxLength value="20"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="state">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <minLength value="2"/>
                   <maxLength value="2"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="dateOfBirth">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <minLength value="8"/>
                   <maxLength value="10"/>
                 </restriction>
               </simpleType>
             </element>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • number

        protected String number
      • state

        protected String state
      • dateOfBirth

        protected String dateOfBirth
    • Constructor Detail

      • DriversLicenseType

        public DriversLicenseType()
    • Method Detail

      • getNumber

        public String getNumber()
        Gets the value of the number property.
        Returns:
        possible object is String
      • setNumber

        public void setNumber​(String value)
        Sets the value of the number property.
        Parameters:
        value - allowed object is String
      • getState

        public String getState()
        Gets the value of the state property.
        Returns:
        possible object is String
      • setState

        public void setState​(String value)
        Sets the value of the state property.
        Parameters:
        value - allowed object is String
      • getDateOfBirth

        public String getDateOfBirth()
        Gets the value of the dateOfBirth property.
        Returns:
        possible object is String
      • setDateOfBirth

        public void setDateOfBirth​(String value)
        Sets the value of the dateOfBirth property.
        Parameters:
        value - allowed object is String