All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cmu.paid.network.DataObject

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

public abstract class DataObject
extends Object
implements Serializable

Variable Index

 o carClass
 o modelNumber
 o modelYear
 o price
 o serialNumber

Constructor Index

 o DataObject()

Method Index

 o getData()
getData is to be called by UI to fetch the requested data
 o getDataForNetwork()
getDataForNetwork is to be called by Network to fetch the requested data
 o getLocation(DataObject)
getLocation determines the location of a particular DataObject.
 o setValue(String, String)
This method sets a value into local storage.

Variables

 o price
 public double price
 o serialNumber
 public String serialNumber
 o modelNumber
 public int modelNumber
 o modelYear
 public int modelYear
 o carClass
 public String carClass

Constructors

 o DataObject
 public DataObject()

Methods

 o getData
 public Vector getData()
getData is to be called by UI to fetch the requested data

Returns:
Vector of requested Car Objects
 o getDataForNetwork
 public Vector getDataForNetwork()
getDataForNetwork is to be called by Network to fetch the requested data

Returns:
Vector of requested Car Objects
 o getLocation
 public abstract String[] getLocation(DataObject d)
getLocation determines the location of a particular DataObject.

Parameters:
d - The Data Object to locate.
Returns:
Vector of server names where the object is stored.
 o setValue
 public abstract void setValue(String name,
                               String value)
This method sets a value into local storage.

Parameters:
name - the name associated with this value
value - the value

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)