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, vhudson-jaxb-ri-2.1-833 
  // 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: 2012.03.23 at 06:29:13 PM CET 
  //
  
  
  package nl.cloudfarming.client.isobus.model;
 
 import java.util.List;
Type: Coding data Description: The CropType XML element describes a crop that can be cultivated on a partfield. A CropType XML element can include several CropVariety XML elements. Referenced by XML elements: - Partfield Includes XML elements: - CropVariety
 
 @XmlType(name = "", propOrder = {
     "cropVarieties"
 })
 @XmlRootElement(name = "CTP")
 public class CropType {
 
     @XmlElements({
         @XmlElement(name = "ACF", type = ACF.class),
         @XmlElement(name = "CVT", type = CropVariety.class)
     })
     protected List<ObjectcropVarieties;
     @XmlAttribute(name = "A", required = true)
     @XmlID
     protected String id;
     @XmlAttribute(name = "B", required = true)
     protected String name;

    
Gets the value of the cropVarieties property. Includes a list of XML elements CropVariety Gets the value of the cropVarieties 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 cropVarieties property.

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

    getCropVarieties().add(newItem);
 

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

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

    
Gets the value of the id property. Unique identifier of CropType Format: (CTP|CTP-)([0-9])+ Records generated on MICS have negative IDs

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

    
Sets the value of the id property.

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

    
Gets the value of the name property. Name of the crop

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

    
Sets the value of the name property.

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