public class Itemset extends PMMLObject implements 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 java.util.List<Extension> |
extensions |
protected java.lang.String |
id |
protected java.util.List<ItemRef> |
itemRefs |
protected java.lang.Integer |
numberOfItems |
protected java.lang.Double |
support |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<ItemRef> |
getItemRefs()
Gets the value of the itemRefs property.
|
java.lang.Integer |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
java.lang.Double |
getSupport()
Gets the value of the support property.
|
boolean |
hasExtensions() |
boolean |
hasItemRefs() |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setNumberOfItems(java.lang.Integer value)
Sets the value of the numberOfItems property.
|
void |
setSupport(java.lang.Double value)
Sets the value of the support property.
|
Itemset |
withExtensions(java.util.Collection<Extension> values) |
Itemset |
withExtensions(Extension... values) |
Itemset |
withId(java.lang.String value) |
Itemset |
withItemRefs(java.util.Collection<ItemRef> values) |
Itemset |
withItemRefs(ItemRef... values) |
Itemset |
withNumberOfItems(java.lang.Integer value) |
Itemset |
withSupport(java.lang.Double value) |
getLocator, setLocatorprotected java.lang.String id
protected java.lang.Double support
protected java.lang.Integer numberOfItems
protected java.util.List<Extension> extensions
protected java.util.List<ItemRef> itemRefs
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.Double getSupport()
Stringpublic void setSupport(java.lang.Double value)
value - allowed object is
Stringpublic java.lang.Integer getNumberOfItems()
Stringpublic void setNumberOfItems(java.lang.Integer value)
value - allowed object is
Stringpublic java.util.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 java.util.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 Itemset withId(java.lang.String value)
public Itemset withSupport(java.lang.Double value)
public Itemset withNumberOfItems(java.lang.Integer value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasItemRefs()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.