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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
protected Boolean |
splitable |
protected Integer |
type |
| Constructor and Description |
|---|
Demand() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<Serializable> content
protected Boolean splitable
protected Integer type
public List<Serializable> getContent()
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
public boolean isSplitable()
Booleanpublic void setSplitable(Boolean value)
value - allowed object is
Booleanpublic Integer getType()
IntegerCopyright © 2014 VRP-REP. All rights reserved.