Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicIndexedComponentProperty

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicModelElement
      extended by ilog.rules.bom.dynamic.IlrDynamicMember
          extended by ilog.rules.bom.dynamic.IlrDynamicComponentProperty
              extended by ilog.rules.bom.dynamic.IlrDynamicIndexedComponentProperty
All Implemented Interfaces:
IlrComponentProperty, IlrIndexedComponentProperty, IlrMember, IlrMemberWithParameter, IlrModelElement, IlrProperties, IlrTransientProperties, IlrMutableComponentProperty, IlrMutableIndexedComponentProperty, IlrMutableMember, IlrMutableMemberWithParameter, IlrMutableModelElement, Serializable

public class IlrDynamicIndexedComponentProperty
extends IlrDynamicComponentProperty
implements Serializable, IlrMutableIndexedComponentProperty

Indexed component property implementation.

Since:
JRules 5.0
See Also:
Serialized Form

Method Summary
 void addParameter(IlrParameter parameter)
          Adds a parameter to this member's parameters.
 List getIndexParameters()
          Returns the list of parameters for this property.
 List getParameters()
          Returns the list of parameters for this member.
 IlrType getPropertyType()
          Returns the type of the indexed property.
 IlrMethod getReadMethod()
          Returns the getter method to access this property.
 IlrMethod getWriteMethod()
          Returns the setter method to set the value this property.
protected  void registerInDeclaringClass()
           
 boolean removeParameter(IlrParameter parameter)
          Removes a parameter from this member's parameters
 void setParameters(List parameters)
          Sets the parameter of this member.
 
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicComponentProperty
getMemberType, getNativeDescriptor, isReadonly, isStatic, isWriteonly, setPropertyType, setReadMethod, setWriteMethod
 
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicMember
getDeclaringClass, getDomain, getEnclosingNamespace, isFinal, isPrivate, isProtected, isPublic, setDomain, setFinal, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStatic
 
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, toString, wait, wait, wait
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableComponentProperty
setPropertyType, setReadMethod, setWriteMethod
 
Methods inherited from interface ilog.rules.bom.IlrComponentProperty
getNativeDescriptor, isReadonly, isWriteonly
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableMember
setDomain, setFinal, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStatic
 
Methods inherited from interface ilog.rules.bom.IlrMember
getDeclaringClass, getDomain, getMemberType, isFinal, isPrivate, isProtected, isPublic, isStatic
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableModelElement
getMutableObjectModel
 
Methods inherited from interface ilog.rules.bom.IlrModelElement
getEnclosingNamespace, 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

getPropertyType

public IlrType getPropertyType()
Returns the type of the indexed property.

Specified by:
getPropertyType in interface IlrComponentProperty
Overrides:
getPropertyType in class IlrDynamicComponentProperty

getReadMethod

public IlrMethod getReadMethod()
Returns the getter method to access this property.

Note that this method may return null if the property is write-only.

Specified by:
getReadMethod in interface IlrComponentProperty
Overrides:
getReadMethod in class IlrDynamicComponentProperty

getWriteMethod

public IlrMethod getWriteMethod()
Returns the setter method to set the value this property.

Note that this method may return null if the property is read-only.

Specified by:
getWriteMethod in interface IlrComponentProperty
Overrides:
getWriteMethod in class IlrDynamicComponentProperty

getIndexParameters

public List getIndexParameters()
Returns the list of parameters for this property.

Specified by:
getIndexParameters in interface IlrIndexedComponentProperty

getParameters

public List getParameters()
Returns the list of parameters for this member. Note that if the member has no parameters, the return value may be null or it may be an empty list.

Specified by:
getParameters in interface IlrMemberWithParameter

addParameter

public void addParameter(IlrParameter parameter)
Adds a parameter to this member's parameters.

Specified by:
addParameter in interface IlrMutableMemberWithParameter
Parameters:
parameter - The parameter to add.

setParameters

public void setParameters(List parameters)
Sets the parameter of this member.

Specified by:
setParameters in interface IlrMutableMemberWithParameter
Parameters:
parameters - The parameters.

removeParameter

public boolean removeParameter(IlrParameter parameter)
Removes a parameter from this member's parameters

Specified by:
removeParameter in interface IlrMutableMemberWithParameter
Parameters:
parameter - The parameter to remove.
Returns:
true If the parameter was removed

registerInDeclaringClass

protected void registerInDeclaringClass()
Overrides:
registerInDeclaringClass in class IlrDynamicComponentProperty

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013