public class BaselineCell extends PMMLObject implements 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"/>
</sequence>
<attribute name="time" use="required" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="cumHazard" use="required" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected double |
cumHazard |
protected java.util.List<Extension> |
extensions |
protected double |
time |
| Constructor and Description |
|---|
BaselineCell() |
BaselineCell(double time,
double cumHazard) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
double |
getCumHazard()
Gets the value of the cumHazard property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
double |
getTime()
Gets the value of the time property.
|
boolean |
hasExtensions() |
void |
setCumHazard(double value)
Sets the value of the cumHazard property.
|
void |
setTime(double value)
Sets the value of the time property.
|
BaselineCell |
withCumHazard(double value) |
BaselineCell |
withExtensions(java.util.Collection<Extension> values) |
BaselineCell |
withExtensions(Extension... values) |
BaselineCell |
withTime(double value) |
getLocator, setLocatorprotected double time
protected double cumHazard
protected java.util.List<Extension> extensions
public BaselineCell()
public BaselineCell(double time,
double cumHazard)
public double getTime()
public void setTime(double value)
public double getCumHazard()
public void setCumHazard(double value)
public 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 BaselineCell withTime(double value)
public BaselineCell withCumHazard(double value)
public BaselineCell withExtensions(Extension... values)
public BaselineCell withExtensions(java.util.Collection<Extension> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.