|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.redback.redbeans.Connection
Connection class that stores URL reference and is used to set the current active connection in a RedObject instance
Constructor Summary | |
Connection()
Connection class that stores URL reference and is used to set the current active connection in a RedObject instance |
|
Connection(java.lang.String URL)
Connection class that stores URL reference and is used to set the current active connection in a RedObject instance |
|
Connection(java.lang.String URL,
java.lang.String userId,
java.lang.String password)
This constructor used when connecting via the Explorer class on the RedBack Server, used to reference classes. |
Method Summary | |
java.lang.String |
getConnectionURL()
Gets the current URL used for the connectiion. |
java.lang.String |
getPassword()
Gets the current Password. |
java.lang.String |
getUserId()
Gets the current UserID.User ID (and password) are only used by the RBO devclasses that are referenced by the Designer and the Scopes. |
void |
setConnectionURL(java.lang.String URL)
Sets the current URL |
void |
setPassword(java.lang.String newPasswd)
Sets the current password. |
void |
setUserId(java.lang.String newUserId)
Sets the current User ID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Connection()
public Connection(java.lang.String URL)
URL
- the URL of the RedBack Server to connect topublic Connection(java.lang.String URL, java.lang.String userId, java.lang.String password)
userId
- the user idpassword
- the passwordMethod Detail |
public void setConnectionURL(java.lang.String URL)
URL
- the current URLpublic java.lang.String getConnectionURL()
public java.lang.String getUserId()
public java.lang.String getPassword()
public void setUserId(java.lang.String newUserId)
User
- Id the current User Idpublic void setPassword(java.lang.String newPasswd)
Password
- the current Password
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |