public class Itemset extends PMMLObject implements HasExtensions, HasId, Indexable<String>
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}ItemRef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="support" type="{http://www.dmg.org/PMML-4_3}PROB-NUMBER" />
<attribute name="numberOfItems" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Itemset |
addExtensions(Extension... extensions) |
Itemset |
addItemRefs(ItemRef... itemRefs) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
List<ItemRef> |
getItemRefs()
Gets the value of the itemRefs property.
|
String |
getKey() |
Integer |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
Double |
getSupport()
Gets the value of the support property.
|
boolean |
hasExtensions() |
boolean |
hasItemRefs() |
Itemset |
setId(String id)
Sets the value of the id property.
|
Itemset |
setNumberOfItems(Integer numberOfItems)
Sets the value of the numberOfItems property.
|
Itemset |
setSupport(Double support)
Sets the value of the support property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Itemset()
public Itemset(String id)
public String getId()
public Double getSupport()
Doublepublic Itemset setSupport(Double support)
support - allowed object is
Doublepublic Integer getNumberOfItems()
Integerpublic Itemset setNumberOfItems(Integer numberOfItems)
numberOfItems - allowed object is
Integerpublic List<Extension> getExtensions()
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
getExtensions in interface HasExtensionspublic List<ItemRef> getItemRefs()
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 itemRefs property.
For example, to add a new item, do as follows:
getItemRefs().add(newItem);
Objects of the following type(s) are allowed in the list
ItemRef
public String getKey()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasItemRefs()
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.