org.opengts.db.tables
Class SystemProps
java.lang.Object
org.opengts.dbtools.DBRecord<SystemProps>
org.opengts.db.tables.SystemProps
public class SystemProps
- extends DBRecord<SystemProps>
| Fields inherited from class org.opengts.dbtools.DBRecord |
errorDescription, excludedUpdateFields, FLD_creationMillis, FLD_creationTime, FLD_description, FLD_lastUpdateTime, FLD_lastUpdateUser, hasError, ID_SIZE, isValidating, lastSQLException, NOTIFY_GROUP, PSEUDO_FIELD_CHAR |
|
Method Summary |
static java.lang.String |
getDMTPVersion()
|
static java.lang.String |
getDMTPVersion(java.lang.String dft)
|
double |
getDoubleValue(double dft)
|
static double |
getDoubleValue(java.lang.String propKey,
double dft)
|
static DBFactory<SystemProps> |
getFactory()
|
float |
getFloatValue(float dft)
|
static float |
getFloatValue(java.lang.String propKey,
float dft)
|
static java.lang.String |
getGTSVersion()
|
static java.lang.String |
getGTSVersion(java.lang.String dft)
|
int |
getIntValue(int dft)
|
static int |
getIntValue(java.lang.String propKey,
int dft)
|
long |
getLongValue(long dft)
|
static long |
getLongValue(java.lang.String propKey,
long dft)
|
static SystemProps |
getProperty(java.lang.String propKey)
|
static SystemProps |
getProperty(java.lang.String propKey,
boolean create)
|
java.lang.String |
getPropertyID()
|
java.lang.String |
getStringValue()
|
static java.lang.String |
getStringValue(java.lang.String propKey,
java.lang.String dft)
|
static java.lang.String |
getTableDescription(java.util.Locale loc)
|
java.lang.String |
getValue()
|
static void |
main(java.lang.String[] argv)
|
void |
setCreationDefaultValues()
Override to set default values |
void |
setDoubleValue(double v)
|
static boolean |
setDoubleValue(java.lang.String propKey,
double v)
|
void |
setFloatValue(float v)
|
static boolean |
setFloatValue(java.lang.String propKey,
float v)
|
void |
setIntValue(int v)
|
static boolean |
setIntValue(java.lang.String propKey,
int v)
|
void |
setLongValue(long v)
|
static boolean |
setLongValue(java.lang.String propKey,
long v)
|
void |
setStringValue(java.lang.String v)
|
static boolean |
setStringValue(java.lang.String propKey,
java.lang.String value)
|
void |
setValue(java.lang.String v)
|
static java.lang.String |
TABLE_NAME()
|
static void |
updateVersions()
|
| Methods inherited from class org.opengts.dbtools.DBRecord |
_getFactory, _reload, addChangedNotification, addExcludedUpdateFields, appendFieldValues, clearChanged, clearError, clearExcludedUpdateFields, clearLastCaughtSQLException, equals, excludeFieldFromUpdate, excludeFieldFromUpdate, fireChangeNotification, getCreationDateTime, getCreationMillis, getCreationTime, GetCurrentUser, getDefaultFieldValueKey, getDescription, getErrorDescription, getFactory, getFactory, getField, getFieldBoolean, getFieldDateTime, getFieldDouble, getFieldFloat, getFieldInt, getFieldLong, getFieldName, getFieldString, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getLastCaughtSQLException, getLastUpdateTime, getLastUpdateTime, getLastUpdateUser, getNextGroup, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getRecordCount, getRecordCount, getRecordCount, getRecordCount, getRecordCount, getRecordKey, getRecords, getRecords, getValue, getVirtual, hasChanged, hasError, hasField, hasFieldValue, insert, isLastCaughtSQLExceptionErrorCode, isOkToReload, isOkToSave, isValidating, isVirtual, lock, lockRead, lockWrite, newField_creationMillis, newField_creationTime, newField_creationTime, newField_description, newField_description, newField_lastUpdateTime, newField_lastUpdateUser, printXML, printXML, printXML, printXML, printXML, printXML, recordDidInsert, recordDidUpdate, recordWillInsert, recordWillUpdate, reload, reload, removeChangedNotification, save, select, select, select, setAllFieldValues, setAllFieldValues, setAllFieldValues, setAllFieldValues, setChanged, setChanged, setCreationMillis, setCreationTime, SetCurrentUser, setDescription, setError, setError, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setIgnoreInvalidFields, setLastCaughtSQLException, setLastUpdateTime, setLastUpdateUser, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setRuntimeDefaultValues, setValidating, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVirtual, toString, toXML, toXML, toXML, toXML, toXML, unlock, update, update, update |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GTS_VERSION
public static final java.lang.String GTS_VERSION
- See Also:
- Constant Field Values
DMTP_VERSION
public static final java.lang.String DMTP_VERSION
- See Also:
- Constant Field Values
FLD_propertyID
public static final java.lang.String FLD_propertyID
- See Also:
- Constant Field Values
FLD_value
public static final java.lang.String FLD_value
- See Also:
- Constant Field Values
SystemProps
public SystemProps()
SystemProps
public SystemProps(SystemProps.Key key)
TABLE_NAME
public static java.lang.String TABLE_NAME()
getFactory
public static DBFactory<SystemProps> getFactory()
getTableDescription
public static java.lang.String getTableDescription(java.util.Locale loc)
getPropertyID
public java.lang.String getPropertyID()
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String v)
setCreationDefaultValues
public void setCreationDefaultValues()
- Description copied from class:
DBRecord
- Override to set default values
- Overrides:
setCreationDefaultValues in class DBRecord<SystemProps>
getStringValue
public java.lang.String getStringValue()
getIntValue
public int getIntValue(int dft)
getLongValue
public long getLongValue(long dft)
getFloatValue
public float getFloatValue(float dft)
getDoubleValue
public double getDoubleValue(double dft)
setStringValue
public void setStringValue(java.lang.String v)
setIntValue
public void setIntValue(int v)
setLongValue
public void setLongValue(long v)
setFloatValue
public void setFloatValue(float v)
setDoubleValue
public void setDoubleValue(double v)
getProperty
public static SystemProps getProperty(java.lang.String propKey)
throws DBException
- Throws:
DBException
getProperty
public static SystemProps getProperty(java.lang.String propKey,
boolean create)
throws DBException
- Throws:
DBException
getStringValue
public static java.lang.String getStringValue(java.lang.String propKey,
java.lang.String dft)
getIntValue
public static int getIntValue(java.lang.String propKey,
int dft)
getLongValue
public static long getLongValue(java.lang.String propKey,
long dft)
getFloatValue
public static float getFloatValue(java.lang.String propKey,
float dft)
getDoubleValue
public static double getDoubleValue(java.lang.String propKey,
double dft)
setStringValue
public static boolean setStringValue(java.lang.String propKey,
java.lang.String value)
setIntValue
public static boolean setIntValue(java.lang.String propKey,
int v)
setLongValue
public static boolean setLongValue(java.lang.String propKey,
long v)
setFloatValue
public static boolean setFloatValue(java.lang.String propKey,
float v)
setDoubleValue
public static boolean setDoubleValue(java.lang.String propKey,
double v)
getGTSVersion
public static java.lang.String getGTSVersion(java.lang.String dft)
getGTSVersion
public static java.lang.String getGTSVersion()
getDMTPVersion
public static java.lang.String getDMTPVersion(java.lang.String dft)
getDMTPVersion
public static java.lang.String getDMTPVersion()
updateVersions
public static void updateVersions()
main
public static void main(java.lang.String[] argv)