amber.type.server
Class ExtensionModuleInfo

java.lang.Object
  |
  +--amber.type.server.ExtensionModuleInfo

public class ExtensionModuleInfo
extends java.lang.Object

This class holds information relating to a specific extension module added to the server.

Version:
1.0.0
Author:
Dr. David J. Knowles
See Also:
ExtensionInterface

Field Summary
protected  ExtensionInterface module
          The actual Extension module itself.
protected  java.lang.String name
          The name of the Extension module.
 
Constructor Summary
ExtensionModuleInfo()
          Default Constructor.
ExtensionModuleInfo(java.lang.String name, ExtensionInterface module)
          Initialising Constructor.
 
Method Summary
 ExtensionInterface getModule()
          Gets the data in the following variable: The actual Extension module itself.
 java.lang.String getName()
          Gets the data in the following variable: The name of the Extension module.
 void setModule(ExtensionInterface data)
          Sets the data in the following variable: The actual Extension module itself.
 void setName(java.lang.String data)
          Sets the data in the following variable: The name of the Extension module.
 java.lang.String toString()
          This function returns the String form of the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The name of the Extension module.

module

protected ExtensionInterface module
The actual Extension module itself.
Constructor Detail

ExtensionModuleInfo

public ExtensionModuleInfo()
Default Constructor.

ExtensionModuleInfo

public ExtensionModuleInfo(java.lang.String name,
                           ExtensionInterface module)
Initialising Constructor.
Parameters:
name - The name of the Extension module.
module - The actual Extension module itself.
Method Detail

getName

public java.lang.String getName()
Gets the data in the following variable: The name of the Extension module.
Returns:
String containing the required information.

getModule

public ExtensionInterface getModule()
Gets the data in the following variable: The actual Extension module itself.
Returns:
ExtensionInterface containing the required information.

setName

public void setName(java.lang.String data)
Sets the data in the following variable: The name of the Extension module.
Parameters:
data - String containing the data to set the variable to.

setModule

public void setModule(ExtensionInterface data)
Sets the data in the following variable: The actual Extension module itself.
Parameters:
data - ExtensionInterface containing the data to set the variable to.

toString

public java.lang.String toString()
This function returns the String form of the data.
Overrides:
toString in class java.lang.Object
Returns:
String containing the string version of this class.


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.