public class Interval 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"/>
</sequence>
<attribute name="closure" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="openClosed"/>
<enumeration value="openOpen"/>
<enumeration value="closedOpen"/>
<enumeration value="closedClosed"/>
</restriction>
</simpleType>
</attribute>
<attribute name="leftMargin" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="rightMargin" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Interval.Closure
Java class for null.
|
| Constructor and Description |
|---|
Interval() |
Interval(Interval.Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Interval |
addExtensions(Extension... extensions) |
Interval.Closure |
getClosure()
Gets the value of the closure property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Double |
getLeftMargin()
Gets the value of the leftMargin property.
|
Double |
getRightMargin()
Gets the value of the rightMargin property.
|
boolean |
hasExtensions() |
Interval |
setClosure(Interval.Closure closure)
Sets the value of the closure property.
|
Interval |
setLeftMargin(Double leftMargin)
Sets the value of the leftMargin property.
|
Interval |
setRightMargin(Double rightMargin)
Sets the value of the rightMargin property.
|
getLocator, setLocatorpublic Interval()
public Interval(Interval.Closure closure)
public Interval.Closure getClosure()
Interval.Closurepublic Interval setClosure(Interval.Closure closure)
closure - allowed object is
Interval.Closurepublic Double getLeftMargin()
Doublepublic Interval setLeftMargin(Double leftMargin)
leftMargin - allowed object is
Doublepublic Double getRightMargin()
Doublepublic Interval setRightMargin(Double rightMargin)
rightMargin - allowed object is
Doublepublic 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 boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.