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: Task data Description: The ProcessDataVariable XML element is included in a TreatmentZone. It contains the ProcessDataDDI accompanied by its value and optional product and device element information to be used in this TreatmentZone. A ProcessDataVariable can contain another ProcessDataVariable to describe the planned allocation of multiple products to a single DeviceElement. In that case, the 'parent' ProcessDataVariable specifies the ProcessDataDDI to be sent by the TaskController to a DeviceElement while the 'child' ProcessDataVariables contain the product specifications. The 'child' ProcessDataVariable(s) shall not contain other ProcessDataVariables and shall not specify a DeviceElementIdRef attribute. Included by XML element: - TreatmentZone References XML elements: - Product - DeviceElement - ValuePresentation Includes XML element: - ProcessDataVariable
 
 @XmlType(name = "", propOrder = {
     "pdv"
 })
 @XmlRootElement(name = "PDV")
 public class ProcessDataVariable {
 
     @XmlElement(name = "PDV")
     protected List<ProcessDataVariablepdv;
     @XmlAttribute(name = "A", required = true)
     protected byte[] processDataDDI;
     @XmlAttribute(name = "B", required = true)
     protected int processDataValue;
     @XmlAttribute(name = "C")
     @XmlIDREF
     protected Object productIdRef;
     @XmlAttribute(name = "D")
     @XmlIDREF
     protected Object deviceElementIdRef;
     @XmlAttribute(name = "E")
     @XmlIDREF
     protected Object valuePresentationIdRef;

    
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.;
    }

    
Unique number which defines the process data DDI (specified in ISO 11783-11)

Returns:
possible object is
    public byte[] getProcessDataDDI() {
        return ;
    }

    
Sets the value of the processDataDDI property.

Parameters:
value allowed object is
    public void setProcessDataDDI(byte[] value) {
        this. = ((byte[]) value);
    }

    
Contains the value of the process data DDI
    public int getProcessDataValue() {
        return ;
    }

    
Sets the value of the processDataValue property.
    public void setProcessDataValue(int value) {
        this. = value;
    }

    
Reference to XML element Product Format: (PDT|PDT-)([0-9])

Returns:
possible object is
    public Object getProductIdRef() {
        return ;
    }

    
Sets the value of the productIdRef property.

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

    
Reference to XML element DeviceElement Format: (DET|DET-)([0-9])

Returns:
possible object is
    public Object getDeviceElementIdRef() {
        return ;
    }

    
Sets the value of the deviceElementIdRef property.

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

    
Reference to XML element ValuePresentation Format: (VPN|VPN-)([0-9])

Returns:
possible object is
    public Object getValuePresentationIdRef() {
        return ;
    }

    
Sets the value of the valuePresentationIdRef property.

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