Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicMember

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicModelElement
      extended by ilog.rules.bom.dynamic.IlrDynamicMember
All Implemented Interfaces:
IlrMember, IlrModelElement, IlrProperties, IlrTransientProperties, IlrMutableMember, IlrMutableModelElement, Serializable
Direct Known Subclasses:
IlrDynamicAttribute, IlrDynamicComponentProperty, IlrDynamicMethod

public abstract class IlrDynamicMember
extends IlrDynamicModelElement
implements Serializable, IlrMutableMember

An implementation of the ilog.rules.bom.IlrMember interface.

Warning: Serialized objects of this class will not be compatible with future JRules releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of JRules.

See Also:
Serialized Form

Method Summary
 IlrClass getDeclaringClass()
          Returns the class in which this member is declared
 IlrDomain getDomain()
          Returns the domain of the member.
 IlrNamespace getEnclosingNamespace()
          Returns the enclosing namespace of this member, that is the declaring class.
 IlrType getMemberType()
          Returns the type of the member.
 boolean isFinal()
          Returns true if the member is final.
 boolean isPrivate()
          Returns true if the member is private.
 boolean isProtected()
          Returns true if the member is protected.
 boolean isPublic()
          Returns true if the member is public.
 boolean isStatic()
          Returns true if the member is static.
 void setDomain(IlrDomain domain)
          Sets the domain of the member.
 void setFinal(boolean flag)
          Sets the 'final' property of this member.
 void setMemberType(IlrType type)
          Sets the type of the member.
 void setPackageVisibility()
          Sets the visibility of this member to package.
 void setPrivate()
          Sets the visibility of this member to private.
 void setProtected()
          Sets the visibility of this member to protected.
 void setPublic()
          Sets the visibility of this member to public.
 void setStatic(boolean flag)
          Sets the static property of this member.
 
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.mutable.IlrMutableModelElement
getMutableObjectModel
 
Methods inherited from interface ilog.rules.bom.IlrModelElement
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

getEnclosingNamespace

public IlrNamespace getEnclosingNamespace()
Returns the enclosing namespace of this member, that is the declaring class.

Specified by:
getEnclosingNamespace in interface IlrModelElement
Returns:
a namespace or null

getDeclaringClass

public IlrClass getDeclaringClass()
Returns the class in which this member is declared

Specified by:
getDeclaringClass in interface IlrMember

setPackageVisibility

public void setPackageVisibility()
Sets the visibility of this member to package.

Note: This is the default setting for the visibility.

Specified by:
setPackageVisibility in interface IlrMutableMember

isPublic

public boolean isPublic()
Returns true if the member is public.

Specified by:
isPublic in interface IlrMember

setPublic

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

Specified by:
setPublic in interface IlrMutableMember

isProtected

public boolean isProtected()
Returns true if the member is protected.

Specified by:
isProtected in interface IlrMember

setProtected

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

Specified by:
setProtected in interface IlrMutableMember

isPrivate

public boolean isPrivate()
Returns true if the member is private.

Specified by:
isPrivate in interface IlrMember

setPrivate

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

Specified by:
setPrivate in interface IlrMutableMember

isStatic

public boolean isStatic()
Returns true if the member is static.

Specified by:
isStatic in interface IlrMember

isFinal

public boolean isFinal()
Returns true if the member is final.

Specified by:
isFinal in interface IlrMember

setStatic

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

Specified by:
setStatic in interface IlrMutableMember
Parameters:
flag - The new value of the static property.

setFinal

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

Specified by:
setFinal in interface IlrMutableMember
Parameters:
flag - The new value of the final property.

setMemberType

public void setMemberType(IlrType type)
Sets the type of the member.

Specified by:
setMemberType in interface IlrMutableMember

getMemberType

public IlrType getMemberType()
Returns the type of the member. The returned type depends on the actual kind of member, yet you can expect that it will be the type of an attribute or the returned type for a method.

Specified by:
getMemberType in interface IlrMember

getDomain

public IlrDomain getDomain()
Returns the domain of the member.

Specified by:
getDomain in interface IlrMember
Returns:
The member domain or null if the member and the member type do not have a domain.

Note: The returned domain may be the type domain if it is applicable. Be careful if you want to change it.

See Also:
IlrType.getDomain()

setDomain

public void setDomain(IlrDomain domain)
Sets the domain of the member.

Specified by:
setDomain in interface IlrMutableMember

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013