|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractBuildableObject
oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.AbstractSchemaObject
oracle.javatools.db.ora.DatabaseLink
public class DatabaseLink
Model of a database DatabaseLink. A DatabaseLink is a reference to another database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport |
Field Summary | |
---|---|
static java.lang.String |
PUBLIC_TYPE |
static java.lang.String |
TYPE |
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
DatabaseLink() Construct a new DatabaseLink |
|
DatabaseLink(java.lang.String name, Schema schema, DBObjectID id) Construct a new DatabaseLink . |
Method Summary | |
---|---|
java.lang.String |
getAuthentificationPassword() Retrieves the password for the authentification user. |
java.lang.String |
getAuthentificationPasswordX() Retrieves the encrypted password for the authentification user. |
java.lang.String |
getAuthentificationUser() Deprecated. |
java.lang.String |
getAuthentificationUsername() Retrieves the user name for authentificating shared links |
java.lang.Boolean |
getConnectToUser() Whether this database link is connected via the connected user, the current user or a fixed user. |
java.lang.String |
getCreated() Retrieves the dblink creation date. |
DBObjectProvider |
getDBLink() Deprecated. with no replacement. |
java.lang.String |
getHost() Retrieves the SQL*Net string for connect. |
java.lang.String |
getPassword() Retrieves the password for the user. |
java.lang.String |
getPasswordX() Retrieves the encrypted password for the user. |
java.lang.String |
getType() Returns the type of this object. |
java.lang.String |
getUsername() Retrieves the user name for the connention |
boolean |
isCurrentUser() Deprecated. use getConnectToUser() instead. |
boolean |
isPublic() Whether this database link is public. |
boolean |
isShared() Whether this database link is shared. |
void |
setAuthentificationPassword(java.lang.String authentificationPassword) Set the password for the authentification user |
void |
setAuthentificationPasswordX(java.lang.String encryptedPassword) Set the encrypted password for the authentification user. |
void |
setAuthentificationUsername(java.lang.String authentificationUsername) Set the user name for authentificating shared links |
void |
setConnectToUser(java.lang.Boolean connectToUser) Sets how this database link is connected. |
void |
setCreated(java.lang.String created) Set the dblink creation date |
void |
setCurrentUser(boolean currentUser) Deprecated. use setConnectToUser(Boolean) instead. |
void |
setHost(java.lang.String host) Set the SQL*Net string for connect. |
void |
setPassword(java.lang.String password) Set the password for the connention |
void |
setPasswordX(java.lang.String encryptedPassword) Set the encrypted password for the connention |
void |
setPublic(boolean pub) Sets whether this database link is public. |
void |
setShared(boolean shared) Sets whether this database link is shared. |
void |
setUsername(java.lang.String username) Set the user name for the connention |
Methods inherited from class oracle.javatools.db.AbstractSchemaObject |
---|
copyToImpl, equalsImpl, getProperty, getSchema, setProperty, setSchema |
Methods inherited from class oracle.javatools.db.AbstractSystemObject |
---|
addObjectListener, addObjectListener, addObjectListener, fireObjectUpdated, getParent, removeObjectListener, removeObjectListener, removeObjectListener |
Methods inherited from class oracle.javatools.db.AbstractBuildableObject |
---|
checkInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.SchemaObject |
---|
addObjectListener, removeObjectListener |
Methods inherited from interface oracle.javatools.db.SystemObject |
---|
addObjectListener, addObjectListener, fireObjectUpdated, removeObjectListener, removeObjectListener |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, setProperties |
Field Detail |
---|
public static final java.lang.String TYPE
public static final java.lang.String PUBLIC_TYPE
Constructor Detail |
---|
public DatabaseLink()
public DatabaseLink(java.lang.String name, Schema schema, DBObjectID id)
name
- the name of the new DatabaseLinkschema
- the schema containing the DatabaseLinkid
- the id of this object.Method Detail |
---|
public java.lang.String getType()
DBObject
public boolean isPublic()
public void setPublic(boolean pub)
pub
- a boolean value indicating whether this schema is publicpublic boolean isShared()
public void setShared(boolean shared)
shared
- a boolean value indicating whether this schema is shared
@Deprecated
public boolean isCurrentUser()
getConnectToUser()
instead.
@Deprecated
public void setCurrentUser(boolean currentUser)
setConnectToUser(Boolean)
instead.public java.lang.Boolean getConnectToUser()
public void setConnectToUser(java.lang.Boolean connectToUser)
connectToUser
- a boolean value indicating whether this schema is connected via the current user.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getPasswordX()
public void setPasswordX(java.lang.String encryptedPassword)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getCreated()
public void setCreated(java.lang.String created)
@Deprecated
public DBObjectProvider getDBLink()
@Deprecated
public java.lang.String getAuthentificationUser()
public java.lang.String getAuthentificationUsername()
public void setAuthentificationUsername(java.lang.String authentificationUsername)
public java.lang.String getAuthentificationPassword()
public void setAuthentificationPassword(java.lang.String authentificationPassword)
public java.lang.String getAuthentificationPasswordX()
public void setAuthentificationPasswordX(java.lang.String encryptedPassword)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |