public class ExternalDatabaseInformation extends MBScriptableObject
ExternalSQLDataSource
,
ServerConfiguration
,
Serialized FormmyLogger
Constructor and Description |
---|
ExternalDatabaseInformation() |
Modifier and Type | Method and Description |
---|---|
void |
jsConstructor(java.lang.String theConnectionString,
java.lang.String theUserName,
java.lang.String thePassword)
Javascript constructor.
|
java.lang.String |
jsFunction_getHost()
Returns the hostname.
|
java.lang.String |
jsFunction_getName()
Returns the database name.
|
java.lang.String |
jsFunction_getPassword()
Returns the database password.
|
int |
jsFunction_getPort()
Returns the port.
|
java.lang.String |
jsFunction_getType()
Returns the database type.
|
java.lang.String |
jsFunction_getUrl()
Returns the database url.
|
java.lang.String |
jsFunction_getUsername()
Returns the username.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public void jsConstructor(java.lang.String theConnectionString, java.lang.String theUserName, java.lang.String thePassword)
theConnectionString
- The string to use to connect to the external database. See "Enterprise" tab of
MediaBeacon core for a live example.theUserName
- The username to authenticate to the external database with.thePassword
- The password to authenticate to the external database with.public java.lang.String jsFunction_getHost()
java.lang.IllegalStateException
- if database info is not availablepublic int jsFunction_getPort()
java.lang.IllegalStateException
- if database info is not availablepublic java.lang.String jsFunction_getType()
java.lang.IllegalStateException
- if database info is not availablepublic java.lang.String jsFunction_getName()
java.lang.IllegalStateException
- if database info is not availablepublic java.lang.String jsFunction_getUrl()
java.lang.IllegalStateException
- if database info is not availablepublic java.lang.String jsFunction_getUsername()
java.lang.IllegalStateException
- if database info is not availablepublic java.lang.String jsFunction_getPassword()
java.lang.IllegalStateException
- if database info is not availableCopyright © 2023 MediaBeacon, Inc. All Rights Reserved.