|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.dbtools.DBFieldType
org.opengts.dbtypes.DTTemplate
public class DTTemplate
| Nested Class Summary | |
|---|---|
static class |
DTTemplate.Field
DTTemplate Field inner class |
| Constructor Summary | |
|---|---|
DTTemplate()
Default constructor |
|
DTTemplate(java.sql.ResultSet rs,
java.lang.String fldName)
Constructor |
|
DTTemplate(java.lang.String template)
Constructor |
|
| Method Summary | |
|---|---|
void |
clearFields()
Clears all fields defined by this DTTemplate |
DTTemplate.Field |
getField(int ndx)
Returns the field at the specified index |
int |
getFieldCount()
Gets the field count |
java.lang.Object |
getObject()
Returns the String representation of this DTTemplate |
void |
setField(int ndx,
DTTemplate.Field fld)
Sets the field at the specified index |
java.lang.String |
toString()
Returns the String representation of this DTTemplate |
| Methods inherited from class org.opengts.dbtools.DBFieldType |
|---|
equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DTTemplate()
public DTTemplate(java.lang.String template)
template - The template String representation
public DTTemplate(java.sql.ResultSet rs,
java.lang.String fldName)
throws java.sql.SQLException
rs - SQL ResultSetfldName - Field name in ResultSet containing the field template
java.sql.SQLException| Method Detail |
|---|
public java.lang.Object getObject()
getObject in class DBFieldTypepublic java.lang.String toString()
toString in class DBFieldTypepublic void clearFields()
public DTTemplate.Field getField(int ndx)
ndx - The index of the field to return
public int getFieldCount()
public void setField(int ndx,
DTTemplate.Field fld)
ndx - The index of the field to setfld - The field to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||