|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.dbtools.DBEdit
public class DBEdit
DBEdit
is used by a command-line tool to allow editing a table record.
Constructor Summary | |
---|---|
DBEdit(DBRecord rcd)
Constructor |
|
DBEdit(DBRecordKey key)
Constructor |
Method Summary | |
---|---|
protected boolean |
_edit(boolean allFlds)
Display edit session |
boolean |
edit()
Display edit session |
boolean |
edit(boolean allFlds)
Display edit session |
boolean |
editField(DBField fld)
Edit the specified field |
void |
print(boolean allFlds)
Displays editable fields to the console |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBEdit(DBRecordKey key)
key
- The DBrecordKey to editpublic DBEdit(DBRecord rcd)
rcd
- The DBRecord to editMethod Detail |
---|
public void print(boolean allFlds)
allFlds
- True to display all fields, false to show only editable fieldspublic boolean editField(DBField fld) throws java.io.IOException
fld
- The field to edit
java.io.IOException
- if an I/O error occurs in inputpublic boolean edit() throws java.io.IOException
java.io.IOException
- if an I/O error occurs in inputpublic boolean edit(boolean allFlds) throws java.io.IOException
allFlds
- True to display/edit all fields, false to display/edit only editable fields
java.io.IOException
- if an I/O error occurs in inputprotected boolean _edit(boolean allFlds) throws java.io.IOException
allFlds
- True to display/edit all fields, false to display/edit only editable fields
java.io.IOException
- if an I/O error occurs in input
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |