public class Coefficients extends PMMLObject implements java.lang.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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
absoluteValue |
protected java.util.List<Coefficient> |
coefficients |
protected java.util.List<Extension> |
extensions |
protected java.lang.Integer |
numberOfCoefficients |
| Constructor and Description |
|---|
Coefficients() |
Coefficients(java.util.List<Coefficient> coefficients) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
double |
getAbsoluteValue()
Gets the value of the absoluteValue property.
|
java.util.List<Coefficient> |
getCoefficients()
Gets the value of the coefficients property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.Integer |
getNumberOfCoefficients()
Gets the value of the numberOfCoefficients property.
|
boolean |
hasCoefficients() |
boolean |
hasExtensions() |
java.util.Iterator<Coefficient> |
iterator() |
void |
setAbsoluteValue(java.lang.Double value)
Sets the value of the absoluteValue property.
|
void |
setNumberOfCoefficients(java.lang.Integer value)
Sets the value of the numberOfCoefficients property.
|
Coefficients |
withAbsoluteValue(java.lang.Double value) |
Coefficients |
withCoefficients(Coefficient... values) |
Coefficients |
withCoefficients(java.util.Collection<Coefficient> values) |
Coefficients |
withExtensions(java.util.Collection<Extension> values) |
Coefficients |
withExtensions(Extension... values) |
Coefficients |
withNumberOfCoefficients(java.lang.Integer value) |
getLocator, setLocatorprotected java.lang.Integer numberOfCoefficients
protected java.lang.Double absoluteValue
protected java.util.List<Extension> extensions
protected java.util.List<Coefficient> coefficients
public Coefficients()
public Coefficients(java.util.List<Coefficient> coefficients)
public java.lang.Integer getNumberOfCoefficients()
Stringpublic void setNumberOfCoefficients(java.lang.Integer value)
value - allowed object is
Stringpublic double getAbsoluteValue()
Doublepublic void setAbsoluteValue(java.lang.Double value)
value - allowed object is
Doublepublic java.util.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 java.util.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 Coefficients withNumberOfCoefficients(java.lang.Integer value)
public Coefficients withAbsoluteValue(java.lang.Double value)
public Coefficients withExtensions(Extension... values)
public Coefficients withExtensions(java.util.Collection<Extension> values)
public Coefficients withCoefficients(Coefficient... values)
public Coefficients withCoefficients(java.util.Collection<Coefficient> values)
public java.util.Iterator<Coefficient> iterator()
iterator in interface java.lang.Iterable<Coefficient>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasCoefficients()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.