Class SequenceRule
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.SequenceRule
-
public class SequenceRule extends java.lang.ObjectJava 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>
-
-
Constructor Summary
Constructors Constructor Description SequenceRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetConfidence()Gets the value of the confidence property.java.util.List<java.lang.Object>getContent()Gets the rest of the content model.java.lang.StringgetId()Gets the value of the id property.java.lang.DoublegetLift()Gets the value of the lift property.java.math.BigIntegergetNumberOfSets()Gets the value of the numberOfSets property.java.math.BigIntegergetOccurrence()Gets the value of the occurrence property.doublegetSupport()Gets the value of the support property.voidsetConfidence(double value)Sets the value of the confidence property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetLift(java.lang.Double value)Sets the value of the lift property.voidsetNumberOfSets(java.math.BigInteger value)Sets the value of the numberOfSets property.voidsetOccurrence(java.math.BigInteger value)Sets the value of the occurrence property.voidsetSupport(double value)Sets the value of the support property.
-
-
-
Method Detail
-
getContent
public java.util.List<java.lang.Object> getContent()
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
setmethod 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
ConsequentSequenceDelimiterTimeAntecedentSequenceExtension
-
getConfidence
public double getConfidence()
Gets the value of the confidence property.
-
setConfidence
public void setConfidence(double value)
Sets the value of the confidence property.
-
getId
public java.lang.String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getLift
public java.lang.Double getLift()
Gets the value of the lift property.- Returns:
- possible object is
Double
-
setLift
public void setLift(java.lang.Double value)
Sets the value of the lift property.- Parameters:
value- allowed object isDouble
-
getNumberOfSets
public java.math.BigInteger getNumberOfSets()
Gets the value of the numberOfSets property.- Returns:
- possible object is
BigInteger
-
setNumberOfSets
public void setNumberOfSets(java.math.BigInteger value)
Sets the value of the numberOfSets property.- Parameters:
value- allowed object isBigInteger
-
getOccurrence
public java.math.BigInteger getOccurrence()
Gets the value of the occurrence property.- Returns:
- possible object is
BigInteger
-
setOccurrence
public void setOccurrence(java.math.BigInteger value)
Sets the value of the occurrence property.- Parameters:
value- allowed object isBigInteger
-
getSupport
public double getSupport()
Gets the value of the support property.
-
setSupport
public void setSupport(double value)
Sets the value of the support property.
-
-