com.sybase.persistence
Class Connection

java.lang.Object
  extended by com.sybase.persistence.Connection

public class Connection
extends java.lang.Object

Holds profile information.


Constructor Summary
Connection()
          Creates an instance of Connection.
 
Method Summary
 void delete()
          Sybase internal use only.
 java.lang.String getAfariaChannel()
          Sybase internal use only.
 int getAfariaPort()
          Sybase internal use only.
 java.lang.String getAfariaProtocol()
          Sybase internal use only.
 java.lang.String getAfariaServer()
          Sybase internal use only.
 java.lang.String getDomainName()
          Sybase internal use only.
 java.lang.String getEncryptionKey()
          Sybase internal use only.
 UUID getId()
          The UUID of the Connection.
 java.lang.String getMobiLinkHost()
          Gets the MobiLink host name.
 int getMobiLinkPort()
          Gets the MobiLink port.
 java.lang.String getMobiLinkStreamParam()
          Sybase internal use only.
 java.lang.String getMobiLinkStreamType()
          Gets the protocol used by MobiLink when authenticating against UEP.
 java.lang.String getName()
          Gets the name of the Connection.
 java.lang.String getPackage()
          Gets the package property of this Connection.
 java.lang.String getPassword()
          Gets the password of the Connection.
 int getSupServerPort()
          Sybase internal use only.
 java.lang.String getUserName()
          Sets the user name of the Connection.
 void save()
          Sybase internal use only.
 void setAfariaChannel(java.lang.String afariaChannel)
          Sybase internal use only.
 void setAfariaPort(int afariaPort)
          Sybase internal use only.
 void setAfariaProtocol(java.lang.String afariaProtocol)
          Sybase internal use only.
 void setAfariaServer(java.lang.String afariaServer)
          Sybase internal use only.
 void setDomainName(java.lang.String domainName)
          Sybase internal use only.
 void setEncryptionKey(java.lang.String encryptionkey)
          Sybase internal use only.
 void setId(UUID id)
          Sybase internal use only.
 void setMobiLinkHost(java.lang.String mobiLinkHost)
          Sets the MobiLink host server name.
 void setMobiLinkPort(int mobiLinkPort)
          * Sets the MobiLink port.
 void setMobiLinkStreamParam(java.lang.String mobiLinkStreamParam)
          Sybase internal use only.
 void setMobiLinkStreamType(java.lang.String mobiLinkStreamType)
          Sets the protocol used by MobiLink when authenticating against UEP.
 void setName(java.lang.String name)
          Sets the name of the Connection.
 void setPackage(java.lang.String packageName)
          Sets the package property of this Connection.
 void setPassword(java.lang.String password)
          Sets the password of the Connection.
 void setSupServerPort(int supServerPort)
          Sybase internal use only.
 void setUserName(java.lang.String userName)
          Sets the user name of the Connection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connection

public Connection()
Creates an instance of Connection.

Method Detail

getId

public UUID getId()
The UUID of the Connection.

Returns:

setId

public void setId(UUID id)
Sybase internal use only.


getName

public java.lang.String getName()
Gets the name of the Connection.

Returns:

setName

public void setName(java.lang.String name)
Sets the name of the Connection.

Parameters:
name -

getMobiLinkStreamType

public java.lang.String getMobiLinkStreamType()
Gets the protocol used by MobiLink when authenticating against UEP.

Returns:

setMobiLinkStreamType

public void setMobiLinkStreamType(java.lang.String mobiLinkStreamType)
Sets the protocol used by MobiLink when authenticating against UEP.

Parameters:
authProtocol -

getMobiLinkStreamParam

public java.lang.String getMobiLinkStreamParam()
Sybase internal use only.


setMobiLinkStreamParam

public void setMobiLinkStreamParam(java.lang.String mobiLinkStreamParam)
Sybase internal use only.


getMobiLinkHost

public java.lang.String getMobiLinkHost()
Gets the MobiLink host name.

Returns:

setMobiLinkHost

public void setMobiLinkHost(java.lang.String mobiLinkHost)
Sets the MobiLink host server name.

Parameters:
mobiLinkHost -

getMobiLinkPort

public int getMobiLinkPort()
Gets the MobiLink port.

Returns:

setMobiLinkPort

public void setMobiLinkPort(int mobiLinkPort)
* Sets the MobiLink port.

Parameters:
serverPort -

getPackage

public java.lang.String getPackage()
Gets the package property of this Connection.

Returns:

setPackage

public void setPackage(java.lang.String packageName)
Sets the package property of this Connection.

Parameters:
packageName -

getUserName

public java.lang.String getUserName()
Sets the user name of the Connection.

Returns:

setUserName

public void setUserName(java.lang.String userName)
Sets the user name of the Connection.

Parameters:
userName -

getPassword

public java.lang.String getPassword()
Gets the password of the Connection.

Returns:

setPassword

public void setPassword(java.lang.String password)
Sets the password of the Connection.

Parameters:
password -

getAfariaServer

public java.lang.String getAfariaServer()
Sybase internal use only.


setAfariaServer

public void setAfariaServer(java.lang.String afariaServer)
Sybase internal use only.


getAfariaPort

public int getAfariaPort()
Sybase internal use only.


setAfariaPort

public void setAfariaPort(int afariaPort)
Sybase internal use only.


getAfariaChannel

public java.lang.String getAfariaChannel()
Sybase internal use only.


setAfariaChannel

public void setAfariaChannel(java.lang.String afariaChannel)
Sybase internal use only.


getAfariaProtocol

public java.lang.String getAfariaProtocol()
Sybase internal use only.


setAfariaProtocol

public void setAfariaProtocol(java.lang.String afariaProtocol)
Sybase internal use only.


getSupServerPort

public int getSupServerPort()
Sybase internal use only.


setSupServerPort

public void setSupServerPort(int supServerPort)
Sybase internal use only.


getDomainName

public java.lang.String getDomainName()
Sybase internal use only.


setDomainName

public void setDomainName(java.lang.String domainName)
Sybase internal use only.


getEncryptionKey

public java.lang.String getEncryptionKey()
Sybase internal use only.


setEncryptionKey

public void setEncryptionKey(java.lang.String encryptionkey)
Sybase internal use only.


save

public void save()
Sybase internal use only.


delete

public void delete()
Sybase internal use only.