public static class Recurrence.End
extends java.lang.Object
implements java.io.Serializable
The end condition can be one the following :
END_ON_OCCURRENCE i.e.
end when node recurs 'x' times
END_ON_TIME i.e. end recurrence at Jan
1st 2005
END_ON_EXRESSION i.e. end when the expression evaluates to
true.
Modifier and Type | Field and Description |
---|---|
static int |
END_ON_EXPRESSION
End when expression evaluates to true.
|
static int |
END_ON_OCCURRENCE
End when node recurs 'x' times
|
static int |
END_ON_TIME
End at a specified time
|
Constructor and Description |
---|
End()
Creates an End object without setting the End type.
|
End(int endType_)
Creates an End object.
|
Modifier and Type | Method and Description |
---|---|
java.sql.Date |
getEndDate()
Deprecated.
|
java.lang.String |
getEndDateExpr()
Deprecated.
|
java.lang.String |
getEndDateTimeExpr() |
java.lang.String |
getEndExpression()
Gets the expression, which when true, stops the recurrence of the node.
|
java.sql.Time |
getEndTime()
Deprecated.
|
java.lang.String |
getEndTimeExpr()
Deprecated.
|
int |
getEndType()
Returns the type of End condition
|
java.lang.Integer |
getNumOccurrences()
Retruns number of recurrence after which the recurrence ends.
|
void |
setEndDate(java.sql.Date endDate_)
Deprecated.
use
#setEndDateTimeExpr(String)) |
void |
setEndDate(java.sql.Timestamp endDate_)
Deprecated.
use
#setEndDateTimeExpr(String)) |
void |
setEndDateExpr(java.lang.String endDateExpr_)
Deprecated.
use
#setEndDateTimeExpr(String)) |
void |
setEndDateTimeExpr(java.lang.String endDateTimeExpr) |
void |
setEndExpression(java.lang.String endExpression_)
Sets the expression, which when true, stops the recurrence of the node.
|
void |
setEndTime(java.sql.Time endTime_)
Deprecated.
use
#setEndDateTimeExpr(String)) |
void |
setEndTime(java.sql.Timestamp endTime_)
Deprecated.
use
#setEndDateTimeExpr(String)) |
void |
setEndTimeExpr(java.lang.String endTimeExpr_)
Deprecated.
use
#setEndDateTimeExpr(String)) |
void |
setEndType(int endType_)
Sets the type of end condition
|
void |
setNumOccurrences(java.lang.Integer numOccurrences_)
Sets the number of occurrences after which the recurrence ends.
|
public static final int END_ON_OCCURRENCE
public static final int END_ON_TIME
public static final int END_ON_EXPRESSION
public End()
public End(int endType_) throws java.lang.IllegalArgumentException
endType_
- Type of the end condition.java.lang.IllegalArgumentException
END_ON_OCCURRENCE
,
END_ON_TIME
,
END_ON_EXPRESSION
public java.lang.String getEndDateTimeExpr()
public void setEndDateTimeExpr(java.lang.String endDateTimeExpr)
@Deprecated public java.sql.Time getEndTime()
getEndDateTimeExpr()
END_ON_TIME
public java.lang.Integer getNumOccurrences()
END_ON_OCCURRENCE
public void setNumOccurrences(java.lang.Integer numOccurrences_)
java.lang.IllegalArgumentException
- if the number of occurrences in less than 1.@Deprecated public void setEndTime(java.sql.Timestamp endTime_)
#setEndDateTimeExpr(String))
endTime_
- Timestamp representing the date and time at which recurrence
should end.END_ON_TIME
@Deprecated public void setEndTime(java.sql.Time endTime_)
#setEndDateTimeExpr(String))
public java.lang.String getEndExpression()
public void setEndExpression(java.lang.String endExpression_)
endExpression_
- String representing the expressionpublic int getEndType()
END_ON_OCCURRENCE
,
END_ON_TIME
,
END_ON_EXPRESSION
public void setEndType(int endType_)
END_ON_OCCURRENCE
,
END_ON_TIME
,
END_ON_EXPRESSION
@Deprecated public java.sql.Date getEndDate()
getEndDateTimeExpr()
END_ON_TIME
@Deprecated public void setEndDate(java.sql.Timestamp endDate_)
#setEndDateTimeExpr(String))
endDate_
- date at which recurrence should end
(combined with endTime or endTimeExpr).END_ON_TIME
@Deprecated public void setEndDate(java.sql.Date endDate_)
#setEndDateTimeExpr(String))
@Deprecated public java.lang.String getEndDateExpr()
getEndDateTimeExpr()
END_ON_TIME
@Deprecated public void setEndDateExpr(java.lang.String endDateExpr_)
#setEndDateTimeExpr(String))
endDateExpr_
- String that evaluates to a date at which recurrence
should end (combined with endTime or endTimeExpr).END_ON_TIME
@Deprecated public java.lang.String getEndTimeExpr()
getEndDateTimeExpr()
END_ON_TIME
@Deprecated public void setEndTimeExpr(java.lang.String endTimeExpr_)
#setEndDateTimeExpr(String))
endTime_
- String that evaluates to a time at which recurrence
should end (combined with endDate or endDateExpr).END_ON_TIME
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.