All Downloads are FREE. Search and download functionalities are using the official Maven repository.

weka.core.pmml.jaxbbindings.SequenceRule Maven / Gradle / Ivy

//
// 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.math.BigInteger;
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.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for SequenceRule element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="SequenceRule">
 *   <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"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}AntecedentSequence"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Delimiter"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Time" minOccurs="0"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}ConsequentSequence"/>
 *           <element ref="{http://www.dmg.org/PMML-4_1}Time" minOccurs="0"/>
 *         </sequence>
 *         <attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *         <attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_1}ELEMENT-ID" />
 *         <attribute name="lift" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *         <attribute name="numberOfSets" use="required" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="occurrence" use="required" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
 *         <attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "SequenceRule") public class SequenceRule { @XmlElementRefs({ @XmlElementRef(name = "Time", namespace = "http://www.dmg.org/PMML-4_1", type = Time.class), @XmlElementRef(name = "Delimiter", namespace = "http://www.dmg.org/PMML-4_1", type = Delimiter.class), @XmlElementRef(name = "AntecedentSequence", namespace = "http://www.dmg.org/PMML-4_1", type = AntecedentSequence.class), @XmlElementRef(name = "ConsequentSequence", namespace = "http://www.dmg.org/PMML-4_1", type = ConsequentSequence.class), @XmlElementRef(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", type = Extension.class) }) protected List content; @XmlAttribute(required = true) protected double confidence; @XmlAttribute(required = true) protected String id; @XmlAttribute protected Double lift; @XmlAttribute(required = true) protected BigInteger numberOfSets; @XmlAttribute(required = true) protected BigInteger occurrence; @XmlAttribute(required = true) protected double support; /** * Gets the rest of the content model. * *

* You are getting this "catch-all" property because of the following reason: * The field name "Time" is used by two different parts of a schema. See: * line 466 of file:/home/david/workspace/weka/pmml-4-1.xsd * line 464 of file:/home/david/workspace/weka/pmml-4-1.xsd *

* To get rid of this property, apply a property customization to one * of both of the following declarations to change their names: * Gets the value of the content 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 content property. * *

* For example, to add a new item, do as follows: *

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ConsequentSequence } * {@link Delimiter } * {@link Time } * {@link AntecedentSequence } * {@link Extension } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the confidence property. * */ public double getConfidence() { return confidence; } /** * Sets the value of the confidence property. * */ public void setConfidence(double value) { this.confidence = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the lift property. * * @return * possible object is * {@link Double } * */ public Double getLift() { return lift; } /** * Sets the value of the lift property. * * @param value * allowed object is * {@link Double } * */ public void setLift(Double value) { this.lift = value; } /** * Gets the value of the numberOfSets property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfSets() { return numberOfSets; } /** * Sets the value of the numberOfSets property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfSets(BigInteger value) { this.numberOfSets = value; } /** * Gets the value of the occurrence property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getOccurrence() { return occurrence; } /** * Sets the value of the occurrence property. * * @param value * allowed object is * {@link BigInteger } * */ public void setOccurrence(BigInteger value) { this.occurrence = value; } /** * Gets the value of the support property. * */ public double getSupport() { return support; } /** * Sets the value of the support property. * */ public void setSupport(double value) { this.support = value; } }