public static class CategoriesLinearConstraints.Constraint 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">
<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="categoryID" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="categoriesSetID" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="categoriesSet" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}categoriesSet"/>
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
CategoriesLinearConstraints.Constraint.Element
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
constraintName |
protected Integer |
constraintNumber |
protected List<CategoriesLinearConstraints.Constraint.Element> |
element |
protected String |
id |
protected String |
mcdaConcept |
protected String |
name |
protected String |
operator |
protected NumericValue |
rhs |
protected List<Value> |
value |
protected List<Values> |
values |
| Constructor and Description |
|---|
Constraint() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstraintName()
Gets the value of the constraintName property.
|
Integer |
getConstraintNumber()
Gets the value of the constraintNumber property.
|
List<CategoriesLinearConstraints.Constraint.Element> |
getElement()
Gets the value of the element 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.
|
NumericValue |
getRhs()
Gets the value of the rhs property.
|
List<Value> |
getValue()
Gets the value of the value property.
|
List<Values> |
getValues()
Gets the value of the values property.
|
void |
setConstraintName(String value)
Sets the value of the constraintName property.
|
void |
setConstraintNumber(Integer value)
Sets the value of the constraintNumber 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.
|
void |
setRhs(NumericValue value)
Sets the value of the rhs property.
|
protected Integer constraintNumber
protected String constraintName
protected List<CategoriesLinearConstraints.Constraint.Element> element
protected NumericValue rhs
protected String operator
protected String id
protected String name
protected String mcdaConcept
public Integer getConstraintNumber()
Integerpublic void setConstraintNumber(Integer value)
value - allowed object is
Integerpublic String getConstraintName()
Stringpublic void setConstraintName(String value)
value - allowed object is
Stringpublic List<CategoriesLinearConstraints.Constraint.Element> getElement()
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 element property.
For example, to add a new item, do as follows:
getElement().add(newItem);
Objects of the following type(s) are allowed in the list
CategoriesLinearConstraints.Constraint.Element
public NumericValue getRhs()
NumericValuepublic void setRhs(NumericValue value)
value - allowed object is
NumericValuepublic String getOperator()
Stringpublic void setOperator(String value)
value - allowed object is
Stringpublic List<Value> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
Value
public List<Values> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
Values
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.