public class SqlFieldPhoneNo extends SqlField
BOOL, DATE, JCOMBOBOXB, JCOMBOBOXD, JCOMBOBOXDC, JCOMBOBOXENUMB, JCOMBOBOXENUMD, JCOMBOBOXENUMDC, JCOMBOBOXENUMF, JCOMBOBOXENUMI, JCOMBOBOXENUML, JCOMBOBOXENUMP, JCOMBOBOXENUMS, JCOMBOBOXENUMTM, JCOMBOBOXENUMTS, JCOMBOBOXF, JCOMBOBOXI, JCOMBOBOXL, JCOMBOBOXP, JCOMBOBOXS, JCOMBOBOXTM, JCOMBOBOXTS, PHONENO, TEXT, TEXTDOUBLE, TEXTFLOAT, TEXTINT, TEXTLONG, TEXTPSWD, TIME, TIMESTAMP
Constructor | Description |
---|---|
SqlFieldPhoneNo(JPhoneNo pn,
java.lang.String colName) |
Initialization
|
SqlFieldPhoneNo(JPhoneNo pn,
java.lang.String defaultPhoneNo,
java.lang.String colName) |
Initialization
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPhoneNo() |
Get phone number
|
java.lang.String |
getPhoneNoFormatted() |
Get formatted phone number
|
java.lang.String |
getSqlPutSnippet() |
Put SqlSnippet
|
java.lang.String |
presentData(java.lang.String in) |
Format data to phoneNo
|
void |
resetField() |
Reset field to defaults
|
void |
setEnableEdit(boolean enableEdit) |
Enable/disable field editing
|
void |
setField(java.sql.ResultSet rs) |
Set field from ResultSet
|
void |
setPhoneNo(java.lang.String p) |
Set phone number
|
java.lang.String |
toString() |
Return type and data
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnableToggle, getSqlColNames, getSqlSnippet, getType, setEnableToggle
public SqlFieldPhoneNo(JPhoneNo pn, java.lang.String colName)
pn
- colName
- public SqlFieldPhoneNo(JPhoneNo pn, java.lang.String defaultPhoneNo, java.lang.String colName)
pn
- defaultPhoneNo
- colName
- public java.lang.String getPhoneNo()
public java.lang.String getPhoneNoFormatted()
public java.lang.String getSqlPutSnippet()
getSqlPutSnippet
in class SqlField
public java.lang.String presentData(java.lang.String in)
presentData
in class SqlField
public java.lang.String toString()
public void resetField()
resetField
in class SqlField
public void setField(java.sql.ResultSet rs)
public void setPhoneNo(java.lang.String p)
p
- public void setEnableEdit(boolean enableEdit)
setEnableEdit
in class SqlField
enableEdit
-