Skip navigation links
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
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. |
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.
Skip navigation links
© Copyright IBM Corp. 1987, 2013