|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vrprep.model.instance.Demand
public class Demand
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 |
|---|
protected List<Serializable> content
protected Boolean splitable
protected Integer type
| Constructor Detail |
|---|
public Demand()
| Method Detail |
|---|
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()
Integerpublic void setType(Integer value)
value - allowed object is
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||