Rule Execution Server API

ilog.rules.bom.mutable
Interface IlrMutableMethod

All Superinterfaces:
IlrMember, IlrMemberWithParameter, IlrMethod, IlrModelElement, IlrMutableMember, IlrMutableMemberWithParameter, IlrMutableModelElement, IlrProperties, IlrTransientProperties
All Known Subinterfaces:
IlrMutableConstructor
All Known Implementing Classes:
IlrDynamicConstructor, IlrDynamicMethod

public interface IlrMutableMethod
extends IlrMutableMemberWithParameter, IlrMethod

Method mutable interface.

Since:
JRules 5.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface ilog.rules.bom.IlrMethod
IlrMethod.IlrGenericMethodInfo
 
Field Summary
 
Fields inherited from interface ilog.rules.bom.IlrMethod
METHOD_KIND_PROPERTY, RAW_METHOD_KIND
 
Method Summary
 void addException(IlrClass aClass)
          Adds a class to the 'throws' clause of this method.
 void setAbstract(boolean flag)
          Sets the 'abstract' property of this method.
 void setOperator(boolean flag)
          Sets the 'operator' property of this method.
 void setReturnType(IlrType returnType)
          Sets the return type of this method.
 void setSynchronized(boolean flag)
          Sets the 'synchronized' property of this method.
 void setVarArgs(boolean flag)
          Sets the varArgs property of this method.
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableMemberWithParameter
addParameter, removeParameter, setParameters
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableMember
setDomain, setFinal, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStatic
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableModelElement
getMutableObjectModel
 
Methods inherited from interface ilog.rules.bom.IlrMethod
getGenericInfo, getJavaMethod, getMethodExceptions, getNativeMethod, getReturnType, isAbstract, isConstructor, isMethod, isSynchronized, visit
 
Methods inherited from interface ilog.rules.bom.IlrMemberWithParameter
getParameters
 
Methods inherited from interface ilog.rules.bom.IlrMember
getDeclaringClass, getDomain, getMemberType, isFinal, isPrivate, isProtected, isPublic, isStatic
 
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

setAbstract

void setAbstract(boolean flag)
Sets the 'abstract' property of this method. Initially, this property is false.

Parameters:
flag - the new value of the 'static' property.

setSynchronized

void setSynchronized(boolean flag)
Sets the 'synchronized' property of this method. Initially, this property is false.

Parameters:
flag - the new value of the 'synchronized' property.

setOperator

void setOperator(boolean flag)
Sets the 'operator' property of this method. Initially, this property is false.

Parameters:
flag - the new value of the 'operator' property.

setVarArgs

void setVarArgs(boolean flag)
Sets the varArgs property of this method. Initially, this property is false.

Parameters:
flag - the new value of the 'varArgs' property.

addException

void addException(IlrClass aClass)
Adds a class to the 'throws' clause of this method.

Parameters:
aClass - the class that is added to the exceptions list.

setReturnType

void setReturnType(IlrType returnType)
Sets the return type of this method.


Rule Execution Server API

© Copyright IBM Corp. 1987, 2013