it.eng.qbe.datasource
Class AbstractDataSource

java.lang.Object
  extended by it.eng.qbe.datasource.AbstractDataSource
All Implemented Interfaces:
IDataSource
Direct Known Subclasses:
AbstractHibernateDataSource

public class AbstractDataSource
extends java.lang.Object
implements IDataSource

The Class AbstractDataSource.

Author:
Andrea Gioia

Field Summary
 
Fields inherited from interface it.eng.qbe.datasource.IDataSource
COMPOSITE_HIBERNATE_DS_TYPE, HIBERNATE_DS_TYPE
 
Constructor Summary
AbstractDataSource()
           
 
Method Summary
 java.lang.String getName()
          Gets the name.
 DatamartProperties getProperties()
          Gets the properties.
 int getType()
          Gets the type.
 void setName(java.lang.String name)
          Sets the name.
 void setProperties(DatamartProperties properties)
          Sets the properties.
protected  void setType(int type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDataSource

public AbstractDataSource()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IDataSource
Gets the name.

Specified by:
getName in interface IDataSource
Returns:
the name

setName

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

Parameters:
name - the new name

setType

protected void setType(int type)
Sets the type.

Parameters:
type - the new type

getType

public int getType()
Description copied from interface: IDataSource
Gets the type.

Specified by:
getType in interface IDataSource
Returns:
the type

getProperties

public DatamartProperties getProperties()
Description copied from interface: IDataSource
Gets the properties.

Specified by:
getProperties in interface IDataSource
Returns:
the properties

setProperties

public void setProperties(DatamartProperties properties)
Description copied from interface: IDataSource
Sets the properties.

Specified by:
setProperties in interface IDataSource
Parameters:
properties - the new properties