|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Rule
Field Summary | |
---|---|
static int |
EDFORM_DATE
Specifies that the effective date properties should be interpreted as date only. |
static int |
EDFORM_DATETIME
Specifies that the effective date properties should be interpreted as date and time. |
static int |
EDFORM_TIME
Specifies that the effective date properties should be interpreted as time only. |
Method Summary | |
---|---|
int |
getEffectiveDateForm()
Returns the current form in use for the effective date properties. |
java.util.Calendar |
getEffectiveEndDate()
Returns the effective end date or null if a end date has not been specified for the rule. |
java.util.Calendar |
getEffectiveStartDate()
Returns the effective start date or null if a start date has not been specified for the rule. |
java.lang.String |
getName()
Returns the name of the rule. |
int |
getPriority()
Returns the rule priority. |
Ruleset |
getRuleset()
Returns the Ruleset instance for the ruleset this rule is defined in. |
boolean |
isActive()
Returns true if the rule is active. |
boolean |
isAutoFocus()
Returns the value of this rule's autofocus property. |
boolean |
isLoop()
Returns the value of this rule's loop property. |
void |
setActive(boolean active)
Sets the rule to be active (true) or inactive (false). |
void |
setEffectiveDateForm(int newForm)
Sets the form to use for handling the effective date properties. |
void |
setEffectiveEndDate(java.util.Calendar endDate)
Sets the effective end date for the rule. |
void |
setEffectiveStartDate(java.util.Calendar startDate)
Sets the effective start date for the rule. |
Field Detail |
---|
static final int EDFORM_DATETIME
static final int EDFORM_DATE
static final int EDFORM_TIME
Method Detail |
---|
java.lang.String getName()
Ruleset getRuleset()
int getPriority() throws RLException
RLException
boolean isAutoFocus() throws RLException
RLException
boolean isLoop() throws RLException
RLException
boolean isActive() throws RLException
RLException
void setActive(boolean active) throws RLException
active
- sets the rule to be active (true) or inactive (false).
RLException
java.util.Calendar getEffectiveStartDate() throws RLException
RLException
void setEffectiveStartDate(java.util.Calendar startDate) throws RLException
startDate
- the new effective start date.
RLException
java.util.Calendar getEffectiveEndDate() throws RLException
RLException
void setEffectiveEndDate(java.util.Calendar endDate) throws RLException
endDate
- the new effective end date.
RLException
int getEffectiveDateForm() throws RLException
RLException
void setEffectiveDateForm(int newForm) throws RLException
null
will allow the form to be set.
If the form is set to EDFORM_DATE
or
EDFORM_TIME
the date stored by
setEffectiveStartDate
and setEffectiveEndDate
is made to conform to the selected form.
newForm
- the effective date form.
RLException
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |