com.ibm.commons.iloader.node
Interface IClassDef


public interface IClassDef

An interface that defines a data model. The IClassDef makes properties available to the DataNode framework. Those properties reflect properties in the actual physical model that the DataNode framework means to represent. New instances of the IClassDef are generated by the ILoader.


Method Summary
 java.lang.String getDefaultNamespacePrefix()
          Get the class namespace.
 java.lang.String getDisplayName()
          Get the class label.
 ILoader getLoader()
          Get the loader that loaded the class definition.
 IMember getMember(java.lang.String memberName)
          Get a member giving a name.
 java.util.Iterator<IMember> getMembers()
          Get the list of members.
 java.lang.String getName()
          Get the class name.
 java.lang.String getNamespaceURI()
          Get the class namespace URI.
 java.lang.Object getNativeClass()
          Get the native class object.
 java.lang.Object newInstance(java.lang.Object objectContainer)
          Create an instance.
 

Method Detail

getDefaultNamespacePrefix

java.lang.String getDefaultNamespacePrefix()
Get the class namespace.

Returns:
a namespace

getNamespaceURI

java.lang.String getNamespaceURI()
Get the class namespace URI.

Returns:
a URI

getName

java.lang.String getName()
Get the class name.

Returns:
a unique name by which the class can be identified

getDisplayName

java.lang.String getDisplayName()
Get the class label.

Returns:
a user facing name

getLoader

ILoader getLoader()
Get the loader that loaded the class definition. Analogous to a Java ClassLoader.

Returns:
an instance of ILoader

getNativeClass

java.lang.Object getNativeClass()
                                throws com.ibm.commons.iloader.node.NodeException
Get the native class object.

Returns:
Throws:
com.ibm.commons.iloader.node.NodeException

newInstance

java.lang.Object newInstance(java.lang.Object objectContainer)
                             throws com.ibm.commons.iloader.node.NodeException
Create an instance.

Parameters:
objectContainer -
Throws:
com.ibm.commons.iloader.node.NodeException

getMembers

java.util.Iterator<IMember> getMembers()
Get the list of members.


getMember

IMember getMember(java.lang.String memberName)
Get a member giving a name.