org.vrprep.model.instance
Class Instance.Network.Nodes.Node

java.lang.Object
  extended by org.vrprep.model.instance.Instance.Network.Nodes.Node
Enclosing class:
Instance.Network.Nodes

public static class Instance.Network.Nodes.Node
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice minOccurs="0">
           <sequence>
             <element name="cx" type="{http://www.w3.org/2001/XMLSchema}double"/>
             <element name="cy" type="{http://www.w3.org/2001/XMLSchema}double"/>
             <element name="cz" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
           </sequence>
           <sequence>
             <element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
             <element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
           </sequence>
         </choice>
         <element name="compatible_vehicle" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="trailer" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Integer> compatibleVehicle
           
protected  Double cx
           
protected  Double cy
           
protected  Double cz
           
protected  BigInteger id
           
protected  Double latitude
           
protected  Double longitude
           
protected  Boolean trailer
           
protected  BigInteger type
           
 
Constructor Summary
Instance.Network.Nodes.Node()
           
 
Method Summary
 List<Integer> getCompatibleVehicle()
          Gets the value of the compatibleVehicle property.
 Double getCx()
          Gets the value of the cx property.
 Double getCy()
          Gets the value of the cy property.
 Double getCz()
          Gets the value of the cz property.
 BigInteger getId()
          Gets the value of the id property.
 Double getLatitude()
          Gets the value of the latitude property.
 Double getLongitude()
          Gets the value of the longitude property.
 BigInteger getType()
          Gets the value of the type property.
 Boolean isTrailer()
          Gets the value of the trailer property.
 void setCx(Double value)
          Sets the value of the cx property.
 void setCy(Double value)
          Sets the value of the cy property.
 void setCz(Double value)
          Sets the value of the cz property.
 void setId(BigInteger value)
          Sets the value of the id property.
 void setLatitude(Double value)
          Sets the value of the latitude property.
 void setLongitude(Double value)
          Sets the value of the longitude property.
 void setTrailer(Boolean value)
          Sets the value of the trailer property.
 void setType(BigInteger value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cx

protected Double cx

cy

protected Double cy

cz

protected Double cz

latitude

protected Double latitude

longitude

protected Double longitude

compatibleVehicle

protected List<Integer> compatibleVehicle

id

protected BigInteger id

type

protected BigInteger type

trailer

protected Boolean trailer
Constructor Detail

Instance.Network.Nodes.Node

public Instance.Network.Nodes.Node()
Method Detail

getCx

public Double getCx()
Gets the value of the cx property.

Returns:
possible object is Double

setCx

public void setCx(Double value)
Sets the value of the cx property.

Parameters:
value - allowed object is Double

getCy

public Double getCy()
Gets the value of the cy property.

Returns:
possible object is Double

setCy

public void setCy(Double value)
Sets the value of the cy property.

Parameters:
value - allowed object is Double

getCz

public Double getCz()
Gets the value of the cz property.

Returns:
possible object is Double

setCz

public void setCz(Double value)
Sets the value of the cz property.

Parameters:
value - allowed object is Double

getLatitude

public Double getLatitude()
Gets the value of the latitude property.

Returns:
possible object is Double

setLatitude

public void setLatitude(Double value)
Sets the value of the latitude property.

Parameters:
value - allowed object is Double

getLongitude

public Double getLongitude()
Gets the value of the longitude property.

Returns:
possible object is Double

setLongitude

public void setLongitude(Double value)
Sets the value of the longitude property.

Parameters:
value - allowed object is Double

getCompatibleVehicle

public List<Integer> getCompatibleVehicle()
Gets the value of the compatibleVehicle 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 compatibleVehicle property.

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

    getCompatibleVehicle().add(newItem);
 

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


getId

public BigInteger getId()
Gets the value of the id property.

Returns:
possible object is BigInteger

setId

public void setId(BigInteger value)
Sets the value of the id property.

Parameters:
value - allowed object is BigInteger

getType

public BigInteger getType()
Gets the value of the type property.

Returns:
possible object is BigInteger

setType

public void setType(BigInteger value)
Sets the value of the type property.

Parameters:
value - allowed object is BigInteger

isTrailer

public Boolean isTrailer()
Gets the value of the trailer property.

Returns:
possible object is Boolean

setTrailer

public void setTrailer(Boolean value)
Sets the value of the trailer property.

Parameters:
value - allowed object is Boolean


Copyright © 2014 VRP-REP. All rights reserved.