public class SequenceRule extends Entity implements HasId
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>
| Modifier and Type | Field and Description |
|---|---|
protected double |
confidence |
protected java.util.List<PMMLObject> |
content |
protected java.lang.String |
id |
protected java.lang.Double |
lift |
protected java.lang.Integer |
numberOfSets |
protected java.lang.Integer |
occurrence |
protected double |
support |
| Constructor and Description |
|---|
SequenceRule() |
SequenceRule(java.lang.String id,
java.lang.Integer numberOfSets,
java.lang.Integer occurrence,
double support,
double confidence) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
double |
getConfidence()
Gets the value of the confidence property.
|
java.util.List<PMMLObject> |
getContent()
Gets the rest of the content model.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.Double |
getLift()
Gets the value of the lift property.
|
java.lang.Integer |
getNumberOfSets()
Gets the value of the numberOfSets property.
|
java.lang.Integer |
getOccurrence()
Gets the value of the occurrence property.
|
double |
getSupport()
Gets the value of the support property.
|
boolean |
hasContent() |
void |
setConfidence(double value)
Sets the value of the confidence property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setLift(java.lang.Double value)
Sets the value of the lift property.
|
void |
setNumberOfSets(java.lang.Integer value)
Sets the value of the numberOfSets property.
|
void |
setOccurrence(java.lang.Integer value)
Sets the value of the occurrence property.
|
void |
setSupport(double value)
Sets the value of the support property.
|
SequenceRule |
withConfidence(double value) |
SequenceRule |
withContent(java.util.Collection<PMMLObject> values) |
SequenceRule |
withContent(PMMLObject... values) |
SequenceRule |
withId(java.lang.String value) |
SequenceRule |
withLift(java.lang.Double value) |
SequenceRule |
withNumberOfSets(java.lang.Integer value) |
SequenceRule |
withOccurrence(java.lang.Integer value) |
SequenceRule |
withSupport(double value) |
getLocator, setLocatorprotected java.lang.String id
protected java.lang.Integer numberOfSets
protected java.lang.Integer occurrence
protected double support
protected double confidence
protected java.lang.Double lift
protected java.util.List<PMMLObject> content
public SequenceRule()
public SequenceRule(java.lang.String id,
java.lang.Integer numberOfSets,
java.lang.Integer occurrence,
double support,
double confidence)
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.Integer getNumberOfSets()
Stringpublic void setNumberOfSets(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getOccurrence()
Stringpublic void setOccurrence(java.lang.Integer value)
value - allowed object is
Stringpublic double getSupport()
public void setSupport(double value)
public double getConfidence()
public void setConfidence(double value)
public java.lang.Double getLift()
Doublepublic void setLift(java.lang.Double value)
value - allowed object is
Doublepublic java.util.List<PMMLObject> 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 2641 of file:/home/vfed/Workspace/jpmml-model/target/checkout/pmml-model/target/transformed-schema/pmml.xsd line 2639 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
Extension
Time
AntecedentSequence
ConsequentSequence
Delimiter
public SequenceRule withId(java.lang.String value)
public SequenceRule withNumberOfSets(java.lang.Integer value)
public SequenceRule withOccurrence(java.lang.Integer value)
public SequenceRule withSupport(double value)
public SequenceRule withConfidence(double value)
public SequenceRule withLift(java.lang.Double value)
public SequenceRule withContent(PMMLObject... values)
public SequenceRule withContent(java.util.Collection<PMMLObject> values)
public boolean hasContent()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.