|
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
java.util.AbstractMap
java.util.HashMap
oracle.rules.sdk.editor.datamodel.ModelComponent
oracle.rules.sdk.editor.datamodel.Property
Represent either a Java Bean Propety or a RL Class slot
Field Summary | |
static java.lang.String |
PROP_ALLOW_CHAINING |
static java.lang.String |
PROP_DEFAULT_VALUE |
static java.lang.String |
PROP_READABLE |
static java.lang.String |
PROP_TYPE |
static java.lang.String |
PROP_WRITABLE |
static java.lang.String |
PROP_XMLNAME |
Fields inherited from class oracle.rules.sdk.editor.datamodel.ModelComponent |
PROP_ALIAS, PROP_ID, PROP_NAME, PROP_PROPERTIES, PROP_VISIBLE |
Method Summary | |
java.lang.Object |
get(java.lang.Object key) Overwrite hashtable get method. |
boolean |
getAllowChaining() Allow expression chaining, e.g. a.b.foo(). |
InitValue |
getDefaultValue() Get default of the property |
boolean |
getIsReadable() Whether it is a readable property. |
boolean |
getIsWritable() Whether it is a writable property. |
java.lang.String |
getType() Get alias of the type of the property |
java.lang.String[] |
getTypeOptions() Get property type options. |
int |
getTypeSelected() Get the index of the selected value for the property type options. |
java.lang.String |
getXMLName() Get the XML name of the Property. |
boolean |
isTypePrimitive() Whether the type of the property is primitive (i.e. int, char, double etc.)? |
java.lang.Object |
put(java.lang.Object key, java.lang.Object value) Overwrite hashtable put method. |
void |
setAllowChaining(boolean allowChaining) Set to allow the proeprty to be chained to make up new expressions |
void |
setType(java.lang.String typeAlias) Set type of the property |
void |
validate() valid the model component |
Methods inherited from class oracle.rules.sdk.editor.datamodel.ModelComponent |
getAlias, getDataModel, getID, getName, getParent, getProperties, getVisible, setAlias, setName, setVisible |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String PROP_WRITABLE
public static final java.lang.String PROP_READABLE
public static final java.lang.String PROP_TYPE
public static final java.lang.String PROP_DEFAULT_VALUE
public static final java.lang.String PROP_XMLNAME
public static final java.lang.String PROP_ALLOW_CHAINING
Method Detail |
public boolean getIsWritable()
public boolean getIsReadable()
public java.lang.String getType()
public void setType(java.lang.String typeAlias)
typeAlias
- the alias of the type of the propertypublic java.lang.String[] getTypeOptions()
public int getTypeSelected()
public InitValue getDefaultValue()
public java.lang.String getXMLName()
public boolean isTypePrimitive()
public boolean getAllowChaining()
public void setAllowChaining(boolean allowChaining)
allowChaining
- true indicates that the property can be chained to make up new expressionspublic void validate() throws RulesSDKDMValidationException
ModelComponent
validate
in class ModelComponent
RulesSDKDMValidationException
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
get
in class ModelComponent
key
- a String containing the property name to be fetched.public java.lang.Object put(java.lang.Object key, java.lang.Object value)
key
- a String containing the property name to be saved.value
- a String corresponding to the key to be saved
|
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 |