public class Characteristics extends PMMLObject implements java.lang.Iterable<Characteristic>, 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}Characteristic" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Characteristic> |
characteristics |
protected java.util.List<Extension> |
extensions |
| Constructor and Description |
|---|
Characteristics() |
Characteristics(java.util.List<Characteristic> characteristics) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<Characteristic> |
getCharacteristics()
Gets the value of the characteristics property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
boolean |
hasCharacteristics() |
boolean |
hasExtensions() |
java.util.Iterator<Characteristic> |
iterator() |
Characteristics |
withCharacteristics(Characteristic... values) |
Characteristics |
withCharacteristics(java.util.Collection<Characteristic> values) |
Characteristics |
withExtensions(java.util.Collection<Extension> values) |
Characteristics |
withExtensions(Extension... values) |
getLocator, setLocatorprotected java.util.List<Extension> extensions
protected java.util.List<Characteristic> characteristics
public Characteristics()
public Characteristics(java.util.List<Characteristic> characteristics)
public 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<Characteristic> getCharacteristics()
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 characteristics property.
For example, to add a new item, do as follows:
getCharacteristics().add(newItem);
Objects of the following type(s) are allowed in the list
Characteristic
public Characteristics withExtensions(Extension... values)
public Characteristics withExtensions(java.util.Collection<Extension> values)
public Characteristics withCharacteristics(Characteristic... values)
public Characteristics withCharacteristics(java.util.Collection<Characteristic> values)
public java.util.Iterator<Characteristic> iterator()
iterator in interface java.lang.Iterable<Characteristic>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasCharacteristics()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.