edu.iastate.metnet.db
Class TableClassRelation
java.lang.Object
edu.iastate.metnet.db.AbstractMetNetTable
edu.iastate.metnet.db.TableClassRelation
- All Implemented Interfaces:
- IMetNETTable
public class TableClassRelation
- extends AbstractMetNetTable
+----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------+------+-----+---------+-------+
| ParentID | int(11) | | | 0 | |
| ChildID | int(11) | | | 0 | |
+----------+---------+------+-----+---------+-------+
ReturnCode rc = TableClassRelation.findOrInsert(parentID, childID);
if (!rc.isDuplicated) {
int parentID = Integer.parseInt(rc.getValue().toString);
}
- Since:
- 6/12/04
- Author:
- Jie Li
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSharedInstance
public static TableClassRelation getSharedInstance()
getSelectSQL
public java.lang.String getSelectSQL(int parentID,
int childID)