|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.rules.rl.RLClass
Part of reflection API for RL classes.
Class
, Serialized FormMethod 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() 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
- RuleSessionUndefinedException
public 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 RLObjectpublic RLObject newInstance() throws RLException
RLException
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |