public class SequenceRule extends Entity
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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}AntecedentSequence"/>
<element ref="{http://www.dmg.org/PMML-4_3}Delimiter"/>
<element ref="{http://www.dmg.org/PMML-4_3}Time" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ConsequentSequence"/>
<element ref="{http://www.dmg.org/PMML-4_3}Time" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_3}ELEMENT-ID" />
<attribute name="numberOfSets" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="occurrence" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="lift" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SequenceRule() |
SequenceRule(String id,
int numberOfSets,
int occurrence,
double support,
double confidence) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
SequenceRule |
addContent(Object... content) |
double |
getConfidence()
Gets the value of the confidence property.
|
List<Object> |
getContent()
Gets the rest of the content model.
|
String |
getId()
Gets the value of the id property.
|
Double |
getLift()
Gets the value of the lift property.
|
int |
getNumberOfSets()
Gets the value of the numberOfSets property.
|
int |
getOccurrence()
Gets the value of the occurrence property.
|
double |
getSupport()
Gets the value of the support property.
|
boolean |
hasContent() |
SequenceRule |
setConfidence(double confidence)
Sets the value of the confidence property.
|
SequenceRule |
setId(String id)
Sets the value of the id property.
|
SequenceRule |
setLift(Double lift)
Sets the value of the lift property.
|
SequenceRule |
setNumberOfSets(int numberOfSets)
Sets the value of the numberOfSets property.
|
SequenceRule |
setOccurrence(int occurrence)
Sets the value of the occurrence property.
|
SequenceRule |
setSupport(double support)
Sets the value of the support property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic SequenceRule()
public SequenceRule(String id, int numberOfSets, int occurrence, double support, double confidence)
public String getId()
public SequenceRule setId(String id)
public int getNumberOfSets()
public SequenceRule setNumberOfSets(int numberOfSets)
public int getOccurrence()
public SequenceRule setOccurrence(int occurrence)
public double getSupport()
public SequenceRule setSupport(double support)
public double getConfidence()
public SequenceRule setConfidence(double confidence)
public Double getLift()
Doublepublic SequenceRule setLift(Double lift)
lift - allowed object is
Doublepublic List<Object> getContent()
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 2646 of file:/home/vfed/Workspace/jpmml-model/target/checkout/pmml-model/target/transformed-jaxb-schema/pmml.xsd line 2644 of file:/home/vfed/Workspace/jpmml-model/target/checkout/pmml-model/target/transformed-jaxb-schema/pmml.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
Delimiter
Element
Object
AntecedentSequence
ConsequentSequence
Extension
Time
public boolean hasContent()
public SequenceRule addContent(Object... content)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.