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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Extension> |
extensions |
protected LocalTransformations |
localTransformations |
protected MultipleModelMethodType |
multipleModelMethod |
protected java.util.List<Segment> |
segments |
| Constructor and Description |
|---|
Segmentation() |
Segmentation(MultipleModelMethodType multipleModelMethod,
java.util.List<Segment> segments) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.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.
|
java.util.List<Segment> |
getSegments()
Gets the value of the segments property.
|
boolean |
hasExtensions() |
boolean |
hasSegments() |
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMultipleModelMethod(MultipleModelMethodType value)
Sets the value of the multipleModelMethod property.
|
Segmentation |
withExtensions(java.util.Collection<Extension> values) |
Segmentation |
withExtensions(Extension... values) |
Segmentation |
withLocalTransformations(LocalTransformations value) |
Segmentation |
withMultipleModelMethod(MultipleModelMethodType value) |
Segmentation |
withSegments(java.util.Collection<Segment> values) |
Segmentation |
withSegments(Segment... values) |
getLocator, setLocatorprotected MultipleModelMethodType multipleModelMethod
protected java.util.List<Extension> extensions
protected LocalTransformations localTransformations
protected java.util.List<Segment> segments
public Segmentation()
public Segmentation(MultipleModelMethodType multipleModelMethod, java.util.List<Segment> segments)
public MultipleModelMethodType getMultipleModelMethod()
MultipleModelMethodTypepublic void setMultipleModelMethod(MultipleModelMethodType value)
value - allowed object is
MultipleModelMethodTypepublic 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 LocalTransformations getLocalTransformations()
LocalTransformationspublic void setLocalTransformations(LocalTransformations value)
value - allowed object is
LocalTransformationspublic java.util.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 Segmentation withMultipleModelMethod(MultipleModelMethodType value)
public Segmentation withExtensions(Extension... values)
public Segmentation withExtensions(java.util.Collection<Extension> values)
public Segmentation withLocalTransformations(LocalTransformations value)
public Segmentation withSegments(Segment... values)
public Segmentation withSegments(java.util.Collection<Segment> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasSegments()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.