Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicParameter

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicModelElement
      extended by ilog.rules.bom.dynamic.IlrDynamicParameter
All Implemented Interfaces:
IlrModelElement, IlrParameter, IlrProperties, IlrTransientProperties, IlrMutableModelElement, IlrMutableParameter, Serializable

public class IlrDynamicParameter
extends IlrDynamicModelElement
implements Serializable, IlrMutableParameter

An implementation of the ilog.rules.bom.IlrParameter interface.

Warning: Serialized objects of this class will not be compatible with future JRules releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of JRules.

See Also:
Serialized Form

Method Summary
 IlrMemberWithParameter getDeclaringMember()
          Returns the member to which this parameter belongs.
 IlrNamespace getEnclosingNamespace()
          Returns the enclosing namespace of this model element.
 IlrDomain getParameterDomain()
          Returns the domain of this parameter.
 IlrType getParameterType()
          Returns the type of this parameter.
 void setDeclaringMember(IlrMemberWithParameter declaringMember)
          Sets the declaring member of the parameter.
 void setParameterDomain(IlrDomain domain)
          Sets the domain of the parameter.
 String toString()
           
 
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicModelElement
fireUpdate, fireUpdate, fixType, getFullyQualifiedName, getMutableObjectModel, getName, getObjectModel, getPropertyValue, getPropertyValue, hasListeners, isPropertyPersistent, propertyNames, removeProperty, setPersistentProperty, setPersistentProperty, setPropertyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableModelElement
getMutableObjectModel
 
Methods inherited from interface ilog.rules.bom.IlrModelElement
getFullyQualifiedName, getName, getObjectModel
 
Methods inherited from interface ilog.rules.bom.IlrProperties
isPropertyPersistent, setPersistentProperty, setPersistentProperty
 
Methods inherited from interface ilog.rules.bom.IlrTransientProperties
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

getEnclosingNamespace

public IlrNamespace getEnclosingNamespace()
Returns the enclosing namespace of this model element. This method always returns null.

Specified by:
getEnclosingNamespace in interface IlrModelElement
Returns:
null

getParameterType

public IlrType getParameterType()
Returns the type of this parameter.

Specified by:
getParameterType in interface IlrParameter

getDeclaringMember

public IlrMemberWithParameter getDeclaringMember()
Returns the member to which this parameter belongs. It can be a method or a property.

Specified by:
getDeclaringMember in interface IlrParameter
See Also:
IlrMethod, IlrIndexedComponentProperty

setDeclaringMember

public void setDeclaringMember(IlrMemberWithParameter declaringMember)
Sets the declaring member of the parameter. It is not sufficient to just create a parameter and to set its declaring member, you have to call IlrMutableMemberWithParameter.addParameter(ilog.rules.bom.IlrParameter) or IlrMutableMemberWithParameter.setParameters(java.util.List).

Specified by:
setDeclaringMember in interface IlrMutableParameter
Parameters:
declaringMember - The declaring member.

setParameterDomain

public void setParameterDomain(IlrDomain domain)
Sets the domain of the parameter.

Specified by:
setParameterDomain in interface IlrMutableParameter
Since:
JRules 5.0
Parameters:
domain - The domain of the parameter.

getParameterDomain

public IlrDomain getParameterDomain()
Returns the domain of this parameter.

Specified by:
getParameterDomain in interface IlrParameter
Since:
JRules 5.0

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013