public class Alternative extends Object
Java class for alternative complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="alternative">
<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="type" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}alternativeType" minOccurs="0"/>
<element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="reference" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</choice>
<attGroup ref="{http://www.decision-deck.org/2019/XMCDA-2.2.3}defaultAttributesIDRequired"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<?>> |
descriptionOrTypeOrActive |
protected String |
id |
protected String |
mcdaConcept |
protected String |
name |
| Constructor and Description |
|---|
Alternative() |
| Modifier and Type | Method and Description |
|---|---|
List<JAXBElement<?>> |
getDescriptionOrTypeOrActive()
Gets the value of the descriptionOrTypeOrActive 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 List<JAXBElement<?>> descriptionOrTypeOrActive
protected String id
protected String name
protected String mcdaConcept
public List<JAXBElement<?>> getDescriptionOrTypeOrActive()
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 descriptionOrTypeOrActive property.
For example, to add a new item, do as follows:
getDescriptionOrTypeOrActive().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<AlternativeType>
JAXBElement<Description>
JAXBElement<Boolean>
JAXBElement<Boolean>
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.