public class WSConnectionSettings extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException| Modifier and Type | Field and Description |
|---|---|
static BooleanField |
Enabled |
static StringField |
Host |
static IntField |
HttpConnectTimeoutMillis |
static IntField |
HttpReadTimeoutMillis |
static IdentityField |
Id |
static RecordMeta<WSConnectionSettings> |
META |
static IntField |
PingMaxMissed |
static IntField |
PingRateMillis |
static IntField |
PingTimeoutMillis |
static IntField |
Port |
static BooleanField |
UseSSL |
static IntField |
WSTimeoutMillis |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE| Constructor and Description |
|---|
WSConnectionSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromPojo(GanSetupItem ganSetup)
Updates record settings, using a GanSetupItem for reference
|
java.util.Properties |
getAllProperties(int index)
Returns a Properties object that can be used to completely recreate a WSConnectionSettings record from
properties.
|
java.util.Properties |
getConnectProperties()
Returns a Properties object that holds all properties needed to create a Metro Connection.
|
java.lang.String |
getFactoryId() |
java.lang.String |
getHost() |
java.lang.Long |
getId() |
RecordMeta<WSConnectionSettings> |
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() |
int |
getPort() |
boolean |
isEnabled() |
boolean |
isSSL() |
GanSetupItem |
toPojo() |
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesallFields, 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, wasInCachepublic static final RecordMeta<WSConnectionSettings> META
public static final IdentityField Id
public static final StringField Host
public static final IntField Port
public static final BooleanField Enabled
public static final BooleanField UseSSL
public static final IntField PingRateMillis
public static final IntField PingTimeoutMillis
public static final IntField PingMaxMissed
public static final IntField WSTimeoutMillis
public static final IntField HttpConnectTimeoutMillis
public static final IntField HttpReadTimeoutMillis
public RecordMeta<WSConnectionSettings> getMeta()
SRecordInstance
SRecord getMeta() {
return meta;
};
The actual meta variable is thus not Serialized, but it would not be anyway as it is usually static.
getMeta in class PersistentRecordpublic java.lang.String getName()
public java.lang.String getHost()
public int getPort()
public boolean isEnabled()
public boolean isSSL()
public java.lang.Long getId()
public java.lang.String getFactoryId()
public java.util.Properties getConnectProperties()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Properties getAllProperties(int index)
public void fromPojo(GanSetupItem ganSetup)
public GanSetupItem toPojo()