|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.rules.rl.RLClass
public class RLClass
Part of reflection API for RL classes.
Class, Serialized Form| Method Summary | |
|---|---|
static RLClass |
forName(java.lang.String className, RuleSession session)Get the RLClass given its fully qualified name and rule session in which it is defined. |
RLClass |
getComponentType()If this RLClass is an array, get the type of the array component |
RLProperty[] |
getDeclaredProperties()Get all RLPropertys declared by this RLClass |
RLProperty |
getDeclaredProperty(java.lang.String name)Get the RLProperty this RLClass declares by name |
java.lang.String |
getName()Get fully qualified name of this RLClass |
RLProperty[] |
getProperties()Get all RLPropertys implemented by this RLClass or a superclass |
RLProperty |
getProperty(java.lang.String name)Get property implemented by this RLClass or a superclass by name |
RuleSession |
getRuleSession()Get the RuleSession that defines this RLClass |
RLClass |
getSuperclass()Get superclass |
boolean |
isArray()Test whether this RLClass is an array |
boolean |
isAssignableFrom(RLClass cls)Test whether given RLClass can be assigned to this RLClass |
boolean |
isInstance(RLObject obj)Test whether given RLObject is an instance of this RLClass |
RLObject |
newInstance()Deprecated. As of 11.1.1.0.0, replaced by RLClass.newInstance(RuleSession) |
RLObject |
newInstance(RuleSession rs)create and return a new instance (RLObject) of this RLClass, initialized per the RL class defintion. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RLClass forName(java.lang.String className,
RuleSession session)
throws UndefinedException
className - fully qualified name Stringsession - RuleSessionUndefinedExceptionpublic RLClass getComponentType()
public boolean isArray()
public java.lang.String getName()
public RuleSession getRuleSession()
public RLProperty getDeclaredProperty(java.lang.String name)
name - property name Stringpublic RLProperty[] getDeclaredProperties()
public RLProperty getProperty(java.lang.String name)
name - property name Stringpublic RLProperty[] getProperties()
public RLClass getSuperclass()
public boolean isAssignableFrom(RLClass cls)
cls - given RLClasspublic boolean isInstance(RLObject obj)
obj - given RLObject
@Deprecated
public RLObject newInstance()
throws RLException
RLClass.newInstance(RuleSession)RLException
public RLObject newInstance(RuleSession rs)
throws RLException
RLException
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||