All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cmu.paid.network.CarObject

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

public class CarObject
extends DataObject
implements Serializable

Variable Index

 o location
 o ownerFirstName
 o ownerLastName

Constructor Index

 o CarObject()

Method Index

 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 location
 public String location
 o ownerLastName
 public String ownerLastName
 o ownerFirstName
 public String ownerFirstName

Constructors

 o CarObject
 public CarObject()

Methods

 o setValue
 public 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
Overrides:
setValue in class DataObject
 o getLocation
 public String[] getLocation(DataObject d)
getLocation determines the location of a particular DataObject.

Overrides:
getLocation in class DataObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index