Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2015.01.21 at 09:03:36 PM CST 
  //
  
  
  package org.nmdp.ngs.gtr.jaxb;
 

Java class for AddressType complex type.

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

 <complexType name="AddressType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Line1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Line2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Line3" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="State">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attGroup ref="{}gtr_identifiers"/>
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="PostCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Country">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attGroup ref="{}gtr_identifiers"/>
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attGroup ref="{}gtr_identifiers"/>
       <attribute name="Public" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "AddressType", propOrder = {
     "line1",
     "line2",
     "line3",
     "city",
     "state",
     "postCode",
     "country"
 })
 public class AddressType {
 
     @XmlElement(name = "Line1")
     protected String line1;
     @XmlElement(name = "Line2")
     protected String line2;
     @XmlElement(name = "Line3")
     protected String line3;
     @XmlElement(name = "City", required = true)
     protected String city;
     @XmlElement(name = "State", required = true)
     protected AddressType.State state;
     @XmlElement(name = "PostCode")
     protected String postCode;
     @XmlElement(name = "Country", required = true)
     protected AddressType.Country country;
     @XmlAttribute(name = "Public", required = true)
     protected boolean _public;
     @XmlAttribute(name = "id")
     @XmlSchemaType(name = "positiveInteger")
     protected BigInteger id;

    
Gets the value of the line1 property.

Returns:
possible object is
    public String getLine1() {
        return ;
    }

    
Sets the value of the line1 property.

Parameters:
value allowed object is
    public void setLine1(String value) {
        this. = value;
    }

    
Gets the value of the line2 property.

Returns:
possible object is
    public String getLine2() {
        return ;
    }

    
Sets the value of the line2 property.

Parameters:
value allowed object is
    public void setLine2(String value) {
        this. = value;
    }

    
Gets the value of the line3 property.

Returns:
possible object is
    public String getLine3() {
        return ;
    }

    
Sets the value of the line3 property.

Parameters:
value allowed object is
    public void setLine3(String value) {
        this. = value;
    }

    
Gets the value of the city property.

Returns:
possible object is
    public String getCity() {
        return ;
    }

    
Sets the value of the city property.

Parameters:
value allowed object is
    public void setCity(String value) {
        this. = value;
    }

    
Gets the value of the state property.

Returns:
possible object is
    public AddressType.State getState() {
        return ;
    }

    
Sets the value of the state property.

Parameters:
value allowed object is
    public void setState(AddressType.State value) {
        this. = value;
    }

    
Gets the value of the postCode property.

Returns:
possible object is
    public String getPostCode() {
        return ;
    }

    
Sets the value of the postCode property.

Parameters:
value allowed object is
    public void setPostCode(String value) {
        this. = value;
    }

    
Gets the value of the country property.

Returns:
possible object is
    public AddressType.Country getCountry() {
        return ;
    }

    
Sets the value of the country property.

Parameters:
value allowed object is
    public void setCountry(AddressType.Country value) {
        this. = value;
    }

    
Gets the value of the public property.
    public boolean isPublic() {
        return ;
    }

    
Sets the value of the public property.
    public void setPublic(boolean value) {
        this. = value;
    }

    
Gets the value of the id property.

Returns:
possible object is
    public BigInteger getId() {
        return ;
    }

    
Sets the value of the id property.

Parameters:
value allowed object is
    public void setId(BigInteger value) {
        this. = value;
    }


    

Java class for anonymous complex type.

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

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attGroup ref="{}gtr_identifiers"/>
     </extension>
   </simpleContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "value"
    })
    public static class Country {
        @XmlValue
        protected String value;
        @XmlAttribute(name = "id")
        @XmlSchemaType(name = "positiveInteger")
        protected BigInteger id;

        
Gets the value of the value property.

Returns:
possible object is
        public String getValue() {
            return ;
        }

        
Sets the value of the value property.

Parameters:
value allowed object is
        public void setValue(String value) {
            this. = value;
        }

        
Gets the value of the id property.

Returns:
possible object is
        public BigInteger getId() {
            return ;
        }

        
Sets the value of the id property.

Parameters:
value allowed object is
        public void setId(BigInteger value) {
            this. = value;
        }
    }


    

Java class for anonymous complex type.

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

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attGroup ref="{}gtr_identifiers"/>
     </extension>
   </simpleContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "value"
    })
    public static class State {
        @XmlValue
        protected String value;
        @XmlAttribute(name = "id")
        @XmlSchemaType(name = "positiveInteger")
        protected BigInteger id;

        
Gets the value of the value property.

Returns:
possible object is
        public String getValue() {
            return ;
        }

        
Sets the value of the value property.

Parameters:
value allowed object is
        public void setValue(String value) {
            this. = value;
        }

        
Gets the value of the id property.

Returns:
possible object is
        public BigInteger getId() {
            return ;
        }

        
Sets the value of the id property.

Parameters:
value allowed object is
        public void setId(BigInteger value) {
            this. = value;
        }
    }
New to GrepCode? Check out our FAQ X