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.04.08 at 06:26:48 PM CEST 
  //
  
  
  package nl.cloudfarming.client.isobus.model;
 
 import java.util.List;
Type: Task data Description: The TreatmentZone describes an area to be treated with the same process data DDIs and the same values. Inside a task, treatment zones can be referenced. The DefaultTreatmentZone has a special meaning concerning the included ProcessDataVariables. The values of those ProcessDataVariables are to be applied globally to the whole task. All ProcessDataVariable values inside the DefaultTreatmentZone are sent by the task controller to all appropriate working sets on starting and resuming a task. A DefaultTreatmentZone can exist for non-site-specific tasks. Non-site-specific tasks are tasks without any polygons or grid defined. The PositionLostTreatmentZone contains the ProcessDataVariables that shall be sent to the working sets when the positioning becomes unavailable. The OutOfFieldTreatmentZone contains the ProcessDataVariables that shall be sent to the appropriate device elements of working sets when (part of) the working sets leave the area bounded by a field boundary polygon. The specification of the PositionLostTreatmentZone and of the OutOfFieldTreatmentZone is intended for site-specific tasks. Referenced by XML elements: - Grid Included by XML elements: - Task Includes XML elements: - ProcessDataVariable - Polygon (of type TreatmentZone only)
 
 @XmlType(name = "", propOrder = {
     "pdv",
     "pln"
 })
 @XmlRootElement(name = "TZN")
 public class TreatmentZone {
 
     @XmlElement(name = "PDV")
     protected List<ProcessDataVariablepdv;
     @XmlElement(name = "PLN")
     protected List<IsobusPolygonpln;
     @XmlAttribute(name = "A", required = true)
     protected short treatmentZoneCode;
     @XmlAttribute(name = "B")
     protected String treatmentZoneDesignator;
     @XmlAttribute(name = "C")
     protected Short treatmentZoneColor;

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

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

    getPDV().add(newItem);
 

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

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

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

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

    getPLN().add(newItem);
 

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

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

    
Unique TreatmentZoneCode inside a task
    public short getTreatmentZoneCode() {
        return ;
    }

    
Sets the value of the treatmentZoneCode property.
    public void setTreatmentZoneCode(short value) {
        this. = value;
    }

    
Name of TreatmentZone

Returns:
possible object is
        return ;
    }

    
Sets the value of the treatmentZoneDesignator property.

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

    
Colour of TreatmentZone Format: palette like ISO 11783-6

Returns:
possible object is
    public Short getTreatmentZoneColor() {
        return ;
    }

    
Sets the value of the treatmentZoneColor property.

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