public class SequenceRule extends Entity implements com.sun.xml.bind.Locatable, 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 List<PMMLObject> |
content |
protected String |
id |
protected Double |
lift |
protected Locator |
locator |
protected Integer |
numberOfSets |
protected Integer |
occurrence |
protected double |
support |
| Constructor and Description |
|---|
SequenceRule()
Deprecated.
|
SequenceRule(String id,
Integer numberOfSets,
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.
|
List<PMMLObject> |
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.
|
void |
setConfidence(double value)
Sets the value of the confidence property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLift(Double value)
Sets the value of the lift property.
|
void |
setNumberOfSets(Integer value)
Sets the value of the numberOfSets property.
|
void |
setOccurrence(Integer value)
Sets the value of the occurrence property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setSupport(double value)
Sets the value of the support property.
|
Locator |
sourceLocation() |
SequenceRule |
withConfidence(double value) |
SequenceRule |
withContent(Collection<PMMLObject> values) |
SequenceRule |
withContent(PMMLObject... values) |
SequenceRule |
withId(String value) |
SequenceRule |
withLift(Double value) |
SequenceRule |
withNumberOfSets(Integer value) |
SequenceRule |
withOccurrence(Integer value) |
SequenceRule |
withSupport(double value) |
protected List<PMMLObject> content
protected String id
protected Integer numberOfSets
protected Integer occurrence
protected double support
protected double confidence
protected Double lift
protected Locator locator
@Deprecated public SequenceRule()
public 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 2677 of file:/P:/jpmml/jpmml-model/target/checkout/pmml-model/target/transformed-schema/pmml.xsd line 2675 of file:/P:/jpmml/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
Delimiter
Extension
ConsequentSequence
Time
AntecedentSequence
public String getId()
public void setId(String value)
public Integer getNumberOfSets()
Stringpublic void setNumberOfSets(Integer value)
value - allowed object is
Stringpublic Integer getOccurrence()
Stringpublic void setOccurrence(Integer value)
value - allowed object is
Stringpublic double getSupport()
public void setSupport(double value)
public double getConfidence()
public void setConfidence(double value)
public Double getLift()
Doublepublic void setLift(Double value)
value - allowed object is
Doublepublic SequenceRule withContent(PMMLObject... values)
public SequenceRule withContent(Collection<PMMLObject> values)
public SequenceRule withId(String value)
public SequenceRule withNumberOfSets(Integer value)
public SequenceRule withOccurrence(Integer value)
public SequenceRule withSupport(double value)
public SequenceRule withConfidence(double value)
public SequenceRule withLift(Double value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.