org.dmg.pmml.pmml_4_1.descr
Class AssociationRule

java.lang.Object
  extended by org.dmg.pmml.pmml_4_1.descr.AssociationRule
All Implemented Interfaces:
Serializable

public class AssociationRule
extends Object
implements Serializable

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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="antecedent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="consequent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
       <attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
       <attribute name="lift" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="leverage" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="affinity" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BigDecimal affinity
           
protected  String antecedent
           
protected  BigDecimal confidence
           
protected  String consequent
           
protected  List<Extension> extensions
           
protected  String id
           
protected  Float leverage
           
protected  Float lift
           
protected  BigDecimal support
           
 
Constructor Summary
AssociationRule()
           
 
Method Summary
 BigDecimal getAffinity()
          Gets the value of the affinity property.
 String getAntecedent()
          Gets the value of the antecedent property.
 BigDecimal getConfidence()
          Gets the value of the confidence property.
 String getConsequent()
          Gets the value of the consequent property.
 List<Extension> getExtensions()
          Gets the value of the extensions property.
 String getId()
          Gets the value of the id property.
 Float getLeverage()
          Gets the value of the leverage property.
 Float getLift()
          Gets the value of the lift property.
 BigDecimal getSupport()
          Gets the value of the support property.
 void setAffinity(BigDecimal value)
          Sets the value of the affinity property.
 void setAntecedent(String value)
          Sets the value of the antecedent property.
 void setConfidence(BigDecimal value)
          Sets the value of the confidence property.
 void setConsequent(String value)
          Sets the value of the consequent property.
 void setId(String value)
          Sets the value of the id property.
 void setLeverage(Float value)
          Sets the value of the leverage property.
 void setLift(Float value)
          Sets the value of the lift property.
 void setSupport(BigDecimal value)
          Sets the value of the support property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected List<Extension> extensions

antecedent

protected String antecedent

consequent

protected String consequent

support

protected BigDecimal support

confidence

protected BigDecimal confidence

lift

protected Float lift

leverage

protected Float leverage

affinity

protected BigDecimal affinity

id

protected String id
Constructor Detail

AssociationRule

public AssociationRule()
Method Detail

getExtensions

public List<Extension> getExtensions()
Gets the value of the extensions 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 extensions property.

For example, to add a new item, do as follows:

    getExtensions().add(newItem);
 

Objects of the following type(s) are allowed in the list Extension


getAntecedent

public String getAntecedent()
Gets the value of the antecedent property.

Returns:
possible object is String

setAntecedent

public void setAntecedent(String value)
Sets the value of the antecedent property.

Parameters:
value - allowed object is String

getConsequent

public String getConsequent()
Gets the value of the consequent property.

Returns:
possible object is String

setConsequent

public void setConsequent(String value)
Sets the value of the consequent property.

Parameters:
value - allowed object is String

getSupport

public BigDecimal getSupport()
Gets the value of the support property.

Returns:
possible object is BigDecimal

setSupport

public void setSupport(BigDecimal value)
Sets the value of the support property.

Parameters:
value - allowed object is BigDecimal

getConfidence

public BigDecimal getConfidence()
Gets the value of the confidence property.

Returns:
possible object is BigDecimal

setConfidence

public void setConfidence(BigDecimal value)
Sets the value of the confidence property.

Parameters:
value - allowed object is BigDecimal

getLift

public Float getLift()
Gets the value of the lift property.

Returns:
possible object is Float

setLift

public void setLift(Float value)
Sets the value of the lift property.

Parameters:
value - allowed object is Float

getLeverage

public Float getLeverage()
Gets the value of the leverage property.

Returns:
possible object is Float

setLeverage

public void setLeverage(Float value)
Sets the value of the leverage property.

Parameters:
value - allowed object is Float

getAffinity

public BigDecimal getAffinity()
Gets the value of the affinity property.

Returns:
possible object is BigDecimal

setAffinity

public void setAffinity(BigDecimal value)
Sets the value of the affinity property.

Parameters:
value - allowed object is BigDecimal

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.