public class Segmentation 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}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Segment" maxOccurs="unbounded"/>
</sequence>
<attribute name="multipleModelMethod" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="majorityVote"/>
<enumeration value="weightedMajorityVote"/>
<enumeration value="average"/>
<enumeration value="weightedAverage"/>
<enumeration value="median"/>
<enumeration value="max"/>
<enumeration value="sum"/>
<enumeration value="selectFirst"/>
<enumeration value="selectAll"/>
<enumeration value="modelChain"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Segmentation.MultipleModelMethod
Java class for null.
|
| Constructor and Description |
|---|
Segmentation() |
Segmentation(Segmentation.MultipleModelMethod multipleModelMethod,
List<Segment> segments) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Segmentation |
addExtensions(Extension... extensions) |
Segmentation |
addSegments(Segment... segments) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
Segmentation.MultipleModelMethod |
getMultipleModelMethod()
Gets the value of the multipleModelMethod property.
|
List<Segment> |
getSegments()
Gets the value of the segments property.
|
boolean |
hasExtensions() |
boolean |
hasSegments() |
Segmentation |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
Segmentation |
setMultipleModelMethod(Segmentation.MultipleModelMethod multipleModelMethod)
Sets the value of the multipleModelMethod property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Segmentation()
public Segmentation(Segmentation.MultipleModelMethod multipleModelMethod, List<Segment> segments)
public Segmentation.MultipleModelMethod getMultipleModelMethod()
Segmentation.MultipleModelMethodpublic Segmentation setMultipleModelMethod(Segmentation.MultipleModelMethod multipleModelMethod)
multipleModelMethod - allowed object is
Segmentation.MultipleModelMethodpublic 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 LocalTransformations getLocalTransformations()
LocalTransformationspublic Segmentation setLocalTransformations(LocalTransformations localTransformations)
localTransformations - allowed object is
LocalTransformationspublic List<Segment> getSegments()
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 segments property.
For example, to add a new item, do as follows:
getSegments().add(newItem);
Objects of the following type(s) are allowed in the list
Segment
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic Segmentation addExtensions(Extension... extensions)
public boolean hasSegments()
public Segmentation addSegments(Segment... segments)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.