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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Segment" maxOccurs="unbounded"/>
</sequence>
<attribute name="multipleModelMethod" use="required" type="{http://www.dmg.org/PMML-4_2}MULTIPLE-MODEL-METHOD" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Segmentation() |
Segmentation(MultipleModelMethodType 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.
|
MultipleModelMethodType |
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(MultipleModelMethodType multipleModelMethod)
Sets the value of the multipleModelMethod property.
|
getLocator, setLocatorpublic Segmentation()
public Segmentation(MultipleModelMethodType multipleModelMethod, List<Segment> segments)
public MultipleModelMethodType getMultipleModelMethod()
MultipleModelMethodTypepublic Segmentation setMultipleModelMethod(MultipleModelMethodType multipleModelMethod)
multipleModelMethod - allowed object is
MultipleModelMethodTypepublic 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.