public class ChildParent 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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}FieldColumnPair" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element ref="{http://www.dmg.org/PMML-4_3}TableLocator"/>
<element ref="{http://www.dmg.org/PMML-4_3}InlineTable"/>
</choice>
</sequence>
<attribute name="childField" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="parentField" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="parentLevelField" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="isRecursive" default="no">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="no"/>
<enumeration value="yes"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ChildParent.Recursive
Java class for null.
|
| Constructor and Description |
|---|
ChildParent() |
ChildParent(String childField,
String parentField) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
ChildParent |
addExtensions(Extension... extensions) |
ChildParent |
addFieldColumnPairs(FieldColumnPair... fieldColumnPairs) |
String |
getChildField()
Gets the value of the childField property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
List<FieldColumnPair> |
getFieldColumnPairs()
Gets the value of the fieldColumnPairs property.
|
InlineTable |
getInlineTable()
Gets the value of the inlineTable property.
|
String |
getParentField()
Gets the value of the parentField property.
|
String |
getParentLevelField()
Gets the value of the parentLevelField property.
|
ChildParent.Recursive |
getRecursive()
Gets the value of the recursive property.
|
TableLocator |
getTableLocator()
Gets the value of the tableLocator property.
|
boolean |
hasExtensions() |
boolean |
hasFieldColumnPairs() |
ChildParent |
setChildField(String childField)
Sets the value of the childField property.
|
ChildParent |
setInlineTable(InlineTable inlineTable)
Sets the value of the inlineTable property.
|
ChildParent |
setParentField(String parentField)
Sets the value of the parentField property.
|
ChildParent |
setParentLevelField(String parentLevelField)
Sets the value of the parentLevelField property.
|
ChildParent |
setRecursive(ChildParent.Recursive recursive)
Sets the value of the recursive property.
|
ChildParent |
setTableLocator(TableLocator tableLocator)
Sets the value of the tableLocator property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic String getChildField()
Stringpublic ChildParent setChildField(String childField)
childField - allowed object is
Stringpublic String getParentField()
Stringpublic ChildParent setParentField(String parentField)
parentField - allowed object is
Stringpublic String getParentLevelField()
Stringpublic ChildParent setParentLevelField(String parentLevelField)
parentLevelField - allowed object is
Stringpublic ChildParent.Recursive getRecursive()
ChildParent.Recursivepublic ChildParent setRecursive(ChildParent.Recursive recursive)
recursive - allowed object is
ChildParent.Recursivepublic 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<FieldColumnPair> getFieldColumnPairs()
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 fieldColumnPairs property.
For example, to add a new item, do as follows:
getFieldColumnPairs().add(newItem);
Objects of the following type(s) are allowed in the list
FieldColumnPair
public TableLocator getTableLocator()
TableLocatorpublic ChildParent setTableLocator(TableLocator tableLocator)
tableLocator - allowed object is
TableLocatorpublic InlineTable getInlineTable()
InlineTablepublic ChildParent setInlineTable(InlineTable inlineTable)
inlineTable - allowed object is
InlineTablepublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic ChildParent addExtensions(Extension... extensions)
public boolean hasFieldColumnPairs()
public ChildParent addFieldColumnPairs(FieldColumnPair... fieldColumnPairs)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.