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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}AntecedentSequence"/>
<element ref="{http://www.dmg.org/PMML-4_2}Delimiter"/>
<element ref="{http://www.dmg.org/PMML-4_2}Time" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ConsequentSequence"/>
<element ref="{http://www.dmg.org/PMML-4_2}Time" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_2}ELEMENT-ID" />
<attribute name="numberOfSets" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="occurrence" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="lift" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SequenceRule() |
SequenceRule(String id,
Integer numberOfSets,
Integer 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.
|
Integer |
getNumberOfSets()
Gets the value of the numberOfSets property.
|
Integer |
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(Integer numberOfSets)
Sets the value of the numberOfSets property.
|
SequenceRule |
setOccurrence(Integer occurrence)
Sets the value of the occurrence property.
|
SequenceRule |
setSupport(double support)
Sets the value of the support property.
|
getLocator, setLocatorpublic String getId()
public SequenceRule setId(String id)
public Integer getNumberOfSets()
Stringpublic SequenceRule setNumberOfSets(Integer numberOfSets)
numberOfSets - allowed object is
Stringpublic Integer getOccurrence()
Stringpublic SequenceRule setOccurrence(Integer occurrence)
occurrence - allowed object is
Stringpublic 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 2710 of file:/home/vfed/Workspace/jpmml-model/target/checkout/pmml-model/target/transformed-schema/pmml.xsd line 2708 of file:/home/vfed/Workspace/jpmml-model/target/checkout/pmml-model/target/transformed-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
ConsequentSequence
Extension
Time
AntecedentSequence
Object
Delimiter
Element
public boolean hasContent()
public SequenceRule addContent(Object... content)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.