Rule Execution Server API

ilog.rules.bom
Interface IlrNamespace

All Superinterfaces:
IlrModelElement, IlrProperties, IlrTransientProperties
All Known Subinterfaces:
IlrClass, IlrMutableClass, IlrMutablePackage, IlrPackage
All Known Implementing Classes:
IlrDynamicClass, IlrDynamicPackage

public interface IlrNamespace
extends IlrModelElement

A namespace.


Method Summary
 IlrClass getClass(String name)
          Searches the namespace for a class having the given name.
 List getClasses()
          Returns the list of the classes contained in this namespace.
 IlrClass getGenericClass(String rawClassName, int numberOfTypeParameters)
           
 IlrNamespace getNamespace(String name)
          Returns the contained name space having the given name.
 Iterator modelElementIterator()
          Returns an iterator over the model elements contained in the namespace.
 
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

modelElementIterator

Iterator modelElementIterator()
Returns an iterator over the model elements contained in the namespace.


getNamespace

IlrNamespace getNamespace(String name)
Returns the contained name space having the given name. If such a namespace exists, it is returned, otherwise null is returned.

Since:
JRules 7.0

getClass

IlrClass getClass(String name)
Searches the namespace for a class having the given name. If such a class exists it is returned, otherwise null is returned.

Since:
JRules 6.0, was a method of IlrPackage before.

getGenericClass

IlrClass getGenericClass(String rawClassName,
                         int numberOfTypeParameters)

getClasses

List getClasses()
Returns the list of the classes contained in this namespace. Note that if there are no classes, this method may either return null or an empty list.

Since:
JRules 6.0, was a method of IlrPackage before.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013