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: Coding data Description: The CulturalPractice XML element describes cultural practices that can be allocated to a task. Examples of CulturalPractice definitions are 'ploughing' or 'seeding'. A CulturalPractice can refer to a list of references to several OperationTechniques (e.g. cultural practice: 'fertilization' -> operation techniques: 'liquid fertilization', 'organic fertilization', 'gaseous fertilization'). Referenced by XML elements: - OperTechPractice Includes XML elements: - OperationTechniqueReference
 
 @XmlType(name = "", propOrder = {
     "operationTechniques"
 })
 @XmlRootElement(name = "CPC")
 public class CulturalPractice {
 
     @XmlElement(name = "OTR")
     @XmlAttribute(name = "A", required = true)
     @XmlID
     protected String id;
     @XmlAttribute(name = "B", required = true)
     protected String designator;

    
Gets the value of the operationTechniques property. Includes a list of XML element OperationTechniqueReference Gets the value of the operationTechniques 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 operationTechniques property.

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

    getOperationTechniques().add(newItem);
 

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

 
         if ( == null) {
              = new ArrayList<OperationTechniqueReference>();
         }
         return this.;
     }

    
Gets the value of the id property. Unique identifier of CulturalPractice Format: (CPC|CPC-)([0-9])+ Records generated on MICS have negative IDs

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

    
Sets the value of the id property.

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

    
Gets the value of the designator property. Designator of the CulturalPractice

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

    
Sets the value of the designator property.

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