public class Segmentation 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}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 List<Extension> |
extensions |
protected LocalTransformations |
localTransformations |
protected Locator |
locator |
protected MultipleModelMethodType |
multipleModelMethod |
protected List<Segment> |
segments |
| Constructor and Description |
|---|
Segmentation() |
Segmentation(MultipleModelMethodType multipleModelMethod) |
protected LocalTransformations localTransformations
protected MultipleModelMethodType multipleModelMethod
protected Locator locator
public Segmentation()
public Segmentation(MultipleModelMethodType multipleModelMethod)
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 LocalTransformations getLocalTransformations()
LocalTransformationspublic void setLocalTransformations(LocalTransformations value)
value - 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 MultipleModelMethodType getMultipleModelMethod()
MultipleModelMethodTypepublic void setMultipleModelMethod(MultipleModelMethodType value)
value - allowed object is
MultipleModelMethodTypepublic Segmentation withExtensions(Extension... values)
public Segmentation withExtensions(Collection<Extension> values)
public Segmentation withLocalTransformations(LocalTransformations value)
public Segmentation withSegments(Segment... values)
public Segmentation withSegments(Collection<Segment> values)
public Segmentation withMultipleModelMethod(MultipleModelMethodType 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.