|
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.rl.RLProperty
public class RLProperty
Part of reflection API for RL classes.
Field
,
Serialized FormMethod Summary | |
---|---|
java.lang.Object |
get(RLObject obj)
Get the property as an Object from the given RLObject. |
boolean |
getBoolean(RLObject obj)
Get boolean property. |
byte |
getByte(RLObject obj)
Get byte property. |
char |
getChar(RLObject obj)
Get char property. |
RLClass |
getDeclaringClass()
Get the RLClass that declares this property. |
double |
getDouble(RLObject obj)
Get double property. |
float |
getFloat(RLObject obj)
Get float property. |
int |
getInt(RLObject obj)
Get int property. |
long |
getLong(RLObject obj)
Get long property. |
java.lang.String |
getName()
Get property name |
RLClass |
getRLClassType()
Get the RLClass of a property that references an RLClass object. |
short |
getShort(RLObject obj)
Get short property. |
java.lang.Class |
getType()
get the Class of a primitive or Java type property |
void |
set(RLObject obj,
java.lang.Object value)
Set property to Object. |
void |
setBoolean(RLObject obj,
boolean value)
Set property to boolean. |
void |
setByte(RLObject obj,
byte value)
Set property to byte. |
void |
setChar(RLObject obj,
char value)
Set property to char. |
void |
setDouble(RLObject obj,
double value)
Set property to double. |
void |
setFloat(RLObject obj,
float value)
Set property to float. |
void |
setInt(RLObject obj,
int value)
Set property to int. |
void |
setLong(RLObject obj,
long value)
Set property to long. |
void |
setShort(RLObject obj,
short value)
Set property to short. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public RLClass getDeclaringClass()
public java.lang.String getName()
public java.lang.Class getType() throws JavaException
JavaException
- wrapping a ClassNotFoundExceptionpublic RLClass getRLClassType()
public java.lang.Object get(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject containing property
RLIllegalArgumentException
- if obj is of wrong RLClasspublic boolean getBoolean(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not booleanpublic byte getByte(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not bytepublic char getChar(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not charpublic short getShort(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not shortpublic int getInt(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not intpublic long getLong(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not longpublic double getDouble(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not doublepublic float getFloat(RLObject obj) throws RLIllegalArgumentException
obj
- RLObject
RLIllegalArgumentException
- if obj is of wrong RLClass,
or property is not floatpublic void set(RLObject obj, java.lang.Object value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setBoolean(RLObject obj, boolean value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setByte(RLObject obj, byte value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setChar(RLObject obj, char value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setShort(RLObject obj, short value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setInt(RLObject obj, int value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setLong(RLObject obj, long value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setDouble(RLObject obj, double value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public void setFloat(RLObject obj, float value) throws RLIllegalArgumentException
obj
- RLObjectvalue
- new property value
RLIllegalArgumentException
- if obj is of wrong RLClass
or if value is of wrong type.public java.lang.String toString()
toString
in class java.lang.Object
|
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 |