public class Decisions extends PMMLObject implements java.lang.Iterable<Decision>, 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}Decision" maxOccurs="unbounded"/>
</sequence>
<attribute name="businessProblem" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
businessProblem |
protected java.util.List<Decision> |
decisions |
protected java.lang.String |
description |
protected java.util.List<Extension> |
extensions |
| Constructor and Description |
|---|
Decisions() |
Decisions(java.util.List<Decision> decisions) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getBusinessProblem()
Gets the value of the businessProblem property.
|
java.util.List<Decision> |
getDecisions()
Gets the value of the decisions property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
boolean |
hasDecisions() |
boolean |
hasExtensions() |
java.util.Iterator<Decision> |
iterator() |
void |
setBusinessProblem(java.lang.String value)
Sets the value of the businessProblem property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
Decisions |
withBusinessProblem(java.lang.String value) |
Decisions |
withDecisions(java.util.Collection<Decision> values) |
Decisions |
withDecisions(Decision... values) |
Decisions |
withDescription(java.lang.String value) |
Decisions |
withExtensions(java.util.Collection<Extension> values) |
Decisions |
withExtensions(Extension... values) |
getLocator, setLocatorprotected java.lang.String businessProblem
protected java.lang.String description
protected java.util.List<Extension> extensions
protected java.util.List<Decision> decisions
public Decisions()
public Decisions(java.util.List<Decision> decisions)
public java.lang.String getBusinessProblem()
Stringpublic void setBusinessProblem(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic 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<Decision> getDecisions()
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 decisions property.
For example, to add a new item, do as follows:
getDecisions().add(newItem);
Objects of the following type(s) are allowed in the list
Decision
public Decisions withBusinessProblem(java.lang.String value)
public Decisions withDescription(java.lang.String value)
public java.util.Iterator<Decision> iterator()
iterator in interface java.lang.Iterable<Decision>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasDecisions()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.