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;
 
Type: Coding data Description: The Product XML element describes a single product. A product can be related to a ProductGroup. To determine which products belong to a specific ProductGroup, the ProductGroupIdRef values of all products shall be examined for a match with a particular ProductGroupId value. Products refer both to products being used in a task (i.e. crop protection chemicals) and to products being produced by a task (agricultural products). The ValuePresentationIdRef and AmountDDI can be used to specify the presentation and definition of the amount of the product. Examples of DDIs to use for AmountDDI as defined in ISO11783-11 are: 80 Volume-based total application 81 Mass-based total application 82 Count-based total application References XML element: - ProductGroup Referenced by XML element: - ProductAllocation - ProcessDataVariable
 
 @XmlType(name = "")
 @XmlRootElement(name = "PDT")
 public class IsobusProduct {
 
     @XmlAttribute(name = "A", required = true)
     @XmlID
     protected String productId;
     @XmlAttribute(name = "B", required = true)
     protected String productDesigNator;
     @XmlAttribute(name = "C")
     @XmlIDREF
     protected Object productGroupId;
     @XmlAttribute(name = "D")
     @XmlIDREF
     protected Object valuePresentationIdRef;
     @XmlAttribute(name = "E")
     protected byte[] amouNtDDI;

    
Unique identifier of product Format: (PDT|PDT-)([0-9])+ Records generated on MICS have negative IDs

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

    
Sets the value of the productId property.

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

    
Product designator/name

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

    
Sets the value of the productDesigNator property.

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

    
Reference to XML element ProductGroup Format: (PGP|PGP-)([0-9])+

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

    
Sets the value of the productGroupId property.

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

    
Unique number, which defines the DDI (specified in ISO 11783-11) of the amount.

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

    
Sets the value of the amouNtDDI property.

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