|
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 |
java.lang.Object oracle.rules.sdk2.decisionpoint.DecisionPoint
public class DecisionPoint
DecisionPoint is a helper class which manages the server-side portions of implementing Decision Points (calling OBR Decision Functions) from developers' Java code.
Nested Class Summary | |
---|---|
static class |
DecisionPoint.NamedValue
NamedValue is a helper class that conveys named values to and from Decision Points. |
Method Summary | |
---|---|
java.util.Calendar |
getCurrentDate()
Return the current date used by this decision point |
java.util.Calendar |
getEffectiveDate()
Return the effective date used by this decision point |
DecisionPointInstance |
getInstance()
Retrieve a DecisionPointInstance with this DecisionPoint as the template. |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Return all properties accessible by the DecisionPointInstance |
java.lang.Object |
getProperty(java.lang.String name)
Return a single property value |
void |
release()
Release this decision point indicating that it will not be used any further and any retained resources can be released. |
DecisionPoint |
setCurrentDate(java.util.Calendar currentDate)
Set the current date to be used by this decision point |
DecisionPoint |
setEffectiveDate(java.util.Calendar effectiveDate)
Set the effective date to be used by this decision point |
DecisionPoint |
setProperty(java.lang.String name,
java.lang.Object value)
Set a single property value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public DecisionPointInstance getInstance()
public DecisionPoint setCurrentDate(java.util.Calendar currentDate)
currentDate
- set the current date of RuleSessions used
by this decision point
public java.util.Calendar getCurrentDate()
public DecisionPoint setEffectiveDate(java.util.Calendar effectiveDate)
effectiveDate
- set the effective date of RuleSessions used
by this decision point
public java.util.Calendar getEffectiveDate()
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public java.lang.Object getProperty(java.lang.String name)
name
- name of the property value to retrieve
public DecisionPoint setProperty(java.lang.String name, java.lang.Object value)
name
- the name of the property to setvalue
- the value of the property
public void release()
|
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 |