Rule Execution Server API

ilog.rules.bom.mutable
Interface IlrMutableClass

All Superinterfaces:
IlrClass, IlrModelElement, IlrMutableModelElement, IlrMutableType, IlrNamespace, IlrProperties, IlrTransientProperties, IlrType
All Known Implementing Classes:
IlrDynamicClass

public interface IlrMutableClass
extends IlrClass, IlrMutableType

Class mutable interface.

Since:
JRules 5.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface ilog.rules.bom.IlrClass
IlrClass.IlrGenericClassInfo
 
Field Summary
 
Fields inherited from interface ilog.rules.bom.IlrClass
CLASS_KIND_PROPERTY, RAW_CLASS_KIND
 
Method Summary
 void addSuperclass(IlrClass aClass)
          Adds a superclass to this class.
 void setAbstract(boolean flag)
          Sets the 'abstract' property of this class.
 void setFinal(boolean flag)
          Sets the 'final' property of this class.
 void setInterface(boolean interfaceFlag)
          Sets the 'interface' property of this class.
 void setPackageVisibility()
          Sets the visibility of this class to package.
 void setPrivate()
          Sets the visibility of this class to private.
 void setProtected()
          Sets the visibility of this class to protected.
 void setPublic()
          Sets the visibility of this class to public.
 void setStatic(boolean flag)
          Sets the 'static' property of this class.
 
Methods inherited from interface ilog.rules.bom.IlrClass
allAttributes, allComponentProperties, allIndexedComponentProperties, allInheritedAttributes, allInheritedMembers, allInheritedMethods, allInterfaces, allMembers, allMethods, allSuperclasses, getAttribute, getAttributes, getComponentProperties, getComponentProperty, getConstructor, getConstructors, getFirstSuperclass, getGenericInfo, getIndexedComponentProperties, getIndexedComponentProperty, getMethod, getMethod, getMethods, getMethods, getNestedClasses, getSuperclasses, interfaces, isAbstract, isFinal, isInterface, isPrivate, isProtected, isPublic, isStatic, isSubclassOf, members, visit
 
Methods inherited from interface ilog.rules.bom.IlrNamespace
getClass, getClasses, getGenericClass, getNamespace, modelElementIterator
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableType
setDomain
 
Methods inherited from interface ilog.rules.bom.IlrType
detach, getArrayClass, getArrayType, getComponentType, getDomain, getFullyQualifiedRawName, getJavaClass, getNativeClass, getRawName, isArray, isClass, isEnum, isMissingReference, isPrimitiveType, isTypeVariable, isWildcardType
 
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

setInterface

void setInterface(boolean interfaceFlag)
Sets the 'interface' property of this class. Initially, this property is false.

Parameters:
interfaceFlag - the new value of the interface flag.

setPackageVisibility

void setPackageVisibility()
Sets the visibility of this class to package. Note that this is the default setting for the visibility.


setPublic

void setPublic()
Sets the visibility of this class to public.


setProtected

void setProtected()
Sets the visibility of this class to protected.


setPrivate

void setPrivate()
Sets the visibility of this class to private.


setStatic

void setStatic(boolean flag)
Sets the 'static' property of this class. Initially, this property is false.

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

setFinal

void setFinal(boolean flag)
Sets the 'final' property of this class. Initially this property is false.

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

setAbstract

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

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

addSuperclass

void addSuperclass(IlrClass aClass)
Adds a superclass to this class.

Parameters:
aClass - the class which will be added to the superclass list.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013