org.vrprep.model.instance
Class Demand

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

public class Demand
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">
       <choice minOccurs="0">
         <element ref="{}random_variable"/>
       </choice>
       <attribute name="splitable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Serializable> content
           
protected  Boolean splitable
           
protected  Integer type
           
 
Constructor Summary
Demand()
           
 
Method Summary
 List<Serializable> getContent()
          Gets the value of the content property.
 Integer getType()
          Gets the value of the type property.
 boolean isSplitable()
          Gets the value of the splitable property.
 void setSplitable(Boolean value)
          Sets the value of the splitable property.
 void setType(Integer 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

content

protected List<Serializable> content

splitable

protected Boolean splitable

type

protected Integer type
Constructor Detail

Demand

public Demand()
Method Detail

getContent

public List<Serializable> getContent()
Gets the value of the content 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 content property.

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

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<RandomVariableType> String


isSplitable

public boolean isSplitable()
Gets the value of the splitable property.

Returns:
possible object is Boolean

setSplitable

public void setSplitable(Boolean value)
Sets the value of the splitable property.

Parameters:
value - allowed object is Boolean

getType

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

Returns:
possible object is Integer

setType

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

Parameters:
value - allowed object is Integer


Copyright © 2014 VRP-REP. All rights reserved.