|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.bom.dynamic.IlrDynamicModelElement
public abstract class IlrDynamicModelElement
An implementation of the IlrModelElement
interface.
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.
Method Summary | |
---|---|
protected void |
fireUpdate(String property,
boolean oldValue,
boolean value)
|
protected void |
fireUpdate(String property,
Object oldValue,
Object value)
|
protected IlrType |
fixType(IlrType type)
|
String |
getFullyQualifiedName()
Returns the fully qualified name of this model element. |
IlrMutableObjectModel |
getMutableObjectModel()
Returns the object model as a mutable object model. |
String |
getName()
Returns the name of this model element. |
IlrObjectModel |
getObjectModel()
Returns the object model which contains this model element. |
Object |
getPropertyValue(String propertyName)
Returns the values of a property. |
Object |
getPropertyValue(String propertyName,
Object defaultValue)
Returns the value of a property. |
protected boolean |
hasListeners()
|
boolean |
isPropertyPersistent(String propertyName)
Returns a Boolean to indicate whether the propertyName is persisted. |
Iterator |
propertyNames()
Returns the property names. |
void |
removeProperty(String propertyName)
Removes the property propertyName . |
void |
setPersistentProperty(String propertyName,
IlrProperties value)
Sets the property propertyName to value . |
void |
setPersistentProperty(String propertyName,
String value)
Sets the property propertyName to value . |
void |
setPropertyValue(String propertyName,
Object value)
Sets the property propertyName to value . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ilog.rules.bom.IlrModelElement |
---|
getEnclosingNamespace |
Method Detail |
---|
public IlrObjectModel getObjectModel()
getObjectModel
in interface IlrModelElement
public IlrMutableObjectModel getMutableObjectModel()
getMutableObjectModel
in interface IlrMutableModelElement
public String getName()
getName
in interface IlrModelElement
public String getFullyQualifiedName()
getFullyQualifiedName
in interface IlrModelElement
public Iterator propertyNames()
propertyNames
in interface IlrTransientProperties
public Object getPropertyValue(String propertyName)
getPropertyValue
in interface IlrTransientProperties
propertyName
- The name of the property.
propertyName
and null
if there is no such property.public Object getPropertyValue(String propertyName, Object defaultValue)
getPropertyValue
in interface IlrTransientProperties
propertyName
- The name of the property.defaultValue
- The default value to return if the property is not set.
propertyName
,
or defaultValue
if there is no such property.public void setPropertyValue(String propertyName, Object value)
propertyName
to value
.
The property is also made non-persistent, that is, transient.
setPropertyValue
in interface IlrTransientProperties
propertyName
- The property name.value
- A value.public void removeProperty(String propertyName)
propertyName
.
removeProperty
in interface IlrTransientProperties
propertyName
- The property name.public void setPersistentProperty(String propertyName, String value)
propertyName
to value
.
and makes the property persistent.
setPersistentProperty
in interface IlrProperties
UnsupportedOperationException
- if
the object does not support persistent properties.propertyName
- The property name.value
- A value.public void setPersistentProperty(String propertyName, IlrProperties value)
propertyName
to value
.
and makes the property persistent.
setPersistentProperty
in interface IlrProperties
UnsupportedOperationException
- if
the object does not support persistent properties.propertyName
- The property name.value
- A property value.public boolean isPropertyPersistent(String propertyName)
IlrProperties
propertyName
is persisted.
isPropertyPersistent
in interface IlrProperties
true
if the the property with name propertyName
is persistent.protected IlrType fixType(IlrType type)
protected boolean hasListeners()
protected void fireUpdate(String property, Object oldValue, Object value)
protected void fireUpdate(String property, boolean oldValue, boolean value)
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |