ilog.rules.bom.dynamic
Class IlrDynamicParameter
- java.lang.Object
-
- ilog.rules.bom.dynamic.IlrDynamicModelElement
-
- ilog.rules.bom.dynamic.IlrDynamicParameter
-
- All Implemented Interfaces:
- IlrModelElement, IlrParameter, IlrProperties, IlrTransientProperties, IlrMutableModelElement, IlrMutableParameter, java.io.Serializable
public class IlrDynamicParameter extends IlrDynamicModelElement implements java.io.Serializable, IlrMutableParameter
An implementation of theilog.rules.bom.IlrParameterinterface.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
Methods Modifier and Type Method and Description IlrMemberWithParametergetDeclaringMember()Returns the member to which this parameter belongs.IlrNamespacegetEnclosingNamespace()Returns the enclosing namespace of this model element.IlrDomaingetParameterDomain()Returns the domain of this parameter.IlrTypegetParameterType()Returns the type of this parameter.voidsetDeclaringMember(IlrMemberWithParameter declaringMember)Sets the declaring member of the parameter.voidsetParameterDomain(IlrDomain domain)Sets the domain of the parameter.java.lang.StringtoString()-
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 java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getEnclosingNamespace
public IlrNamespace getEnclosingNamespace()
Returns the enclosing namespace of this model element. This method always returnsnull.- Specified by:
getEnclosingNamespacein interfaceIlrModelElement- Returns:
null
-
getParameterType
public IlrType getParameterType()
Returns the type of this parameter.- Specified by:
getParameterTypein interfaceIlrParameter
-
getDeclaringMember
public IlrMemberWithParameter getDeclaringMember()
Returns the member to which this parameter belongs. It can be a method or a property.- Specified by:
getDeclaringMemberin interfaceIlrParameter- 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 callIlrMutableMemberWithParameter.addParameter(ilog.rules.bom.IlrParameter)orIlrMutableMemberWithParameter.setParameters(java.util.List).- Specified by:
setDeclaringMemberin interfaceIlrMutableParameter- Parameters:
declaringMember- The declaring member.
-
setParameterDomain
public void setParameterDomain(IlrDomain domain)
Sets the domain of the parameter.- Specified by:
setParameterDomainin interfaceIlrMutableParameter- Since:
- JRules 5.0
- Parameters:
domain- The domain of the parameter.
-
getParameterDomain
public IlrDomain getParameterDomain()
Returns the domain of this parameter.- Specified by:
getParameterDomainin interfaceIlrParameter- Since:
- JRules 5.0
-
-