public class Interval extends java.lang.Object implements XMLable, java.io.Serializable
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
Interval() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getDayInterval()
Returns the time interval in terms of number of days
|
java.lang.String |
getDayIntervalExpr()
Returns an expression that will be used to compute the time interval in
terms of days
|
java.lang.Long |
getHourInterval()
Returns the time interval in terms of number of hours
|
java.lang.String |
getHourIntervalExpr()
Returns an expression that will be used to compute the time interval in
terms of hours
|
java.lang.Long |
getMinInterval()
Returns the time interval in terms of number of minutes
|
java.lang.String |
getMinIntervalExpr()
Returns an expression that will be used to compute the time interval in
terms of minutes
|
java.lang.Long |
getMonthInterval()
Returns the time interval in terms of number of months
|
java.lang.String |
getMonthIntervalExpr()
Returns an expression that will be used to compute the time interval in
terms of months
|
java.lang.Long |
getWeekInterval()
Returns the time interval in terms of number of weeks
|
java.lang.String |
getWeekIntervalExpr()
Returns an expression that will be used to compute the time interval in
terms of weeks
|
java.lang.Long |
getYearInterval()
Returns the time interval in terms of number of years
|
java.lang.String |
getYearIntervalExpr()
Returns an expression that will be used to compute the time interval in
terms of years
|
void |
setDayInterval(java.lang.Long dayInterval_)
Sets the time interval in terms of number of days
|
void |
setDayIntervalExpr(java.lang.String dayIntervalExpr_)
Sets the time interval in terms of number of days, using an expression
|
void |
setHourInterval(java.lang.Long hourInterval_)
Sets the time interval in terms of number of hours
|
void |
setHourIntervalExpr(java.lang.String hourIntervalExpr_)
Sets the time interval in terms of number of hours, using an expression
|
void |
setMinInterval(java.lang.Long minInterval_)
Sets the time interval in terms of number of minutes
|
void |
setMinIntervalExpr(java.lang.String minIntervalExpr_)
Sets the time interval in terms of number of minutes, using an expression
|
void |
setMonthInterval(java.lang.Long monthInterval_)
Sets the time interval in terms of number of months
|
void |
setMonthIntervalExpr(java.lang.String monthIntervalExpr_)
Sets the time interval in terms of number of months, using an expression
|
void |
setWeekInterval(java.lang.Long weekInterval_)
Sets the time interval in terms of number of weeks
|
void |
setWeekIntervalExpr(java.lang.String weekIntervalExpr_)
Sets the time interval in terms of number of weeks, using an expression
|
void |
setYearInterval(java.lang.Long yearInterval_)
Sets the time interval in terms of number of years.
|
void |
setYearIntervalExpr(java.lang.String yearIntervalExpr_)
Sets the time interval in terms of number of years, using an expression
|
java.lang.String |
toXML()
Returns String representation of the
Interval object. |
void |
toXML(java.lang.StringBuilder buffer_)
Appends an XML representation of this object (including all
child objects) to the given buffer.
|
public java.lang.Long getDayInterval()
public void setDayInterval(java.lang.Long dayInterval_)
dayInterval_
- Long value representing the number of dayspublic java.lang.Long getHourInterval()
public void setHourInterval(java.lang.Long hourInterval_)
hourInterval_
- Long value representing number of hourspublic java.lang.Long getMinInterval()
public void setMinInterval(java.lang.Long minInterval_)
minInterval_
- Long value representing the number of minutespublic java.lang.Long getMonthInterval()
public void setMonthInterval(java.lang.Long monthInterval_)
monthInterval_
- Long value representing the number of monthspublic java.lang.Long getWeekInterval()
public void setWeekInterval(java.lang.Long weekInterval_)
weekInterval_
- Long value representing the number of weekspublic java.lang.Long getYearInterval()
public void setYearInterval(java.lang.Long yearInterval_)
yearInterval_
- Long value representing the number of yearspublic java.lang.String getDayIntervalExpr()
public void setDayIntervalExpr(java.lang.String dayIntervalExpr_)
dayIntervalExpr_
- Expression that should evaluate to an integerpublic java.lang.String getHourIntervalExpr()
public void setHourIntervalExpr(java.lang.String hourIntervalExpr_)
hourIntervalExpr_
- Expression that should evaluate to an integerpublic java.lang.String getMinIntervalExpr()
public void setMinIntervalExpr(java.lang.String minIntervalExpr_)
minIntervalExpr_
- Expression that should evaluate to an integerpublic java.lang.String getMonthIntervalExpr()
public void setMonthIntervalExpr(java.lang.String monthIntervalExpr_)
monthIntervalExpr_
- Expression that should evaluate to an integerpublic java.lang.String getWeekIntervalExpr()
public void setWeekIntervalExpr(java.lang.String weekIntervalExpr_)
weekIntervalExpr_
- Expression that should evaluate to an integerpublic java.lang.String getYearIntervalExpr()
public void setYearIntervalExpr(java.lang.String yearIntervalExpr_)
yearIntervalExpr_
- Expression that should evaluate to an integerpublic java.lang.String toXML()
Interval
object.public void toXML(java.lang.StringBuilder buffer_)
XMLable
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.