public class TimeAnchor extends PMMLObject implements com.sun.xml.bind.Locatable
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}TimeCycle" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}TimeException" maxOccurs="2" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://www.dmg.org/PMML-4_2}TIME-ANCHOR" />
<attribute name="offset" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="stepsize" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected Locator |
locator |
protected Integer |
offset |
protected Integer |
stepsize |
protected List<TimeCycle> |
timeCycles |
protected List<TimeException> |
timeExceptions |
protected TimeAnchorType |
type |
| Constructor and Description |
|---|
TimeAnchor() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
String |
getDisplayName()
Gets the value of the displayName property.
|
Integer |
getOffset()
Gets the value of the offset property.
|
Integer |
getStepsize()
Gets the value of the stepsize property.
|
List<TimeCycle> |
getTimeCycles()
Gets the value of the timeCycles property.
|
List<TimeException> |
getTimeExceptions()
Gets the value of the timeExceptions property.
|
TimeAnchorType |
getType()
Gets the value of the type property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setOffset(Integer value)
Sets the value of the offset property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setStepsize(Integer value)
Sets the value of the stepsize property.
|
void |
setType(TimeAnchorType value)
Sets the value of the type property.
|
Locator |
sourceLocation() |
TimeAnchor |
withDisplayName(String value) |
TimeAnchor |
withOffset(Integer value) |
TimeAnchor |
withStepsize(Integer value) |
TimeAnchor |
withTimeCycles(Collection<TimeCycle> values) |
TimeAnchor |
withTimeCycles(TimeCycle... values) |
TimeAnchor |
withTimeExceptions(Collection<TimeException> values) |
TimeAnchor |
withTimeExceptions(TimeException... values) |
TimeAnchor |
withType(TimeAnchorType value) |
protected List<TimeException> timeExceptions
protected TimeAnchorType type
protected Integer offset
protected Integer stepsize
protected String displayName
protected Locator locator
public List<TimeCycle> getTimeCycles()
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 timeCycles property.
For example, to add a new item, do as follows:
getTimeCycles().add(newItem);
Objects of the following type(s) are allowed in the list
TimeCycle
public List<TimeException> getTimeExceptions()
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 timeExceptions property.
For example, to add a new item, do as follows:
getTimeExceptions().add(newItem);
Objects of the following type(s) are allowed in the list
TimeException
public TimeAnchorType getType()
TimeAnchorTypepublic void setType(TimeAnchorType value)
value - allowed object is
TimeAnchorTypepublic Integer getOffset()
Stringpublic void setOffset(Integer value)
value - allowed object is
Stringpublic Integer getStepsize()
Stringpublic void setStepsize(Integer value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic TimeAnchor withTimeCycles(TimeCycle... values)
public TimeAnchor withTimeCycles(Collection<TimeCycle> values)
public TimeAnchor withTimeExceptions(TimeException... values)
public TimeAnchor withTimeExceptions(Collection<TimeException> values)
public TimeAnchor withType(TimeAnchorType value)
public TimeAnchor withOffset(Integer value)
public TimeAnchor withStepsize(Integer value)
public TimeAnchor withDisplayName(String 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.