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
   
  
  -  
	carClass
   -  
  
 -  
	modelNumber
   -  
  
 -  
	modelYear
   -  
  
 -  
	price
   -  
  
 -  
	serialNumber
   -  
 
  
  -  
	DataObject()
   -  
 
  
  -  
	getData()
   -  getData is to be called by UI to fetch the requested data
  
 -  
	getDataForNetwork()
   -  getDataForNetwork is to be called by Network to fetch the requested data
  
 -  
	getLocation(DataObject)
   -  getLocation determines the location of a particular DataObject.
  
 -  
	setValue(String, String)
   -  This method sets a value into local storage.
 
  
price
 public double price
serialNumber
 public String serialNumber
modelNumber
 public int modelNumber
modelYear
 public int modelYear
carClass
 public String carClass
  
DataObject
 public DataObject()
  
getData
 public Vector getData()
  -  getData is to be called by UI to fetch the requested data
  
    -  Returns:
    
 -  Vector of requested Car Objects
  
 
 
 
getDataForNetwork
 public Vector getDataForNetwork()
  -  getDataForNetwork is to be called by Network to fetch the requested data
  
    -  Returns:
    
 -  Vector of requested Car Objects
  
 
 
 
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.
  
 
 
 
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)