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.11 
  // 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.02 at 12:33:41 PM CET 
  //
  
  
  package org.iso.standards.iso._19770.__2._2009.schema;
 
 import java.util.List;

Java class for UpgradeForComplexType complex type.

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

 <complexType name="UpgradeForComplexType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="upgrade_id" type="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}SoftwareIdComplexType" maxOccurs="unbounded"/>
         <element name="upgrade_description" type="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}String" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://standards.iso.org/iso/19770/-2/2009/schema.xsd}default"/>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "UpgradeForComplexType", propOrder = {
     "upgradeId",
     "upgradeDescription"
 })
 public class UpgradeForComplexType {
 
     @XmlElement(name = "upgrade_id", required = true)
     protected List<SoftwareIdComplexTypeupgradeId;
     @XmlElement(name = "upgrade_description")
     @XmlAttribute(name = "id")
     @XmlID
     @XmlSchemaType(name = "ID")
     protected java.lang.String id;

    
Default no-arg constructor
 
     public UpgradeForComplexType() {
         super();
     }

    
Fully-initialising value constructor
 
     public UpgradeForComplexType(final List<SoftwareIdComplexTypeupgradeIdfinal org.iso.standards.iso._19770.__2._2009.schema.String upgradeDescriptionfinal java.lang.String id) {
         this. = upgradeId;
         this. = upgradeDescription;
         this. = id;
     }

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

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

    getUpgradeId().add(newItem);
 

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

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

    
Gets the value of the upgradeDescription property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the upgradeDescription property.

Parameters:
value allowed object is
        this. = value;
    }

    
Gets the value of the id property.

Returns:
possible object is
    public java.lang.String getId() {
        return ;
    }

    
Sets the value of the id property.

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