edu.iu.iv.core.persistence
Interface DatabaseResourceDescriptor

All Superinterfaces:
ResourceDescriptor

public interface DatabaseResourceDescriptor
extends ResourceDescriptor

A descriptor that holds all data necessary for persisteing to and restoring from a database. This is currently not implemented.

Version:
0.1
Author:
Team IVC

Method Summary
 java.lang.String getDatabaseName()
          Gets the name of the database.
 java.lang.String getHostName()
          Gets the host name on which the databse is hosted.
 int getPort()
          Gets the port through which the database is to be accessed.
 

Method Detail

getDatabaseName

public java.lang.String getDatabaseName()
Gets the name of the database.

Returns:
The name of the database.

getHostName

public java.lang.String getHostName()
Gets the host name on which the databse is hosted.

Returns:
The hostname of the DB.

getPort

public int getPort()
Gets the port through which the database is to be accessed.

Returns:
The port of the DB.