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;
 
 import java.util.List;
If variant there are multiple conditions for a test target (or target set) for an assertion they are grouped under a trait set

Java class for TraitSetType complex type.

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

 <complexType name="TraitSetType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Trait" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Name" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="Symbol" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="Description" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="Attribute" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="AttributeComplexSet" type="{}SetElementComplexType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="XRef" type="{}XrefType" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attGroup ref="{}CVIdentifiers"/>
                 <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attGroup ref="{}CVIdentifiers"/>
       <attribute name="SetID" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "TraitSetType", propOrder = {
     "traits"
 })
 public class TraitSetType {
 
     @XmlElement(name = "Trait", required = true)
     protected List<TraitSetType.Traittraits;
     @XmlAttribute(name = "SetID")
     @XmlSchemaType(name = "positiveInteger")
     protected BigInteger setID;
     @XmlAttribute(name = "ID")
     @XmlSchemaType(name = "positiveInteger")
     protected BigInteger id;

    
Gets the value of the traits 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 traits property.

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

    getTraits().add(newItem);
 

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

    public List<TraitSetType.TraitgetTraits() {
        if ( == null) {
             = new ArrayList<TraitSetType.Trait>();
        }
        return this.;
    }

    
Gets the value of the setID property.

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

    
Sets the value of the setID property.

Parameters:
value allowed object is
    public void setSetID(BigInteger 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>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Symbol" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Description" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Attribute" type="{}SetElementType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="AttributeComplexSet" type="{}SetElementComplexType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="XRef" type="{}XrefType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{}CVIdentifiers"/>
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "names",
        "symbols",
        "descriptions",
        "attributes",
        "attributeComplexSets",
        "xReves"
    })
    public static class Trait {
        @XmlElement(name = "Name")
        protected List<SetElementTypenames;
        @XmlElement(name = "Symbol")
        protected List<SetElementTypesymbols;
        @XmlElement(name = "Description")
        protected List<SetElementTypedescriptions;
        @XmlElement(name = "Attribute")
        protected List<SetElementTypeattributes;
        @XmlElement(name = "AttributeComplexSet")
        protected List<SetElementComplexTypeattributeComplexSets;
        @XmlElement(name = "XRef")
        protected List<XrefTypexReves;
        @XmlAttribute(name = "Type")
        @XmlSchemaType(name = "anySimpleType")
        protected String type;
        @XmlAttribute(name = "ID")
        @XmlSchemaType(name = "positiveInteger")
        protected BigInteger id;

        
Gets the value of the names 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 names property.

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

    getNames().add(newItem);
 

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

        public List<SetElementTypegetNames() {
            if ( == null) {
                 = new ArrayList<SetElementType>();
            }
            return this.;
        }

        
Gets the value of the symbols 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 symbols property.

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

    getSymbols().add(newItem);
 

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

        public List<SetElementTypegetSymbols() {
            if ( == null) {
                 = new ArrayList<SetElementType>();
            }
            return this.;
        }

        
Gets the value of the descriptions 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 descriptions property.

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

    getDescriptions().add(newItem);
 

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

        public List<SetElementTypegetDescriptions() {
            if ( == null) {
                 = new ArrayList<SetElementType>();
            }
            return this.;
        }

        
Gets the value of the attributes 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 attributes property.

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

    getAttributes().add(newItem);
 

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

        public List<SetElementTypegetAttributes() {
            if ( == null) {
                 = new ArrayList<SetElementType>();
            }
            return this.;
        }

        
Gets the value of the attributeComplexSets 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 attributeComplexSets property.

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

    getAttributeComplexSets().add(newItem);
 

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

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

        
Gets the value of the xReves 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 xReves property.

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

    getXReves().add(newItem);
 

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

        public List<XrefTypegetXReves() {
            if ( == null) {
                 = new ArrayList<XrefType>();
            }
            return this.;
        }

        
Gets the value of the type property.

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

        
Sets the value of the type property.

Parameters:
value allowed object is
        public void setType(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