All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cmu.paid.network.Database

java.lang.Object
   |
   +----edu.cmu.paid.network.Database

public class Database
extends Object

Constructor Index

 o Database()
Create a new Database object.

Method Index

 o addData(Data, String)
Add a data object to database.
 o getData(String)
Get a data object from database.

Constructors

 o Database
 public Database()
Create a new Database object.

Methods

 o addData
 public void addData(Data d,
                     String key)
Add a data object to database.

Parameters:
d - Data object to add.
key - Key to associate with object.
 o getData
 public Data getData(String key)
Get a data object from database.

Parameters:
key - Key of object to get.
Returns:
Data object associated with key; null if key is not recognized.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

This page is hosted by the Chair for Applied Software Engineering of the Technische Universität München.
Imprint (Impressum)