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 Polygon XML element describes areas by inclusion of linestrings. A polygon can be used to specify the boundary of a partfield or the area of a TreatmentZone. Polygons of type flag can be used to assign a comment to all positions inside the polygon. This is to enable the task controller to display farm-side-generated comments stored in XML attribute PolygonDesignator at certain positions as informational messages to the operator. Included by XML elements: - Partfield - TreatmentZone Includes XML element: - Linestring
 
 @XmlType(name = "", propOrder = {
     "lineString"
 })
 @XmlRootElement(name = "PLN")
 public class IsobusPolygon {
 
     @XmlElement(name = "LSG")
     protected List<IsobusLineStringlineString;
     @XmlAttribute(name = "A", required = true)
     protected PolygonTypeEnum polygonType;
     @XmlAttribute(name = "B")
     protected String polygonDesignator;
     @XmlAttribute(name = "C")
     protected Long polygonArea;
     @XmlAttribute(name = "D")
     protected Short polygonColor;

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

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

    getLineString().add(newItem);
 

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

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

    
Type of the polygon, possible values: 1 = Partfield 2 = TreatmentZone 3 = WaterSurface 4 = Building 5 = Road 6 = Obstacle 7 = Flag 8 = Other

Returns:
possible object is
    public PolygonTypeEnum getPolygonType() {
        return ;
    }

    
Sets the value of the polygonType property.

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

    
Polygon designator/name

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

    
Sets the value of the polygonDesignator property.

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

    
Polygon area in m2

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

    
Sets the value of the polygonArea property.

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

    
Colour of the polygon Format: palette like ISO 11783-6

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

    
Sets the value of the polygonColor property.

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