|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.database.Field
public class Field
This is used to represent a field in a database table. It is mainly used for inserting rows into tables.
Constructor Summary | |
---|---|
Field(java.lang.String key,
java.lang.Object value)
Used to construct the filed. |
Method Summary | |
---|---|
java.lang.String |
getKey()
Used to get a the key of the field in the table |
java.lang.Object |
getValue()
Used to get the value of the field |
void |
setKey(java.lang.String key)
Used to set the key of the field |
void |
setValue(java.lang.Object value)
USed to set the value of the field |
java.lang.String |
toString()
Print out the fields key and value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Field(java.lang.String key, java.lang.Object value)
key
- The key of the filedvalue
- The value of the filedMethod Detail |
---|
public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key of the fieldpublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- The value of the fieldpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |