public class TimeAnchor extends PMMLObject
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>
| Constructor and Description |
|---|
TimeAnchor() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TimeAnchor |
addTimeCycles(TimeCycle... timeCycles) |
TimeAnchor |
addTimeExceptions(TimeException... timeExceptions) |
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.
|
boolean |
hasTimeCycles() |
boolean |
hasTimeExceptions() |
TimeAnchor |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
TimeAnchor |
setOffset(Integer offset)
Sets the value of the offset property.
|
TimeAnchor |
setStepsize(Integer stepsize)
Sets the value of the stepsize property.
|
TimeAnchor |
setType(TimeAnchorType type)
Sets the value of the type property.
|
getLocator, setLocatorpublic TimeAnchorType getType()
TimeAnchorTypepublic TimeAnchor setType(TimeAnchorType type)
type - allowed object is
TimeAnchorTypepublic Integer getOffset()
Stringpublic TimeAnchor setOffset(Integer offset)
offset - allowed object is
Stringpublic Integer getStepsize()
Stringpublic TimeAnchor setStepsize(Integer stepsize)
stepsize - allowed object is
Stringpublic String getDisplayName()
Stringpublic TimeAnchor setDisplayName(String displayName)
displayName - allowed object is
Stringpublic 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 boolean hasTimeCycles()
public TimeAnchor addTimeCycles(TimeCycle... timeCycles)
public boolean hasTimeExceptions()
public TimeAnchor addTimeExceptions(TimeException... timeExceptions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.