public abstract class IlrDynamicModelElement extends java.lang.Object implements java.io.Serializable, IlrMutableModelElement
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.| Modifier and Type | Method and Description |
|---|---|
protected void |
fireUpdate(java.lang.String property,
boolean oldValue,
boolean value) |
protected void |
fireUpdate(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object value) |
protected IlrType |
fixType(IlrType type) |
java.lang.String |
getFullyQualifiedName()
Returns the fully qualified name of this model element.
|
IlrMutableObjectModel |
getMutableObjectModel()
Returns the object model as a mutable object model.
|
java.lang.String |
getName()
Returns the name of this model element.
|
IlrObjectModel |
getObjectModel()
Returns the object model which contains this model element.
|
java.lang.Object |
getPropertyValue(java.lang.String propertyName)
Returns the values of a property.
|
java.lang.Object |
getPropertyValue(java.lang.String propertyName,
java.lang.Object defaultValue)
Returns the value of a property.
|
protected boolean |
hasListeners() |
boolean |
isPropertyPersistent(java.lang.String propertyName)
Returns a Boolean to indicate whether the
propertyName is persisted. |
java.util.Iterator |
propertyNames()
Returns the property names.
|
void |
removeProperty(java.lang.String propertyName)
Removes the property
propertyName. |
void |
setPersistentProperty(java.lang.String propertyName,
IlrProperties value)
Sets the property
propertyName to value. |
void |
setPersistentProperty(java.lang.String propertyName,
java.lang.String value)
Sets the property
propertyName to value. |
void |
setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Sets the property
propertyName to value. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnclosingNamespacepublic IlrObjectModel getObjectModel()
getObjectModel in interface IlrModelElementpublic IlrMutableObjectModel getMutableObjectModel()
getMutableObjectModel in interface IlrMutableModelElementpublic java.lang.String getName()
getName in interface IlrModelElementpublic java.lang.String getFullyQualifiedName()
getFullyQualifiedName in interface IlrModelElementpublic java.util.Iterator propertyNames()
propertyNames in interface IlrTransientPropertiespublic java.lang.Object getPropertyValue(java.lang.String propertyName)
getPropertyValue in interface IlrTransientPropertiespropertyName - The name of the property.propertyName
and null if there is no such property.public java.lang.Object getPropertyValue(java.lang.String propertyName,
java.lang.Object defaultValue)
getPropertyValue in interface IlrTransientPropertiespropertyName - 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(java.lang.String propertyName,
java.lang.Object value)
propertyName to value.
The property is also made non-persistent, that is, transient.setPropertyValue in interface IlrTransientPropertiespropertyName - The property name.value - A value.public void removeProperty(java.lang.String propertyName)
propertyName.removeProperty in interface IlrTransientPropertiespropertyName - The property name.public void setPersistentProperty(java.lang.String propertyName,
java.lang.String value)
propertyName to value.
and makes the property persistent.setPersistentProperty in interface IlrPropertiesjava.lang.UnsupportedOperationException - if
the object does not support persistent properties.propertyName - The property name.value - A value.public void setPersistentProperty(java.lang.String propertyName,
IlrProperties value)
propertyName to value.
and makes the property persistent.setPersistentProperty in interface IlrPropertiesjava.lang.UnsupportedOperationException - if
the object does not support persistent properties.propertyName - The property name.value - A property value.public boolean isPropertyPersistent(java.lang.String propertyName)
IlrPropertiespropertyName is persisted.isPropertyPersistent in interface IlrPropertiestrue if the the property with name propertyName
is persistent.protected boolean hasListeners()
protected void fireUpdate(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object value)
protected void fireUpdate(java.lang.String property,
boolean oldValue,
boolean value)
© Copyright IBM Corp. 1987, 2017