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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
displayName |
protected java.lang.Integer |
offset |
protected java.lang.Integer |
stepsize |
protected java.util.List<TimeCycle> |
timeCycles |
protected java.util.List<TimeException> |
timeExceptions |
protected TimeAnchorType |
type |
| Constructor and Description |
|---|
TimeAnchor() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getDisplayName()
Gets the value of the displayName property.
|
java.lang.Integer |
getOffset()
Gets the value of the offset property.
|
java.lang.Integer |
getStepsize()
Gets the value of the stepsize property.
|
java.util.List<TimeCycle> |
getTimeCycles()
Gets the value of the timeCycles property.
|
java.util.List<TimeException> |
getTimeExceptions()
Gets the value of the timeExceptions property.
|
TimeAnchorType |
getType()
Gets the value of the type property.
|
boolean |
hasTimeCycles() |
boolean |
hasTimeExceptions() |
void |
setDisplayName(java.lang.String value)
Sets the value of the displayName property.
|
void |
setOffset(java.lang.Integer value)
Sets the value of the offset property.
|
void |
setStepsize(java.lang.Integer value)
Sets the value of the stepsize property.
|
void |
setType(TimeAnchorType value)
Sets the value of the type property.
|
TimeAnchor |
withDisplayName(java.lang.String value) |
TimeAnchor |
withOffset(java.lang.Integer value) |
TimeAnchor |
withStepsize(java.lang.Integer value) |
TimeAnchor |
withTimeCycles(java.util.Collection<TimeCycle> values) |
TimeAnchor |
withTimeCycles(TimeCycle... values) |
TimeAnchor |
withTimeExceptions(java.util.Collection<TimeException> values) |
TimeAnchor |
withTimeExceptions(TimeException... values) |
TimeAnchor |
withType(TimeAnchorType value) |
getLocator, setLocatorprotected TimeAnchorType type
protected java.lang.Integer offset
protected java.lang.Integer stepsize
protected java.lang.String displayName
protected java.util.List<TimeCycle> timeCycles
protected java.util.List<TimeException> timeExceptions
public TimeAnchorType getType()
TimeAnchorTypepublic void setType(TimeAnchorType value)
value - allowed object is
TimeAnchorTypepublic java.lang.Integer getOffset()
Stringpublic void setOffset(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getStepsize()
Stringpublic void setStepsize(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.String getDisplayName()
Stringpublic void setDisplayName(java.lang.String value)
value - allowed object is
Stringpublic java.util.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 java.util.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 TimeAnchor withType(TimeAnchorType value)
public TimeAnchor withOffset(java.lang.Integer value)
public TimeAnchor withStepsize(java.lang.Integer value)
public TimeAnchor withDisplayName(java.lang.String value)
public TimeAnchor withTimeCycles(TimeCycle... values)
public TimeAnchor withTimeCycles(java.util.Collection<TimeCycle> values)
public TimeAnchor withTimeExceptions(TimeException... values)
public TimeAnchor withTimeExceptions(java.util.Collection<TimeException> values)
public boolean hasTimeCycles()
public boolean hasTimeExceptions()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.