public class Coefficients extends PMMLObject implements Iterable<Coefficient>, HasExtensions
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 ref="{http://www.dmg.org/PMML-4_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Coefficient" maxOccurs="unbounded"/>
</sequence>
<attribute name="numberOfCoefficients" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="absoluteValue" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="0" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Coefficients() |
Coefficients(List<Coefficient> coefficients) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Coefficients |
addCoefficients(Coefficient... coefficients) |
Coefficients |
addExtensions(Extension... extensions) |
double |
getAbsoluteValue()
Gets the value of the absoluteValue property.
|
List<Coefficient> |
getCoefficients()
Gets the value of the coefficients property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Integer |
getNumberOfCoefficients()
Gets the value of the numberOfCoefficients property.
|
boolean |
hasCoefficients() |
boolean |
hasExtensions() |
Iterator<Coefficient> |
iterator() |
Coefficients |
setAbsoluteValue(Double absoluteValue)
Sets the value of the absoluteValue property.
|
Coefficients |
setNumberOfCoefficients(Integer numberOfCoefficients)
Sets the value of the numberOfCoefficients property.
|
getLocator, setLocatorpublic Coefficients()
public Coefficients(List<Coefficient> coefficients)
public Integer getNumberOfCoefficients()
Stringpublic Coefficients setNumberOfCoefficients(Integer numberOfCoefficients)
numberOfCoefficients - allowed object is
Stringpublic double getAbsoluteValue()
Doublepublic Coefficients setAbsoluteValue(Double absoluteValue)
absoluteValue - allowed object is
Doublepublic List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic List<Coefficient> getCoefficients()
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 coefficients property.
For example, to add a new item, do as follows:
getCoefficients().add(newItem);
Objects of the following type(s) are allowed in the list
Coefficient
public Iterator<Coefficient> iterator()
iterator in interface Iterable<Coefficient>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic Coefficients addExtensions(Extension... extensions)
public boolean hasCoefficients()
public Coefficients addCoefficients(Coefficient... coefficients)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.