Rule Execution Server API

ilog.rules.bom
Interface IlrMember

All Superinterfaces:
IlrModelElement, IlrProperties, IlrTransientProperties
All Known Subinterfaces:
IlrAttribute, IlrComponentProperty, IlrConstructor, IlrIndexedComponentProperty, IlrMemberWithParameter, IlrMethod, IlrMutableAttribute, IlrMutableComponentProperty, IlrMutableConstructor, IlrMutableIndexedComponentProperty, IlrMutableMember, IlrMutableMemberWithParameter, IlrMutableMethod
All Known Implementing Classes:
IlrDynamicAttribute, IlrDynamicComponentProperty, IlrDynamicConstructor, IlrDynamicIndexedComponentProperty, IlrDynamicMember, IlrDynamicMethod

public interface IlrMember
extends IlrModelElement

This interface is used to represent class members in an object model.


Method Summary
 IlrClass getDeclaringClass()
          Returns the class in which this member is declared
 IlrDomain getDomain()
          Returns the domain of the member.
 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.
 
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

getDeclaringClass

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


isPublic

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


isPrivate

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


isProtected

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


isStatic

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


isFinal

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


getDomain

IlrDomain getDomain()
Returns the domain of the member. It can be an attribute or the returned type of a method.

Returns:
The domain of the member or null if the member and its types do not have a domain.

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

See Also:
IlrType.getDomain()

getMemberType

IlrType getMemberType()
Returns the type of the member. It can be the type of an attribute or the returned type of a method.


Rule Execution Server API

© Copyright IBM Corp. 1987, 2013