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: Task data Description: The Grid XML element describes the dimension and position of a set of gridcells. There shall be a definition of the minimum north/east position, the size of each gridcell and the number of gridcells in the north/east direction. There can only be a single grid specified per task. The grid is always related to a partfield but the definition of grid is always task-specific. The grid cells of a grid contain a reference to a TreatmentZone or a process data variable value. The grid shall be specified as a complete array of gridcells in ascending order, as gridcells do not contain any ordering information. The gridcells shall be defined in a binary format in a separate file external to the XML data transfer file. There can only be a single binary file per grid and per task. The gridcell files shall exist in the same folder as the data transfer file. The name of the gridcell files shall be unique over all grids referred to by tasks of a data transfer file. References XML element: - TreatmentZone Included by XML elements: - Task
 
 @XmlType(name = "")
 @XmlRootElement(name = "GRD")
 public class Grid {
 
     @XmlAttribute(name = "A", required = true)
     protected BigDecimal minimumNorthPosition;
     @XmlAttribute(name = "B", required = true)
     protected BigDecimal minimumEastPosition;
     @XmlAttribute(name = "C", required = true)
     protected double cellNorthSize;
     @XmlAttribute(name = "D", required = true)
     protected double cellEastSize;
     @XmlAttribute(name = "E", required = true)
     protected long maximumColumn;
     @XmlAttribute(name = "F", required = true)
     protected long maximumRow;
     @XmlAttribute(name = "G", required = true)
     @XmlID
     protected String filename;
     @XmlAttribute(name = "H")
     protected Long filelength;
     @XmlAttribute(name = "I", required = true)
     protected String type;
     @XmlAttribute(name = "J")
     protected Short treatmentZoneCode;

    
Gets the value of the minimumNorthPosition property. Minimum north position of the grid Format: WGS84

Returns:
possible object is
 
     public BigDecimal getMinimumNorthPosition() {
         return ;
     }

    
Sets the value of the minimumNorthPosition property.

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

    
Gets the value of the minimumEastPosition property. Minimum east position of the grid Format: WGS84

Returns:
possible object is
        return ;
    }

    
Sets the value of the minimumEastPosition property.

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

    
Gets the value of the cellNorthSize property. North direction gridcell size Format: WGS84
    public double getCellNorthSize() {
        return ;
    }

    
Sets the value of the cellNorthSize property.
    public void setCellNorthSize(double value) {
        this. = value;
    }

    
Gets the value of the cellEastSize property. East direction gridcell size Format: WGS84
    public double getCellEastSize() {
        return ;
    }

    
Sets the value of the cellEastSize property.
    public void setCellEastSize(double value) {
        this. = value;
    }

    
Gets the value of the maximumColumn property. Number of the gridcells in east direction
    public long getMaximumColumn() {
        return ;
    }

    
Sets the value of the maximumColumn property.
    public void setMaximumColumn(long value) {
        this. = value;
    }

    
Gets the value of the maximumRow property. Number of the gridcells in north direction
    public long getMaximumRow() {
        return ;
    }

    
Sets the value of the maximumRow property.
    public void setMaximumRow(long value) {
        this. = value;
    }

    
Gets the value of the filename property. Unique name of gridcell file Format: GRD[0-9][0-9][0-9][0-9][0-9]

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

    
Sets the value of the filename property.

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

    
Gets the value of the filelength property. Length of gridcell file in number of bytes

Returns:
possible object is
    public Long getFilelength() {
        return ;
    }

    
Sets the value of the filelength property.

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

    
Gets the value of the type property. Grid type specification: 1 = grid type 1 2 = grid type 2

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

    
Sets the value of the type property.

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

    
Gets the value of the treatmentZoneCode property. Grid type 2 TreatmentZoneCode

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

    
Sets the value of the treatmentZoneCode property.

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