public class Itemset extends PMMLObject implements com.sun.xml.bind.Locatable, HasExtensions, 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}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_2}PROB-NUMBER" />
<attribute name="numberOfItems" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extensions |
protected String |
id |
protected List<ItemRef> |
itemRefs |
protected Locator |
locator |
protected Integer |
numberOfItems |
protected Double |
support |
| Constructor and Description |
|---|
Itemset()
Deprecated.
|
Itemset(String id) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
Integer |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
Double |
getSupport()
Gets the value of the support property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setNumberOfItems(Integer value)
Sets the value of the numberOfItems property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setSupport(Double value)
Sets the value of the support property.
|
Locator |
sourceLocation() |
Itemset |
withExtensions(Collection<Extension> values) |
Itemset |
withExtensions(Extension... values) |
Itemset |
withId(String value) |
Itemset |
withItemRefs(Collection<ItemRef> values) |
Itemset |
withItemRefs(ItemRef... values) |
Itemset |
withNumberOfItems(Integer value) |
Itemset |
withSupport(Double value) |
protected String id
protected Double support
protected Integer numberOfItems
protected Locator locator
@Deprecated public Itemset()
public Itemset(String id)
public 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 getId()
public void setId(String value)
public Double getSupport()
Stringpublic void setSupport(Double value)
value - allowed object is
Stringpublic Integer getNumberOfItems()
Stringpublic void setNumberOfItems(Integer value)
value - allowed object is
Stringpublic Itemset withExtensions(Collection<Extension> values)
public Itemset withItemRefs(Collection<ItemRef> values)
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.