public class PairCounts extends PMMLObject implements HasExtensions
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}TargetValueCounts"/>
</sequence>
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PairCounts() |
PairCounts(String value,
TargetValueCounts targetValueCounts) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
PairCounts |
addExtensions(Extension... extensions) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
TargetValueCounts |
getTargetValueCounts()
Gets the value of the targetValueCounts property.
|
String |
getValue()
Gets the value of the value property.
|
boolean |
hasExtensions() |
PairCounts |
setTargetValueCounts(TargetValueCounts targetValueCounts)
Sets the value of the targetValueCounts property.
|
PairCounts |
setValue(String value)
Sets the value of the value property.
|
getLocator, setLocatorpublic PairCounts()
public PairCounts(String value, TargetValueCounts targetValueCounts)
public String getValue()
Stringpublic PairCounts setValue(String value)
value - allowed object is
Stringpublic 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 TargetValueCounts getTargetValueCounts()
TargetValueCountspublic PairCounts setTargetValueCounts(TargetValueCounts targetValueCounts)
targetValueCounts - allowed object is
TargetValueCountspublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic PairCounts addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.