weka.core.pmml.jaxbbindings.Attribute Maven / Gradle / Ivy
Show all versions of weka-dev Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.20 at 12:48:21 PM GMT
//
package weka.core.pmml.jaxbbindings;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Attribute element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="Attribute">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
* <group ref="{http://www.dmg.org/PMML-4_1}PREDICATE"/>
* </sequence>
* <attribute name="partialScore" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
* <attribute name="reasonCode" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"extension",
"simplePredicate",
"compoundPredicate",
"simpleSetPredicate",
"_true",
"_false"
})
@XmlRootElement(name = "Attribute")
public class Attribute {
@XmlElement(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List extension;
@XmlElement(name = "SimplePredicate", namespace = "http://www.dmg.org/PMML-4_1")
protected SimplePredicate simplePredicate;
@XmlElement(name = "CompoundPredicate", namespace = "http://www.dmg.org/PMML-4_1")
protected CompoundPredicate compoundPredicate;
@XmlElement(name = "SimpleSetPredicate", namespace = "http://www.dmg.org/PMML-4_1")
protected SimpleSetPredicate simpleSetPredicate;
@XmlElement(name = "True", namespace = "http://www.dmg.org/PMML-4_1")
protected True _true;
@XmlElement(name = "False", namespace = "http://www.dmg.org/PMML-4_1")
protected False _false;
@XmlAttribute
protected Double partialScore;
@XmlAttribute
protected String reasonCode;
/**
* Gets the value of the extension property.
*
*
* 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 extension property.
*
*
* For example, to add a new item, do as follows:
*
* getExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtension() {
if (extension == null) {
extension = new ArrayList();
}
return this.extension;
}
/**
* Gets the value of the simplePredicate property.
*
* @return
* possible object is
* {@link SimplePredicate }
*
*/
public SimplePredicate getSimplePredicate() {
return simplePredicate;
}
/**
* Sets the value of the simplePredicate property.
*
* @param value
* allowed object is
* {@link SimplePredicate }
*
*/
public void setSimplePredicate(SimplePredicate value) {
this.simplePredicate = value;
}
/**
* Gets the value of the compoundPredicate property.
*
* @return
* possible object is
* {@link CompoundPredicate }
*
*/
public CompoundPredicate getCompoundPredicate() {
return compoundPredicate;
}
/**
* Sets the value of the compoundPredicate property.
*
* @param value
* allowed object is
* {@link CompoundPredicate }
*
*/
public void setCompoundPredicate(CompoundPredicate value) {
this.compoundPredicate = value;
}
/**
* Gets the value of the simpleSetPredicate property.
*
* @return
* possible object is
* {@link SimpleSetPredicate }
*
*/
public SimpleSetPredicate getSimpleSetPredicate() {
return simpleSetPredicate;
}
/**
* Sets the value of the simpleSetPredicate property.
*
* @param value
* allowed object is
* {@link SimpleSetPredicate }
*
*/
public void setSimpleSetPredicate(SimpleSetPredicate value) {
this.simpleSetPredicate = value;
}
/**
* Gets the value of the true property.
*
* @return
* possible object is
* {@link True }
*
*/
public True getTrue() {
return _true;
}
/**
* Sets the value of the true property.
*
* @param value
* allowed object is
* {@link True }
*
*/
public void setTrue(True value) {
this._true = value;
}
/**
* Gets the value of the false property.
*
* @return
* possible object is
* {@link False }
*
*/
public False getFalse() {
return _false;
}
/**
* Sets the value of the false property.
*
* @param value
* allowed object is
* {@link False }
*
*/
public void setFalse(False value) {
this._false = value;
}
/**
* Gets the value of the partialScore property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getPartialScore() {
return partialScore;
}
/**
* Sets the value of the partialScore property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setPartialScore(Double value) {
this.partialScore = value;
}
/**
* Gets the value of the reasonCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReasonCode() {
return reasonCode;
}
/**
* Sets the value of the reasonCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReasonCode(String value) {
this.reasonCode = value;
}
}