public class Coefficients extends PMMLObject implements Iterable<Coefficient>, com.sun.xml.bind.Locatable, 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 Double |
absoluteValue |
protected List<Coefficient> |
coefficients |
protected List<Extension> |
extensions |
protected Locator |
locator |
protected Integer |
numberOfCoefficients |
| Constructor and Description |
|---|
Coefficients() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
Iterator<Coefficient> |
iterator() |
void |
setAbsoluteValue(Double value)
Sets the value of the absoluteValue property.
|
void |
setNumberOfCoefficients(Integer value)
Sets the value of the numberOfCoefficients property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
Coefficients |
withAbsoluteValue(Double value) |
Coefficients |
withCoefficients(Coefficient... values) |
Coefficients |
withCoefficients(Collection<Coefficient> values) |
Coefficients |
withExtensions(Collection<Extension> values) |
Coefficients |
withExtensions(Extension... values) |
Coefficients |
withNumberOfCoefficients(Integer value) |
protected List<Coefficient> coefficients
protected Integer numberOfCoefficients
protected Double absoluteValue
protected Locator locator
public 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 Integer getNumberOfCoefficients()
Stringpublic void setNumberOfCoefficients(Integer value)
value - allowed object is
Stringpublic double getAbsoluteValue()
Doublepublic void setAbsoluteValue(Double value)
value - allowed object is
Doublepublic Coefficients withExtensions(Extension... values)
public Coefficients withExtensions(Collection<Extension> values)
public Coefficients withCoefficients(Coefficient... values)
public Coefficients withCoefficients(Collection<Coefficient> values)
public Coefficients withNumberOfCoefficients(Integer value)
public Coefficients withAbsoluteValue(Double value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic Iterator<Coefficient> iterator()
iterator in interface Iterable<Coefficient>public VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.