Package oracle.rules.rl
Class RLClass
java.lang.Object
oracle.rules.rl.RLClass
- All Implemented Interfaces:
- Serializable
Part of reflection API for RL classes.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic RLClassforName(String className, RuleSession session) Get the RLClass given its fully qualified name and rule session in which it is defined.If this RLClass is an array, get the type of the array componentGet all RLPropertys declared by this RLClassgetDeclaredProperty(String name) Get the RLProperty this RLClass declares by namegetName()Get fully qualified name of this RLClassGet all RLPropertys implemented by this RLClass or a superclassgetProperty(String name) Get property implemented by this RLClass or a superclass by nameGet the RuleSession that defines this RLClassGet superclassbooleanisArray()Test whether this RLClass is an arraybooleanisAssignableFrom(RLClass cls) Test whether given RLClass can be assigned to this RLClassbooleanisInstance(RLObject obj) Test whether given RLObject is an instance of this RLClassDeprecated.create and return a new instance (RLObject) of this RLClass, initialized per the RL class defintion.
- 
Method Details- 
forNameGet the RLClass given its fully qualified name and rule session in which it is defined.- Parameters:
- className- fully qualified name String
- session- RuleSession
- Returns:
- RLClass
- Throws:
- UndefinedException
 
- 
getComponentTypeIf this RLClass is an array, get the type of the array component- Returns:
- RLClass
 
- 
isArraypublic boolean isArray()Test whether this RLClass is an array- Returns:
- boolean whether this RLClass is an array
 
- 
getNameGet fully qualified name of this RLClass- Returns:
- fully qualified name String
 
- 
getRuleSessionGet the RuleSession that defines this RLClass- Returns:
- RuleSession
 
- 
getDeclaredPropertyGet the RLProperty this RLClass declares by name- Parameters:
- name- property name String
- Returns:
- RLProperty
 
- 
getDeclaredPropertiesGet all RLPropertys declared by this RLClass- Returns:
- RLProperty[]
 
- 
getPropertyGet property implemented by this RLClass or a superclass by name- Parameters:
- name- property name String
- Returns:
- RLProperty
 
- 
getPropertiesGet all RLPropertys implemented by this RLClass or a superclass- Returns:
- RLProperty[]
 
- 
getSuperclassGet superclass- Returns:
- RLClass
 
- 
isAssignableFromTest whether given RLClass can be assigned to this RLClass- Parameters:
- cls- given RLClass
- Returns:
- boolean
 
- 
isInstanceTest whether given RLObject is an instance of this RLClass- Parameters:
- obj- given RLObject
- Returns:
- boolean
 
- 
newInstanceDeprecated.As of 11.1.1.0.0, replaced bynewInstance(RuleSession)create and return a new instance (RLObject) of this RLClass, initialized per the RL class defintion.- Returns:
- RLObject new default-initialized instance of this RLClass
- Throws:
- RLException
 
- 
newInstancecreate and return a new instance (RLObject) of this RLClass, initialized per the RL class defintion.- Returns:
- RLObject new default-initialized instance of this RLClass
- Throws:
- RLException
 
 
- 
newInstance(RuleSession)