org.apache.jetspeed.om.registry.base
Class BaseToolDescriptor

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseToolDescriptor
All Implemented Interfaces:
java.io.Serializable, ToolDescriptor

public class BaseToolDescriptor
extends java.lang.Object
implements ToolDescriptor, java.io.Serializable

Bean-like implementation of the ToolDescriptor interface

Version:
$Id: BaseToolDescriptor.java,v 1.3 2005/03/21 18:21:37 sgala Exp $
Author:
Raphaël Luta
See Also:
Serialized Form

Constructor Summary
BaseToolDescriptor()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Implements the equals operation so that 2 elements are equal if all their member values are equal.
 java.lang.String getClassname()
           
 java.lang.String getName()
           
 java.lang.String getScope()
           
 void setClassname(java.lang.String classname)
          Sets the classname of this tool
 void setName(java.lang.String name)
          Sets the name for this tool
 void setScope(java.lang.String scope)
          Sets the scope of this tool.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseToolDescriptor

public BaseToolDescriptor()
Method Detail

equals

public boolean equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal.


getName

public java.lang.String getName()
Specified by:
getName in interface ToolDescriptor
Returns:
the name of the tool

setName

public void setName(java.lang.String name)
Sets the name for this tool

Specified by:
setName in interface ToolDescriptor

getScope

public java.lang.String getScope()
Specified by:
getScope in interface ToolDescriptor
Returns:
the scope of this tool

setScope

public void setScope(java.lang.String scope)
Sets the scope of this tool. The currently recognized scope are "request", "session", "persistent", "global"

Specified by:
setScope in interface ToolDescriptor
Parameters:
scope - the new scope of this tool

getClassname

public java.lang.String getClassname()
Specified by:
getClassname in interface ToolDescriptor
Returns:
the clasname of this tool

setClassname

public void setClassname(java.lang.String classname)
Sets the classname of this tool

Specified by:
setClassname in interface ToolDescriptor
Parameters:
classname - the new classname of this tool


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.