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 purpose of the Connection XML element is to specify how two devices are connected to each other within a single task. A connection specification consists of references to the two DeviceElements of type 'connector' of the two devices which are connected. The connection specification enables the task controller to determine the position of DeviceElements of one device relative to the position of, for instance, the NavigationReferencePoint of another device. The referenced DeviceElement in DeviceElementIdRef_0 shall be part of the device referenced in DeviceIdRef_0 and shall be of the type 'connector'. The referenced DeviceElement in DeviceElementIdRef_1 shall be part of the device referenced in DeviceIdRef_1 and shall also be of the type 'connector'. Included by XML element: - Task References XML elements: - Device - DeviceElement
 
 @XmlType(name = "")
 @XmlRootElement(name = "CNN")
 public class Connection {
 
     @XmlAttribute(name = "A", required = true)
     @XmlIDREF
     protected Object deviceId0;
     @XmlAttribute(name = "B", required = true)
     @XmlIDREF
     protected Object deviceElementId0;
     @XmlAttribute(name = "C", required = true)
     @XmlIDREF
     protected Object deviceId1;
     @XmlAttribute(name = "D", required = true)
     @XmlIDREF
     protected Object deviceElementId1;

    
Gets the value of the deviceId_0 property. Reference to XML element Device Format: (DVC|DVC-)([0-9])+

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

    
Sets the value of the deviceId0 property.

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

    
Gets the value of the deviceElementId_0 property. Reference to XML element DeviceElement Format: (DET|DET-)([0-9])+

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

    
Sets the value of the deviceElementId0 property.

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

    
Gets the value of the deviceId_1 property. Reference to XML element Device Format: (DVC|DVC-)([0-9])+

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

    
Sets the value of the deviceId1 property.

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

    
Gets the value of the deviceElementId_1 property. Reference to XML element DeviceElement Format: (DET|DET-)([0-9])+

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

    
Sets the value of the deviceElementId1 property.

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