public class Characteristic 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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Attribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="name" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
<attribute name="reasonCode" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="baselineScore" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Attribute> |
attributes |
protected Double |
baselineScore |
protected List<Extension> |
extensions |
protected Locator |
locator |
protected FieldName |
name |
protected String |
reasonCode |
| Constructor and Description |
|---|
Characteristic() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
List<Attribute> |
getAttributes()
Gets the value of the attributes property.
|
Double |
getBaselineScore()
Gets the value of the baselineScore property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
getName()
Gets the value of the name property.
|
String |
getReasonCode()
Gets the value of the reasonCode property.
|
void |
setBaselineScore(Double value)
Sets the value of the baselineScore property.
|
void |
setName(FieldName value)
Sets the value of the name property.
|
void |
setReasonCode(String value)
Sets the value of the reasonCode property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
Characteristic |
withAttributes(Attribute... values) |
Characteristic |
withAttributes(Collection<Attribute> values) |
Characteristic |
withBaselineScore(Double value) |
Characteristic |
withExtensions(Collection<Extension> values) |
Characteristic |
withExtensions(Extension... values) |
Characteristic |
withName(FieldName value) |
Characteristic |
withReasonCode(String value) |
protected FieldName name
protected String reasonCode
protected Double baselineScore
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<Attribute> getAttributes()
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 attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
public FieldName getName()
Stringpublic void setName(FieldName value)
value - allowed object is
Stringpublic String getReasonCode()
Stringpublic void setReasonCode(String value)
value - allowed object is
Stringpublic Double getBaselineScore()
Doublepublic void setBaselineScore(Double value)
value - allowed object is
Doublepublic Characteristic withExtensions(Extension... values)
public Characteristic withExtensions(Collection<Extension> values)
public Characteristic withAttributes(Attribute... values)
public Characteristic withAttributes(Collection<Attribute> values)
public Characteristic withName(FieldName value)
public Characteristic withReasonCode(String value)
public Characteristic withBaselineScore(Double 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.