Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.topology
Class AbstractOdiDataServer

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.support.AbstractOdiEntity
              extended by oracle.odi.domain.topology.AbstractOdiDataServer
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IOdiEntity, IRepositoryEntity
Direct Known Subclasses:
OdiDataServer, OdiRepositoryServer

public abstract class AbstractOdiDataServer
extends oracle.odi.domain.support.AbstractOdiEntity

Abstract root class for OdiDataServer and OdiRepositoryServer.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class AbstractOdiDataServer.Axis2DeploymentSettings
          Subclass of AbstractOdiDataServer.WsContainerSettings.
static class AbstractOdiDataServer.DirectoryDeploymentSettings
          Subclass of AbstractOdiDataServer.WsContainerSettings.
static class AbstractOdiDataServer.FtpDeploymentSettings
          Subclass of AbstractOdiDataServer.WsContainerSettings.
static interface AbstractOdiDataServer.IConnectionSettings
          Type safety interface that implementation classes will implement to define connectivity settings.
static class AbstractOdiDataServer.JdbcSettings
          Holds JDBC metadata required to get a JDBC connection from driver manager.
static class AbstractOdiDataServer.JndiSettings
          Holds JNDI metadata required to get a JDBC connection from a DataSource configured in an external JNDI provider.
static class AbstractOdiDataServer.WsContainerSettings
          Abstract base class related to ODI DataServices deployment.
 
Field Summary
 
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity
STARTING_INTERNAL_VERSION
 
Method Summary
abstract  AbstractOdiDataServer.IConnectionSettings getConnectionSettings()
          Returns the AbstractOdiDataServer.IConnectionSettings defined for this data server.
 java.lang.Number getDataServerId()
          Obtains this data server ID.
 java.io.Serializable getInternalId()
          Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.
 ObfuscatedString getPassword()
          Obtains the password to connect to this data server.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.lang.String getUsername()
          Obtains the username that will be used to connect to this data server.
abstract  void setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
          Defines the connection settings for this AbstractOdiDataServer.
 void setPassword(ObfuscatedString pPassword)
          Defines the password to connect to this OdiDataServer.
 void setUsername(java.lang.String pUsername)
          Define the username to connect to this data server.
 
Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, getName, hashCode, isInstanceLevelSecurityNeeded, isNew, toString
 
Methods inherited from class oracle.odi.domain.support.BusinessObject
clone
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getConnectionSettings

public abstract AbstractOdiDataServer.IConnectionSettings getConnectionSettings()
Returns the AbstractOdiDataServer.IConnectionSettings defined for this data server.

Returns:
connection settings
See Also:
setConnectionSettings(IConnectionSettings)

getDataServerId

public java.lang.Number getDataServerId()
Obtains this data server ID.

Returns:
data server id

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IRepositoryEntity
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.

Typically a subclass will delegate to a public SomePrimitiveWrapper getId() method. The necessity for the getInternalId() abstract method is solely because the persistence layer needs a way of obtaining the identity irrespective of the actual identity implementation choice.

Returning null from this method will indicate the object has never been saved. This will likely be relied on by some DAO implementations.

Returns:
the persistence identity of this instance

getPassword

public ObfuscatedString getPassword()
Obtains the password to connect to this data server.

Returns:
the password, or null if none
See Also:
setPassword(ObfuscatedString)

getSecurityContainer

public IRepositoryEntity getSecurityContainer()
Description copied from interface: IRepositoryEntity
Define a generic way to retrieve container for entities.

Returns:
container entity

getUsername

public java.lang.String getUsername()
Obtains the username that will be used to connect to this data server.

Returns:
the username or null if none has been set
See Also:
setUsername(String)

setConnectionSettings

public abstract void setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
                                    throws java.lang.IllegalArgumentException
Defines the connection settings for this AbstractOdiDataServer.

Parameters:
pSettings - the connection settings of this data server
Throws:
java.lang.IllegalArgumentException - in case of a bad settings value
See Also:
getConnectionSettings()

setPassword

public void setPassword(ObfuscatedString pPassword)
Defines the password to connect to this OdiDataServer. Can be null if none.

Parameters:
pPassword - the password
See Also:
getPassword()

setUsername

public void setUsername(java.lang.String pUsername)
Define the username to connect to this data server. Can be null if none.

Parameters:
pUsername - the username
See Also:
getUsername()

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.