public class Taxonomy 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}ChildParent" maxOccurs="unbounded"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ChildParent> |
childParents |
protected java.util.List<Extension> |
extensions |
protected java.lang.String |
name |
| Constructor and Description |
|---|
Taxonomy() |
Taxonomy(java.lang.String name,
java.util.List<ChildParent> childParents) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<ChildParent> |
getChildParents()
Gets the value of the childParents property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
boolean |
hasChildParents() |
boolean |
hasExtensions() |
void |
setName(java.lang.String value)
Sets the value of the name property.
|
Taxonomy |
withChildParents(ChildParent... values) |
Taxonomy |
withChildParents(java.util.Collection<ChildParent> values) |
Taxonomy |
withExtensions(java.util.Collection<Extension> values) |
Taxonomy |
withExtensions(Extension... values) |
Taxonomy |
withName(java.lang.String value) |
getLocator, setLocatorprotected java.lang.String name
protected java.util.List<Extension> extensions
protected java.util.List<ChildParent> childParents
public Taxonomy()
public Taxonomy(java.lang.String name,
java.util.List<ChildParent> childParents)
public java.lang.String getName()
Stringpublic void setName(java.lang.String 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<ChildParent> getChildParents()
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 childParents property.
For example, to add a new item, do as follows:
getChildParents().add(newItem);
Objects of the following type(s) are allowed in the list
ChildParent
public Taxonomy withName(java.lang.String value)
public Taxonomy withChildParents(ChildParent... values)
public Taxonomy withChildParents(java.util.Collection<ChildParent> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasChildParents()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.