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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Interval.Closure |
closure |
protected java.util.List<Extension> |
extensions |
protected java.lang.Double |
leftMargin |
protected java.lang.Double |
rightMargin |
| Constructor and Description |
|---|
Interval() |
Interval(Interval.Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Interval.Closure |
getClosure()
Gets the value of the closure property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.Double |
getLeftMargin()
Gets the value of the leftMargin property.
|
java.lang.Double |
getRightMargin()
Gets the value of the rightMargin property.
|
boolean |
hasExtensions() |
void |
setClosure(Interval.Closure value)
Sets the value of the closure property.
|
void |
setLeftMargin(java.lang.Double value)
Sets the value of the leftMargin property.
|
void |
setRightMargin(java.lang.Double value)
Sets the value of the rightMargin property.
|
Interval |
withClosure(Interval.Closure value) |
Interval |
withExtensions(java.util.Collection<Extension> values) |
Interval |
withExtensions(Extension... values) |
Interval |
withLeftMargin(java.lang.Double value) |
Interval |
withRightMargin(java.lang.Double value) |
getLocator, setLocatorprotected Interval.Closure closure
protected java.lang.Double leftMargin
protected java.lang.Double rightMargin
protected java.util.List<Extension> extensions
public Interval()
public Interval(Interval.Closure closure)
public Interval.Closure getClosure()
Interval.Closurepublic void setClosure(Interval.Closure value)
value - allowed object is
Interval.Closurepublic java.lang.Double getLeftMargin()
Doublepublic void setLeftMargin(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getRightMargin()
Doublepublic void setRightMargin(java.lang.Double value)
value - allowed object is
Doublepublic 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 Interval withClosure(Interval.Closure value)
public Interval withLeftMargin(java.lang.Double value)
public Interval withRightMargin(java.lang.Double value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.