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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}FieldColumnPair" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element ref="{http://www.dmg.org/PMML-4_2}TableLocator"/>
<element ref="{http://www.dmg.org/PMML-4_2}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.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
childField |
protected java.util.List<Extension> |
extensions |
protected java.util.List<FieldColumnPair> |
fieldColumnPairs |
protected InlineTable |
inlineTable |
protected java.lang.String |
parentField |
protected java.lang.String |
parentLevelField |
protected ChildParent.Recursive |
recursive |
protected TableLocator |
tableLocator |
| Constructor and Description |
|---|
ChildParent() |
ChildParent(java.lang.String childField,
java.lang.String parentField) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getChildField()
Gets the value of the childField property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.util.List<FieldColumnPair> |
getFieldColumnPairs()
Gets the value of the fieldColumnPairs property.
|
InlineTable |
getInlineTable()
Gets the value of the inlineTable property.
|
java.lang.String |
getParentField()
Gets the value of the parentField property.
|
java.lang.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() |
void |
setChildField(java.lang.String value)
Sets the value of the childField property.
|
void |
setInlineTable(InlineTable value)
Sets the value of the inlineTable property.
|
void |
setParentField(java.lang.String value)
Sets the value of the parentField property.
|
void |
setParentLevelField(java.lang.String value)
Sets the value of the parentLevelField property.
|
void |
setRecursive(ChildParent.Recursive value)
Sets the value of the recursive property.
|
void |
setTableLocator(TableLocator value)
Sets the value of the tableLocator property.
|
ChildParent |
withChildField(java.lang.String value) |
ChildParent |
withExtensions(java.util.Collection<Extension> values) |
ChildParent |
withExtensions(Extension... values) |
ChildParent |
withFieldColumnPairs(java.util.Collection<FieldColumnPair> values) |
ChildParent |
withFieldColumnPairs(FieldColumnPair... values) |
ChildParent |
withInlineTable(InlineTable value) |
ChildParent |
withParentField(java.lang.String value) |
ChildParent |
withParentLevelField(java.lang.String value) |
ChildParent |
withRecursive(ChildParent.Recursive value) |
ChildParent |
withTableLocator(TableLocator value) |
getLocator, setLocatorprotected java.lang.String childField
protected java.lang.String parentField
protected java.lang.String parentLevelField
protected ChildParent.Recursive recursive
protected java.util.List<Extension> extensions
protected java.util.List<FieldColumnPair> fieldColumnPairs
protected TableLocator tableLocator
protected InlineTable inlineTable
public ChildParent()
public ChildParent(java.lang.String childField,
java.lang.String parentField)
public java.lang.String getChildField()
Stringpublic void setChildField(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getParentField()
Stringpublic void setParentField(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getParentLevelField()
Stringpublic void setParentLevelField(java.lang.String value)
value - allowed object is
Stringpublic ChildParent.Recursive getRecursive()
ChildParent.Recursivepublic void setRecursive(ChildParent.Recursive value)
value - allowed object is
ChildParent.Recursivepublic 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<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 void setTableLocator(TableLocator value)
value - allowed object is
TableLocatorpublic InlineTable getInlineTable()
InlineTablepublic void setInlineTable(InlineTable value)
value - allowed object is
InlineTablepublic ChildParent withChildField(java.lang.String value)
public ChildParent withParentField(java.lang.String value)
public ChildParent withParentLevelField(java.lang.String value)
public ChildParent withRecursive(ChildParent.Recursive value)
public ChildParent withExtensions(Extension... values)
public ChildParent withExtensions(java.util.Collection<Extension> values)
public ChildParent withFieldColumnPairs(FieldColumnPair... values)
public ChildParent withFieldColumnPairs(java.util.Collection<FieldColumnPair> values)
public ChildParent withTableLocator(TableLocator value)
public ChildParent withInlineTable(InlineTable value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasFieldColumnPairs()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.