public class Function extends Object
Java class for function complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="function">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}description" minOccurs="0"/>
<choice>
<element name="constant" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}numericValue"/>
<element name="linear">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="slope" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}numericValue"/>
<element name="intercept" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}numericValue"/>
</all>
</restriction>
</complexContent>
</complexType>
</element>
<element name="piecewiseLinear">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="segment" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="head" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}point"/>
<element name="tail" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}point"/>
</all>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="points">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="point" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}point" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</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 |
Function.Linear
Java class for anonymous complex type.
|
static class |
Function.PiecewiseLinear
Java class for anonymous complex type.
|
static class |
Function.Points
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected NumericValue |
constant |
protected Description |
description |
protected String |
id |
protected Function.Linear |
linear |
protected String |
mcdaConcept |
protected String |
name |
protected Function.PiecewiseLinear |
piecewiseLinear |
protected Function.Points |
points |
| Constructor and Description |
|---|
Function() |
| Modifier and Type | Method and Description |
|---|---|
NumericValue |
getConstant()
Gets the value of the constant property.
|
Description |
getDescription()
Gets the value of the description property.
|
String |
getId()
Gets the value of the id property.
|
Function.Linear |
getLinear()
Gets the value of the linear property.
|
String |
getMcdaConcept()
Gets the value of the mcdaConcept property.
|
String |
getName()
Gets the value of the name property.
|
Function.PiecewiseLinear |
getPiecewiseLinear()
Gets the value of the piecewiseLinear property.
|
Function.Points |
getPoints()
Gets the value of the points property.
|
void |
setConstant(NumericValue value)
Sets the value of the constant property.
|
void |
setDescription(Description value)
Sets the value of the description property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLinear(Function.Linear value)
Sets the value of the linear property.
|
void |
setMcdaConcept(String value)
Sets the value of the mcdaConcept property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPiecewiseLinear(Function.PiecewiseLinear value)
Sets the value of the piecewiseLinear property.
|
void |
setPoints(Function.Points value)
Sets the value of the points property.
|
protected Description description
protected NumericValue constant
protected Function.Linear linear
protected Function.PiecewiseLinear piecewiseLinear
protected Function.Points points
protected String id
protected String name
protected String mcdaConcept
public Description getDescription()
Descriptionpublic void setDescription(Description value)
value - allowed object is
Descriptionpublic NumericValue getConstant()
NumericValuepublic void setConstant(NumericValue value)
value - allowed object is
NumericValuepublic Function.Linear getLinear()
Function.Linearpublic void setLinear(Function.Linear value)
value - allowed object is
Function.Linearpublic Function.PiecewiseLinear getPiecewiseLinear()
Function.PiecewiseLinearpublic void setPiecewiseLinear(Function.PiecewiseLinear value)
value - allowed object is
Function.PiecewiseLinearpublic Function.Points getPoints()
Function.Pointspublic void setPoints(Function.Points value)
value - allowed object is
Function.Pointspublic 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.