public class Alternatives extends Object
Java class for alternatives complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="alternatives">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="description" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}description" minOccurs="0"/>
<element name="alternative" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}alternative" maxOccurs="unbounded"/>
</choice>
<attGroup ref="{http://www.decision-deck.org/2019/XMCDA-2.2.3}defaultAttributes"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
descriptionOrAlternative |
protected String |
id |
protected String |
mcdaConcept |
protected String |
name |
| Constructor and Description |
|---|
Alternatives() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getDescriptionOrAlternative()
Gets the value of the descriptionOrAlternative property.
|
String |
getId()
Gets the value of the id property.
|
String |
getMcdaConcept()
Gets the value of the mcdaConcept property.
|
String |
getName()
Gets the value of the name property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setMcdaConcept(String value)
Sets the value of the mcdaConcept property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected String id
protected String name
protected String mcdaConcept
public List<Object> getDescriptionOrAlternative()
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 descriptionOrAlternative property.
For example, to add a new item, do as follows:
getDescriptionOrAlternative().add(newItem);
Objects of the following type(s) are allowed in the list
Description
Alternative
public void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getMcdaConcept()
StringCopyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.