public class ChildParent extends PMMLObject implements com.sun.xml.bind.Locatable, 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 String |
childField |
protected List<Extension> |
extensions |
protected List<FieldColumnPair> |
fieldColumnPairs |
protected InlineTable |
inlineTable |
protected Locator |
locator |
protected String |
parentField |
protected String |
parentLevelField |
protected ChildParent.Recursive |
recursive |
protected TableLocator |
tableLocator |
| Constructor and Description |
|---|
ChildParent() |
ChildParent(String childField,
String parentField) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
void |
setChildField(String value)
Sets the value of the childField property.
|
void |
setInlineTable(InlineTable value)
Sets the value of the inlineTable property.
|
void |
setParentField(String value)
Sets the value of the parentField property.
|
void |
setParentLevelField(String value)
Sets the value of the parentLevelField property.
|
void |
setRecursive(ChildParent.Recursive value)
Sets the value of the recursive property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTableLocator(TableLocator value)
Sets the value of the tableLocator property.
|
Locator |
sourceLocation() |
ChildParent |
withChildField(String value) |
ChildParent |
withExtensions(Collection<Extension> values) |
ChildParent |
withExtensions(Extension... values) |
ChildParent |
withFieldColumnPairs(Collection<FieldColumnPair> values) |
ChildParent |
withFieldColumnPairs(FieldColumnPair... values) |
ChildParent |
withInlineTable(InlineTable value) |
ChildParent |
withParentField(String value) |
ChildParent |
withParentLevelField(String value) |
ChildParent |
withRecursive(ChildParent.Recursive value) |
ChildParent |
withTableLocator(TableLocator value) |
protected List<FieldColumnPair> fieldColumnPairs
protected TableLocator tableLocator
protected InlineTable inlineTable
protected String childField
protected String parentField
protected String parentLevelField
protected ChildParent.Recursive recursive
protected Locator locator
public 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 void setTableLocator(TableLocator value)
value - allowed object is
TableLocatorpublic InlineTable getInlineTable()
InlineTablepublic void setInlineTable(InlineTable value)
value - allowed object is
InlineTablepublic String getChildField()
Stringpublic void setChildField(String value)
value - allowed object is
Stringpublic String getParentField()
Stringpublic void setParentField(String value)
value - allowed object is
Stringpublic String getParentLevelField()
Stringpublic void setParentLevelField(String value)
value - allowed object is
Stringpublic ChildParent.Recursive getRecursive()
ChildParent.Recursivepublic void setRecursive(ChildParent.Recursive value)
value - allowed object is
ChildParent.Recursivepublic ChildParent withExtensions(Extension... values)
public ChildParent withExtensions(Collection<Extension> values)
public ChildParent withFieldColumnPairs(FieldColumnPair... values)
public ChildParent withFieldColumnPairs(Collection<FieldColumnPair> values)
public ChildParent withTableLocator(TableLocator value)
public ChildParent withInlineTable(InlineTable value)
public ChildParent withChildField(String value)
public ChildParent withParentField(String value)
public ChildParent withParentLevelField(String value)
public ChildParent withRecursive(ChildParent.Recursive value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.