public class RecurringInterval
extends java.lang.Object
implements java.io.Serializable
Interval
. This class is mainly used to specify the
Recurrence
property of a node.Recurrence
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
RecurringInterval.Daily
Class defines Daily recurring interval
|
static class |
RecurringInterval.Monthly
Class defines time interval for Monthly events.
|
static class |
RecurringInterval.Weekly
Class that defines time interval for events that occur on a Weekly basis.
|
static class |
RecurringInterval.Yearly
Class defines time interval for Yearly events.
|
Modifier and Type | Field and Description |
---|---|
static int |
RECURRING_TYPE_DAILY |
static int |
RECURRING_TYPE_INTERVAL |
static int |
RECURRING_TYPE_MONTHLY |
static int |
RECURRING_TYPE_WEEKLY |
static int |
RECURRING_TYPE_YEARLY |
Constructor and Description |
---|
RecurringInterval()
Creates a RecurringInterval object, without setting the RecurringInterval
type.
|
RecurringInterval(int intervalType_)
Creates a RecurringInterval object.
|
Modifier and Type | Method and Description |
---|---|
RecurringInterval.Daily |
getDaily()
Returns the recurring daily interval
|
Interval |
getInterval()
Returns the
Interval object. |
int |
getIntervalType()
Returns the type of the RecurringInterval
|
RecurringInterval.Monthly |
getMonthly()
Gets the Monthly delay
|
java.sql.Time |
getTime()
Gets the time of the day which the event occures.
|
java.lang.String |
getTimeExpr()
Gets the time of the day at which the event occurs.
|
RecurringInterval.Weekly |
getWeekly()
Gets the Weekly delay
|
RecurringInterval.Yearly |
getYearly()
Gets the Yearly delay
|
void |
setDaily(RecurringInterval.Daily daily_)
Sets the Daily interval
|
void |
setInterval(Interval interval_)
Sets the delay with an
Interval object |
void |
setIntervalType(int intervalType_)
Sets the type of the RecurringInterval
|
void |
setMonthly(RecurringInterval.Monthly monthly_)
Sets the Monthly delay
|
void |
setTime(java.sql.Time time_)
Sets the time of the day, at which the event occurs.
|
void |
setTimeExpr(java.lang.String timeExpr_)
Sets the time of the day at which the event occurs.
|
void |
setWeekly(RecurringInterval.Weekly weekly_)
Sets the Weekly delay
|
void |
setYearly(RecurringInterval.Yearly yearly_)
Sets the Yearly delay
|
public static final int RECURRING_TYPE_INTERVAL
public static final int RECURRING_TYPE_DAILY
public static final int RECURRING_TYPE_WEEKLY
public static final int RECURRING_TYPE_MONTHLY
public static final int RECURRING_TYPE_YEARLY
public RecurringInterval(int intervalType_)
intervalType_
- type of the RecurringIntervalRECURRING_TYPE_INTERVAL
,
RECURRING_TYPE_DAILY
,
RECURRING_TYPE_WEEKLY
,
RECURRING_TYPE_MONTHLY
,
RECURRING_TYPE_YEARLY
public RecurringInterval()
public int getIntervalType()
public void setIntervalType(int intervalType_)
intervalType_
- one of the following: RECURRING_TYPE_INTERVAL,
RECURRING_TYPE_DAILY, RECURRING_TYPE_WEEKLY,
RECURRING_TYPE_MONTHLY, RECURRING_TYPE_YEARLYjava.lang.IllegalArgumentException
- if param is not one of the supported types.public RecurringInterval.Daily getDaily()
public void setDaily(RecurringInterval.Daily daily_)
public void setInterval(Interval interval_)
Interval
objectInterval
public RecurringInterval.Monthly getMonthly()
RecurringInterval.Monthly
public void setMonthly(RecurringInterval.Monthly monthly_)
RecurringInterval.Monthly
public RecurringInterval.Weekly getWeekly()
RecurringInterval.Weekly
public void setWeekly(RecurringInterval.Weekly weekly_)
RecurringInterval.Weekly
public RecurringInterval.Yearly getYearly()
RecurringInterval.Yearly
public void setYearly(RecurringInterval.Yearly yearly_)
RecurringInterval.Yearly
public java.sql.Time getTime()
RecurringInterval
is of type
RECURRING_TYPE_DAILY, RECURRING_TYPE_WEEKLY, RECURRING_TYPE_MONTHLY,
RECURRING_TYPE_YEARLY.public void setTime(java.sql.Time time_)
RecurringInterval
is of type
RECURRING_TYPE_DAILY, RECURRING_TYPE_WEEKLY, RECURRING_TYPE_MONTHLY,
RECURRING_TYPE_YEARLY.Time
- used to fire the eventpublic java.lang.String getTimeExpr()
RecurringInterval
is of type
RECURRING_TYPE_DAILY, RECURRING_TYPE_WEEKLY, RECURRING_TYPE_MONTHLY,
RECURRING_TYPE_YEARLY.public void setTimeExpr(java.lang.String timeExpr_)
RecurringInterval
is of type
RECURRING_TYPE_DAILY, RECURRING_TYPE_WEEKLY, RECURRING_TYPE_MONTHLY,
RECURRING_TYPE_YEARLY.time_
- String expression that resolves to a timeCopyright © 2003-2024 Appian Corporation. All Rights Reserved.