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 CodedComment XML element describes predefined comments that can be used to annotate tasks. Comments can be grouped in CodedCommentGroups by establishing a reference to that group in CodedCommentGroupIdRef. A coded comment can include a list of possible values (e.g. low, medium, high). These values are described in CodedCommentValues. One of these values can be referenced when a comment is assigned to a task. Referenced by XML element: - CommentAllocation Includes XML element: - CodedCommentListValue
 
 @XmlType(name = "", propOrder = {
     "commentValues"
 })
 @XmlRootElement(name = "CCT")
 public class Comment {
 
     @XmlElement(name = "CCL")
     protected List<CommentValuecommentValues;
     @XmlAttribute(name = "A", required = true)
     @XmlID
     protected String id;
     @XmlAttribute(name = "B", required = true)
     protected String designator;
     @XmlAttribute(name = "C", required = true)
     protected CommentScopeEnum state;
     @XmlAttribute(name = "D")
     @XmlIDREF
     protected Object commentGroupId;

    
Gets the value of the commentValues property. Includes XML elements CommentValue Gets the value of the commentValues 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 commentValues property.

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

    getCommentValues().add(newItem);
 

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

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

    
Gets the value of the id property. Unique identifier of Comment Format: (CCT|CCT-)([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 Comment

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

    
Gets the value of the state property. Selection of one attribute: 1 = point 2 = global 3 = continuous

Returns:
possible object is
    public CommentScopeEnum getState() {
        return ;
    }

    
Sets the value of the state property.

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

    
Gets the value of the CommentGroupId property. Reference to ID of CommentGroup Format: (CCG|CCG-)([0-9])+

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

    
Sets the value of the commentGroupId property.

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