Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicComponentProperty

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

public class IlrDynamicComponentProperty
extends IlrDynamicMember
implements Serializable, IlrMutableComponentProperty

An implementation of the IlrComponentProperty 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.

See Also:
Serialized Form

Method Summary
 IlrType getMemberType()
          Returns the type of the member.
 PropertyDescriptor getNativeDescriptor()
          Returns the descriptor of the property (for JavaBeans properties) or null if there is none.
 IlrType getPropertyType()
          Returns the property type.
 IlrMethod getReadMethod()
          Returns the getter method to access this property.
 IlrMethod getWriteMethod()
          Returns the setter method to set the value this property.
 boolean isReadonly()
          Returns true if the property is read only.
 boolean isStatic()
          Returns true if the member is static.
 boolean isWriteonly()
          Returns true if the property is write only.
protected  void registerInDeclaringClass()
           
 void setPropertyType(IlrType propertyType)
          Sets the type of the property.
 void setReadMethod(IlrMethod readMethod)
          Sets the getter method to access this property.
 void setWriteMethod(IlrMethod writeMethod)
          Sets the setter method to write this property.
 
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.IlrMutableMember
setDomain, setFinal, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStatic
 
Methods inherited from interface ilog.rules.bom.IlrMember
getDeclaringClass, getDomain, isFinal, isPrivate, isProtected, isPublic
 
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

isStatic

public boolean isStatic()
Returns true if the member is static.

Specified by:
isStatic in interface IlrMember
Overrides:
isStatic in class IlrDynamicMember

isReadonly

public boolean isReadonly()
Returns true if the property is read only.

Specified by:
isReadonly in interface IlrComponentProperty
Since:
JRules 6.0

isWriteonly

public boolean isWriteonly()
Returns true if the property is write only.

Specified by:
isWriteonly in interface IlrComponentProperty
Since:
JRules 6.0

setReadMethod

public void setReadMethod(IlrMethod readMethod)
Sets the getter method to access this property.

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

Specified by:
setReadMethod in interface IlrMutableComponentProperty
Parameters:
readMethod - An instance of IlrMethod.

setWriteMethod

public void setWriteMethod(IlrMethod writeMethod)
Sets the setter method to write this property.

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

Specified by:
setWriteMethod in interface IlrMutableComponentProperty
Parameters:
writeMethod - An instance of IlrMethod.

setPropertyType

public void setPropertyType(IlrType propertyType)
Sets the type of the property.

Specified by:
setPropertyType in interface IlrMutableComponentProperty
Parameters:
propertyType - An instance of IlrType.

getNativeDescriptor

public PropertyDescriptor getNativeDescriptor()
Returns the descriptor of the property (for JavaBeans properties) or null if there is none.

Specified by:
getNativeDescriptor in interface IlrComponentProperty

getPropertyType

public IlrType getPropertyType()
Returns the property type. Note that it can be null sometimes in the case of an indexed component property

Specified by:
getPropertyType in interface IlrComponentProperty

getMemberType

public IlrType getMemberType()
Returns the type of the member. The returned type depends on the actual kind of member, yet you can expect that it will be the type of an attribute or the returned type for a method.

Specified by:
getMemberType in interface IlrMember
Overrides:
getMemberType in class IlrDynamicMember

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

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

registerInDeclaringClass

protected void registerInDeclaringClass()

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013