Class SmtpSettings
- java.lang.Object
- 
- simpleorm.dataset.SRecordInstance
- 
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
- 
- com.inductiveautomation.ignition.gateway.smtp.SmtpSettings
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class SmtpSettings extends PersistentRecord Filename: SmtpSettings.java Created on Jan 15, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: SRGateway- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstanceSRecordInstance.BrokenOptimisticLockException
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static BooleanFieldDebugModeEnabledstatic StringFieldDescriptionstatic StringFieldHostnamestatic IdentityFieldIdstatic RecordMeta<SmtpSettings>METAstatic StringFieldNamestatic EncodedStringFieldPasswordstatic IntFieldPortstatic LongFieldSmtpTimeoutstatic StringFieldSSLProtocolsstatic BooleanFieldStartTlsEnabledstatic StringFieldUsernamestatic BooleanFieldUseSSLPort- 
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordDEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SmtpSettings()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHostname()java.lang.LonggetId()RecordMeta<?>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.StringgetName()java.lang.StringgetPassword()intgetPort()longgetSmtpTimeout()java.lang.StringgetSslProtocols()The list of protocols is comma separated (to be nicer to users) but needs to be whitespace delimited when actually set on the property.java.lang.StringgetUsername()booleanisDebugModeEnabled()booleanisStartTlsEnabled()Use StartTlsbooleanisUseSSLport()Use Ssl/Tls port- 
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordgetBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
 - 
Methods inherited from class simpleorm.dataset.SRecordInstanceallFields, 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- 
METApublic static final RecordMeta<SmtpSettings> META 
 - 
Idpublic static final IdentityField Id 
 - 
Namepublic static final StringField Name 
 - 
Descriptionpublic static final StringField Description 
 - 
Hostnamepublic static final StringField Hostname 
 - 
Portpublic static final IntField Port 
 - 
UseSSLPortpublic static final BooleanField UseSSLPort 
 - 
StartTlsEnabledpublic static final BooleanField StartTlsEnabled 
 - 
Usernamepublic static final StringField Username 
 - 
Passwordpublic static final EncodedStringField Password 
 - 
SmtpTimeoutpublic static final LongField SmtpTimeout 
 - 
DebugModeEnabledpublic static final BooleanField DebugModeEnabled 
 - 
SSLProtocolspublic static final StringField SSLProtocols 
 
- 
 - 
Method Detail- 
getMetapublic RecordMeta<?> getMeta() Description copied from class:SRecordInstanceThis 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 metavariable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
- getMetain class- PersistentRecord
 
 - 
getIdpublic java.lang.Long getId() 
 - 
getNamepublic java.lang.String getName() 
 - 
getHostnamepublic java.lang.String getHostname() 
 - 
getPortpublic int getPort() 
 - 
isUseSSLportpublic boolean isUseSSLport() Use Ssl/Tls port
 - 
isStartTlsEnabledpublic boolean isStartTlsEnabled() Use StartTls
 - 
getSslProtocolspublic java.lang.String getSslProtocols() The list of protocols is comma separated (to be nicer to users) but needs to be whitespace delimited when actually set on the property.
 - 
getUsernamepublic java.lang.String getUsername() 
 - 
getPasswordpublic java.lang.String getPassword() 
 - 
getSmtpTimeoutpublic long getSmtpTimeout() 
 - 
isDebugModeEnabledpublic boolean isDebugModeEnabled() 
 
- 
 
-