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: 2014.09.23 at 10:37:39 PM CDT 
  //
  
  
  package org.nmdp.ngs.gtr.jaxb;
 
 import java.util.List;

Java class for PersonType complex type.

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

 <complexType name="PersonType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DisplayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Name">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="First" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Last" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Middle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="Prefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="Suffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="Degree" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <extension base="{}DegreeType">
                 <attribute name="Display" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </extension>
             </complexContent>
           </complexType>
         </element>
         <element name="Certification" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="SubSpecialty" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="Specialty" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="Board" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="ExpirationDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
                   <element name="Number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="Credential" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <extension base="{}CredentialType">
                 <attribute name="Display" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </extension>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attGroup ref="{}gtr_identifiers"/>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "PersonType", propOrder = {
     "displayName",
     "name",
     "degrees",
     "certifications",
     "credentials"
 })
 public class PersonType {
    @XmlElement(name = "DisplayName")
    protected String displayName;
    @XmlElement(name = "Name", required = true)
    protected PersonType.Name name;
    @XmlElement(name = "Degree")
    protected List<PersonType.Degreedegrees;
    @XmlElement(name = "Certification")
    @XmlElement(name = "Credential")
    @XmlAttribute(name = "id")
    @XmlSchemaType(name = "positiveInteger")
    protected BigInteger id;

    
Gets the value of the displayName property.

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

    
Sets the value of the displayName property.

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

    
Gets the value of the name property.

Returns:
possible object is
    public PersonType.Name getName() {
        return ;
    }

    
Sets the value of the name property.

Parameters:
value allowed object is
    public void setName(PersonType.Name value) {
        this. = value;
    }

    
Gets the value of the degrees property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the degrees property.

For example, to add a new item, do as follows:

    getDegrees().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<PersonType.DegreegetDegrees() {
        if ( == null) {
             = new ArrayList<PersonType.Degree>();
        }
        return this.;
    }

    
Gets the value of the certifications property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the certifications property.

For example, to add a new item, do as follows:

    getCertifications().add(newItem);
 

Objects of the following type(s) are allowed in the list

        if ( == null) {
             = new ArrayList<PersonType.Certification>();
        }
        return this.;
    }

    
Gets the value of the credentials property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the credentials property.

For example, to add a new item, do as follows:

    getCredentials().add(newItem);
 

Objects of the following type(s) are allowed in the list

        if ( == null) {
             = new ArrayList<PersonType.Credential>();
        }
        return this.;
    }

    
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>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="SubSpecialty" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Specialty" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Board" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ExpirationDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="Number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "subSpecialty",
        "specialty",
        "board",
        "expirationDate",
        "number"
    })
    public static class Certification {
        @XmlElement(name = "SubSpecialty")
        protected String subSpecialty;
        @XmlElement(name = "Specialty")
        protected String specialty;
        @XmlElement(name = "Board", required = true)
        protected String board;
        @XmlElement(name = "ExpirationDate")
        @XmlSchemaType(name = "date")
        protected XMLGregorianCalendar expirationDate;
        @XmlElement(name = "Number")
        protected String number;

        
Gets the value of the subSpecialty property.

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

        
Sets the value of the subSpecialty property.

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

        
Gets the value of the specialty property.

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

        
Sets the value of the specialty property.

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

        
Gets the value of the board property.

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

        
Sets the value of the board property.

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

        
Gets the value of the expirationDate property.

Returns:
possible object is
        public XMLGregorianCalendar getExpirationDate() {
            return ;
        }

        
Sets the value of the expirationDate property.

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

        
Gets the value of the number property.

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

        
Sets the value of the number property.

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


    

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{}CredentialType">
       <attribute name="Display" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 
    @XmlType(name = "")
    public static class Credential
        extends CredentialType
    {
        @XmlAttribute(name = "Display", required = true)
        protected boolean display;

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

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


    

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{}DegreeType">
       <attribute name="Display" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 
    @XmlType(name = "")
    public static class Degree
        extends DegreeType
    {
        @XmlAttribute(name = "Display", required = true)
        protected boolean display;

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

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


    

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">
       <sequence>
         <element name="First" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Last" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Middle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Prefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Suffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "first",
        "last",
        "middle",
        "prefix",
        "suffix"
    })
    public static class Name {
        @XmlElement(name = "First", required = true)
        protected String first;
        @XmlElement(name = "Last", required = true)
        protected String last;
        @XmlElement(name = "Middle")
        protected String middle;
        @XmlElement(name = "Prefix")
        protected String prefix;
        @XmlElement(name = "Suffix")
        protected String suffix;

        
Gets the value of the first property.

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

        
Sets the value of the first property.

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

        
Gets the value of the last property.

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

        
Sets the value of the last property.

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

        
Gets the value of the middle property.

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

        
Sets the value of the middle property.

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

        
Gets the value of the prefix property.

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

        
Sets the value of the prefix property.

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

        
Gets the value of the suffix property.

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

        
Sets the value of the suffix property.

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