org.ow2.jonas.webapp.jonasadmin.common
Class ModuleItem

java.lang.Object
  extended by org.ow2.jonas.webapp.jonasadmin.common.ModuleItem
All Implemented Interfaces:
Serializable, NameItem

public class ModuleItem
extends Object
implements NameItem

Author:
Adriana.Danes@objectweb.org ModuleItem objects are used to show management information concerning modules in a J2EEApplication.
See Also:
Serialized Form

Constructor Summary
ModuleItem()
          Default constructor
ModuleItem(String name, String objectName, String filePath)
          Constructor
 
Method Summary
 String getFilePath()
           
 String getName()
           
 String getObjectName()
           
 void setFilePath(String filePath)
           
 void setName(String name)
           
 void setObjectName(String objectName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleItem

public ModuleItem()
Default constructor


ModuleItem

public ModuleItem(String name,
                  String objectName,
                  String filePath)
Constructor

Parameters:
name - the module's name
objectName - the OBJECT_NAME of the J2EEDeployedObject corresponding to the module
filePath - the path of the source file
Method Detail

getName

public String getName()
Specified by:
getName in interface NameItem
Returns:
Returns the module's name.

setName

public void setName(String name)
Parameters:
name - the module name

getObjectName

public String getObjectName()
Returns:
Returns the OBJECT_NAME of the corresponding MBean.

setObjectName

public void setObjectName(String objectName)
Parameters:
objectName - The OBJECT_NAME to set.

getFilePath

public String getFilePath()
Returns:
Returns the filePath.

setFilePath

public void setFilePath(String filePath)
Parameters:
filePath - The filePath to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.