Class JDBCDriverRecord
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.ignition.gateway.datasource.records.JDBCDriverRecord
-
- All Implemented Interfaces:
JDBCDriver
,java.io.Serializable
public class JDBCDriverRecord extends PersistentRecord implements JDBCDriver
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JDBCDriverRecord.JarFilesMessage
-
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
-
Field Summary
Fields Modifier and Type Field Description static StringField
Classname
static EnumField<DatabaseVendor>
DBType
static StringField
DefaultPropInstructions
static StringField
DefaultProps
static ReferenceField<DBTranslatorRecord>
DefaultTranslator
static LongField
DefaultTranslatorId
static StringField
DefaultValidationQuery
static StringField
Description
static IdentityField
Id
static StringField
JarFile
static java.lang.String
JARFILE_PROTOCOL
static RecordMeta<JDBCDriverRecord>
META
static StringField
Name
static StringField
URLFormat
static StringField
URLInstructions
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description JDBCDriverRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassname()
java.lang.String
getDescription()
java.lang.Long
getId()
RecordMeta<JDBCDriverRecord>
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.java.lang.String
getName()
DatabaseVendor
getVendor()
Returns the type of database that this driver connects to.-
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
-
Methods inherited from class simpleorm.dataset.SRecordInstance
allFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
-
-
-
-
Field Detail
-
JARFILE_PROTOCOL
public static java.lang.String JARFILE_PROTOCOL
-
META
public static final RecordMeta<JDBCDriverRecord> META
-
Id
public static final IdentityField Id
-
Name
public static final StringField Name
-
Description
public static final StringField Description
-
DBType
public static final EnumField<DatabaseVendor> DBType
-
DefaultTranslatorId
public static final LongField DefaultTranslatorId
-
DefaultTranslator
public static final ReferenceField<DBTranslatorRecord> DefaultTranslator
-
Classname
public static final StringField Classname
-
JarFile
public static final StringField JarFile
-
URLFormat
public static final StringField URLFormat
-
URLInstructions
public static final StringField URLInstructions
-
DefaultProps
public static final StringField DefaultProps
-
DefaultPropInstructions
public static final StringField DefaultPropInstructions
-
DefaultValidationQuery
public static final StringField DefaultValidationQuery
-
-
Method Detail
-
getMeta
public RecordMeta<JDBCDriverRecord> getMeta()
Description copied from class:SRecordInstance
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-SRecord getMeta() { return meta; };
The actual
meta
variable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMeta
in classPersistentRecord
-
getId
public java.lang.Long getId()
-
getClassname
public java.lang.String getClassname()
- Specified by:
getClassname
in interfaceJDBCDriver
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceJDBCDriver
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJDBCDriver
-
getVendor
public DatabaseVendor getVendor()
Description copied from interface:JDBCDriver
Returns the type of database that this driver connects to.- Specified by:
getVendor
in interfaceJDBCDriver
-
-