|
/*
* NameRow.java
*
* © <your company here>, 2003-2005
* Confidential and proprietary.
*/
package myapp;
/**
* Hold a row of the Name table as an object
*/
class NameRow {
public NameRow( String nameID, String name ) {
_nameID = nameID;
_name = name;
}
public String getNameID(){
return _nameID;
}
public String getName(){
return _name;
}
/**
* Required for use by the ObjectListField in HomeScreen
*
* @return The Name as a string
*/
public String toString(){
return _name;
}
private String _nameID;
private String _name;
} |