org.vrprep.model.instance
Class Action

java.lang.Object
  extended by org.vrprep.model.instance.Action

public class Action
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>
         <element name="duration" type="{}positive_double"/>
         <element name="cost" type="{}positive_double"/>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  double cost
           
protected  double duration
           
protected  String name
           
protected  BigInteger type
           
 
Constructor Summary
Action()
           
 
Method Summary
 double getCost()
          Gets the value of the cost property.
 double getDuration()
          Gets the value of the duration property.
 String getName()
          Gets the value of the name property.
 BigInteger getType()
          Gets the value of the type property.
 void setCost(double value)
          Sets the value of the cost property.
 void setDuration(double value)
          Sets the value of the duration property.
 void setName(String value)
          Sets the value of the name 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

duration

protected double duration

cost

protected double cost

type

protected BigInteger type

name

protected String name
Constructor Detail

Action

public Action()
Method Detail

getDuration

public double getDuration()
Gets the value of the duration property.


setDuration

public void setDuration(double value)
Sets the value of the duration property.


getCost

public double getCost()
Gets the value of the cost property.


setCost

public void setCost(double value)
Sets the value of the cost property.


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

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2014 VRP-REP. All rights reserved.