Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicEnum

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicModelElement
      extended by ilog.rules.bom.dynamic.IlrDynamicType
          extended by ilog.rules.bom.dynamic.IlrDynamicEnum
All Implemented Interfaces:
IlrEnum, IlrModelElement, IlrProperties, IlrTransientProperties, IlrType, IlrMutableModelElement, IlrMutableType, Serializable

public class IlrDynamicEnum
extends IlrDynamicType
implements IlrEnum, Serializable

An implementation of the IlrEnum 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
 IlrDynamicStaticReference addStaticReference(String name)
          Adds an item in the domain of this enum.
 Class getNativeClass()
          Returns null.
 void setDomain(IlrDomain domain)
          Sets the domain of this enum.
 
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicType
getArrayClass, getArrayType, getComponentType, getFullyQualifiedRawName, getRawName, isArray, isClass, isEnum, isPrimitiveType, isTypeVariable, isWildcardType
 
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.IlrType
detach, getArrayClass, getArrayType, getComponentType, getDomain, getFullyQualifiedRawName, getJavaClass, getRawName, isArray, isClass, isEnum, isMissingReference, isPrimitiveType, isTypeVariable, isWildcardType
 
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
 
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableModelElement
getMutableObjectModel
 

Method Detail

getNativeClass

public Class getNativeClass()
Returns null.

Specified by:
getNativeClass in interface IlrType

setDomain

public void setDomain(IlrDomain domain)
Sets the domain of this enum. Initially this property is null.

Specified by:
setDomain in interface IlrMutableType
Parameters:
domain - the new domain of the enum.

addStaticReference

public IlrDynamicStaticReference addStaticReference(String name)
Adds an item in the domain of this enum. Note that this method does not check that the name is not already used in the domain.

Parameters:
name - the item name.
Returns:
the added item.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013