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 DeviceProperty XML element describes a property of a DeviceElement by means of a reference and a value for a DDI. This XML element is part of the device description. References XML element: - DeviceValuePresentation Referenced by XML element: - DeviceObjectReference Included by XML elements: - Device
 
 @XmlType(name = "")
 @XmlRootElement(name = "DPT")
 public class DeviceProperty {
 
     @XmlAttribute(name = "A", required = true)
     protected int id;
     @XmlAttribute(name = "B", required = true)
     protected byte[] ddi;
     @XmlAttribute(name = "C", required = true)
     protected int value;
     @XmlAttribute(name = "D")
     protected String designator;
     @XmlAttribute(name = "E")
     protected Integer deviceValuePresentationObjectId;

    
Gets the value of the id property. Unique number inside a single device
 
     public int getId() {
         return ;
     }

    
Sets the value of the id property.
 
     public void setId(int value) {
         this. = value;
     }

    
Gets the value of the DDI property. Unique number which defines the property (specified inISO 11783-11)

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

    
Sets the value of the ddi property.

Parameters:
value allowed object is
    public void setDDI(byte[] value) {
        this. = ((byte[]) value);
    }

    
Gets the value of the value property. Property value
    public int getValue() {
        return ;
    }

    
Sets the value of the value property.
    public void setValue(int value) {
        this. = value;
    }

    
Gets the value of the designator property. Optional designator for property

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 deviceValuePresentationObjectId property. Object ID of DeviceValuePresentation

Returns:
possible object is
        return ;
    }

    
Sets the value of the deviceValuePresentationObjectId property.

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