org.tubo.resource.baseimpl
Class BaseResourceImpl

java.lang.Object
  extended by org.tubo.resource.baseimpl.BaseResourceImpl
All Implemented Interfaces:
Resource
Direct Known Subclasses:
BaseConsumerImpl

public class BaseResourceImpl
extends java.lang.Object
implements Resource

Created: Sep 3, 2006, 10:38:11 AM Last Modification Date: $Date: 2006-10-19 12:11:35 -0300 (Thu, 19 Oct 2006) $

Version:
$Revision: 17 $
Author:
maldito_orco (maldito_orco@users.sourceforge.net)

Field Summary
static java.lang.String RCS_ID
           
 
Constructor Summary
BaseResourceImpl()
           
 
Method Summary
 java.lang.String getId()
          Return a reference to a resource
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String name)
           
 ResourceManager getResourceManager()
          Get for the ResourceManager linked to this Resource
 void setId(java.lang.String id)
           
 void setProperties(java.util.Properties properties)
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 void setResourceManager(ResourceManager resourceManager)
          Set for the ResourceManager for this Resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values
Constructor Detail

BaseResourceImpl

public BaseResourceImpl()
Method Detail

getId

public java.lang.String getId()
Description copied from interface: Resource
Return a reference to a resource

Specified by:
getId in interface Resource
Returns:
reference to a resource

setId

public void setId(java.lang.String id)

getResourceManager

public ResourceManager getResourceManager()
Get for the ResourceManager linked to this Resource

Returns:
the ResourceManager for this Resource

setResourceManager

public void setResourceManager(ResourceManager resourceManager)
                        throws TuboException
Set for the ResourceManager for this Resource

Parameters:
resourceManager - the ResourceManager for this Resource
Throws:
TuboException

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties properties)

getProperty

public java.lang.String getProperty(java.lang.String name)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)


Copyright © 2004-2007 Tubo. All Rights Reserved.