Rule Execution Server API

ilog.rules.bom
Interface IlrProperties

All Superinterfaces:
IlrTransientProperties
All Known Subinterfaces:
IlrAbstractValue, IlrActualValue, IlrAttribute, IlrClass, IlrComponentProperty, IlrConstructor, IlrEnum, IlrIndexedComponentProperty, IlrMember, IlrMemberWithParameter, IlrMethod, IlrModelElement, IlrMutableActualValue, IlrMutableAttribute, IlrMutableClass, IlrMutableComponentProperty, IlrMutableConstructor, IlrMutableIndexedComponentProperty, IlrMutableMember, IlrMutableMemberWithParameter, IlrMutableMethod, IlrMutableModelElement, IlrMutableObjectModel, IlrMutablePackage, IlrMutableParameter, IlrMutableStaticReference, IlrMutableType, IlrMutableTypeVariable, IlrNamespace, IlrObjectModel, IlrPackage, IlrParameter, IlrPrimitiveType, IlrStaticReference, IlrType, IlrTypeVariable, IlrWildcardType
All Known Implementing Classes:
IlrDynamicActualValue, IlrDynamicAttribute, IlrDynamicClass, IlrDynamicComponentProperty, IlrDynamicConstructor, IlrDynamicEnum, IlrDynamicIndexedComponentProperty, IlrDynamicMember, IlrDynamicMethod, IlrDynamicModelElement, IlrDynamicObjectModel, IlrDynamicPackage, IlrDynamicParameter, IlrDynamicStaticReference, IlrDynamicType, IlrDynamicTypeVariable, IlrDynamicValue, IlrDynamicWildcardType, IlrReflect

public interface IlrProperties
extends IlrTransientProperties

An interface which manages a set of properties where each property has a name and a value. A persistent property is a property with a String or a IlrProperties value which should be serialized along with the object. All other properties are considered as transient. (Note that persistence refers here to the way serializers implementing the IlrSerializer interface deal with properties)


Method Summary
 boolean isPropertyPersistent(String propertyName)
          Returns a Boolean to indicate whether the propertyName is persisted.
 void setPersistentProperty(String propertyName, IlrProperties value)
          Sets the property propertyName to value.
 void setPersistentProperty(String propertyName, String value)
          Sets the property propertyName to value.
 
Methods inherited from interface ilog.rules.bom.IlrTransientProperties
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue
 

Method Detail

setPersistentProperty

void setPersistentProperty(String propertyName,
                           String value)
Sets the property propertyName to value. and makes the property persistent.

Throws:
UnsupportedOperationException - if the object does not support persistent properties.
Parameters:
propertyName - The property name.
value - A value.

setPersistentProperty

void setPersistentProperty(String propertyName,
                           IlrProperties value)
Sets the property propertyName to value. and makes the property persistent.

Throws:
UnsupportedOperationException - if the object does not support persistent properties.
Parameters:
propertyName - The property name.
value - A property value.

isPropertyPersistent

boolean isPropertyPersistent(String propertyName)
Returns a Boolean to indicate whether the propertyName is persisted.

Returns:
true if the property with name propertyName is persistent.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013