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.05.15 at 04:23:26 PM CDT 
  //
  
  
  package org.nmdp.ngs.gtr.jaxb;
 

Java class for PersonnelType complex type.

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

 <complexType name="PersonnelType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Person" type="{}PersonType"/>
         <element name="PublicContact" minOccurs="0">
           <complexType>
             <complexContent>
               <extension base="{}ContactType">
                 <attribute name="Public" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
               </extension>
             </complexContent>
           </complexType>
         </element>
         <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Institution" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attGroup ref="{}gtr_identifiers"/>
       <attribute name="PrimaryContact" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="IsDirector" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="DisplayWeb" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="PID" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "PersonnelType", propOrder = {
     "person",
     "publicContact",
     "title",
     "institution"
 })
 public class PersonnelType {
 
     @XmlElement(name = "Person", required = true)
     protected PersonType person;
     @XmlElement(name = "PublicContact")
     @XmlElement(name = "Title")
     protected String title;
     @XmlElement(name = "Institution")
     protected String institution;
     @XmlAttribute(name = "PrimaryContact", required = true)
     protected boolean primaryContact;
     @XmlAttribute(name = "IsDirector", required = true)
     protected boolean isDirector;
     @XmlAttribute(name = "DisplayWeb", required = true)
     protected String displayWeb;
     @XmlAttribute(name = "PID")
     protected String pid;
     @XmlAttribute(name = "id")
     @XmlSchemaType(name = "positiveInteger")
     protected BigInteger id;

    
Gets the value of the person property.

Returns:
possible object is
 
     public PersonType getPerson() {
         return ;
     }

    
Sets the value of the person property.

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

    
Gets the value of the publicContact property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the publicContact property.

Parameters:
value allowed object is
    public void setPublicContact(PersonnelType.PublicContact value) {
        this. = value;
    }

    
Gets the value of the title property.

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

    
Sets the value of the title property.

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

    
Gets the value of the institution property.

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

    
Sets the value of the institution property.

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

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

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

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

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

    
Gets the value of the displayWeb property.

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

    
Sets the value of the displayWeb property.

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

    
Gets the value of the pid property.

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

    
Sets the value of the pid property.

Parameters:
value allowed object is
    public void setPID(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>
   <complexContent>
     <extension base="{}ContactType">
       <attribute name="Public" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </extension>
   </complexContent>
 </complexType>
 
    @XmlType(name = "")
    public static class PublicContact
        extends ContactType
    {
        @XmlAttribute(name = "Public")
        protected Boolean _public;

        
Gets the value of the public property.

Returns:
possible object is
        public boolean isPublic() {
            if ( == null) {
                return true;
            } else {
                return ;
            }
        }

        
Sets the value of the public property.

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