public class CriteriaLinearConstraints extends Object
Java class for criteriaLinearConstraints complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="criteriaLinearConstraints">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="constraint" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="constraintNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="element" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="criterionID" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="criteriaSetID" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="criteriaSet" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}criteriaSet"/>
<element name="variable" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}variable"/>
</choice>
<element name="coefficient" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}numericValue"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="rhs" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}numericValue"/>
<element name="operator" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="geq"/>
<enumeration value="eq"/>
<enumeration value="leq"/>
</restriction>
</simpleType>
</element>
<element name="value" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}value" maxOccurs="unbounded" minOccurs="0"/>
<element name="values" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}values" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.decision-deck.org/2019/XMCDA-2.2.3}defaultAttributes"/>
</restriction>
</complexContent>
</complexType>
</element>
<element name="operator" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="geq"/>
<enumeration value="eq"/>
<enumeration value="leq"/>
</restriction>
</simpleType>
</element>
</sequence>
<attGroup ref="{http://www.decision-deck.org/2019/XMCDA-2.2.3}defaultAttributes"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CriteriaLinearConstraints.Constraint
A linear constraint related to criteria.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<CriteriaLinearConstraints.Constraint> |
constraint |
protected String |
id |
protected String |
mcdaConcept |
protected String |
name |
protected String |
operator |
| Constructor and Description |
|---|
CriteriaLinearConstraints() |
| Modifier and Type | Method and Description |
|---|---|
List<CriteriaLinearConstraints.Constraint> |
getConstraint()
Gets the value of the constraint 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.
|
String |
getOperator()
Gets the value of the operator 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.
|
void |
setOperator(String value)
Sets the value of the operator property.
|
protected List<CriteriaLinearConstraints.Constraint> constraint
protected String operator
protected String id
protected String name
protected String mcdaConcept
public List<CriteriaLinearConstraints.Constraint> getConstraint()
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 constraint property.
For example, to add a new item, do as follows:
getConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
CriteriaLinearConstraints.Constraint
public String getOperator()
Stringpublic void setOperator(String value)
value - allowed object is
Stringpublic 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.