public class OdiDataServer extends AbstractOdiDataServer implements IDataServer, IMasterOdiEntity, oracle.odi.domain.impexp.IExportable, IFlexFieldUser, oracle.odi.impexp.smartie.ISmartExportable
OdiDataServer is a data server that is defined for a technology
into the physical topology of ODI. An instance of OdiDataServer belong
to a single instance of OdiTechnology and should be used to manage the
collection of OdiPhysicalSchema that belong to an instance of
OdiDataServer.
The OdiDataServer class contains informations to connect to
the described data server and how to manage that connection with properties
like "fetchArraySize" and "batchUpdateSize".
OdiTechnology,
Serialized FormAbstractOdiDataServer.Axis2DeploymentSettings, AbstractOdiDataServer.DirectoryDeploymentSettings, AbstractOdiDataServer.DummyConnectionSettings, AbstractOdiDataServer.FtpDeploymentSettings, AbstractOdiDataServer.IConnectionSettings, AbstractOdiDataServer.JdbcSettings, AbstractOdiDataServer.JndiSettings, AbstractOdiDataServer.WsContainerSettings| Constructor and Description |
|---|
OdiDataServer(OdiTechnology pTechnology,
java.lang.String pName)
Construct a new
OdiDataServer. |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchUpdateSize()
Returns the batch update size that should be used when querying this data server.
|
IConnectionInfo |
getConnectionInfo()
Gets information about the connection to the server.
|
AbstractOdiDataServer.IConnectionSettings |
getConnectionSettings()
Returns the
AbstractOdiDataServer.IConnectionSettings defined for this data server. |
OdiPhysicalSchema |
getDefaultPhysicalSchema()
Looks up the default physical schema for this
OdiDataServer from
its associated physical schemas. |
int |
getFetchArraySize()
Returns the fetch array size that should be used when querying this data server.
|
java.util.Collection |
getFlexFieldsValues()
* Obtains flex fields values related to this
IFlexFieldUser. |
java.lang.String |
getJagentHost()
Method returns hostname where Oracle Golden Gate's JAgent is located.
|
java.lang.Integer |
getJagentManagerPort()
Method returns host's port number where Oracle Golden Gate's JAgent manager is located.
|
java.lang.Integer |
getJagentPort()
Method returns host's port number where Oracle Golden Gate's JAgent is located.
|
java.lang.String |
getName()
Return the name of this
OdiDataServer. |
java.lang.String |
getOggInstallPath()
Method returns path where Oracle Golden Gate's installation is located.
|
java.util.Collection |
getPhysicalSchemas()
Obtains an unmodifable collection of
OdiPhysicalSchemas that belongs
to this OdiDataServer. |
java.lang.String |
getServerInstanceName()
Return the server instance name that can be used for some technology (i.e.
|
OdiTechnology |
getTechnology()
Returns the technology to which this data server is linked.
|
void |
initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
Initialize flex fields related to this
IFlexFieldUser. |
void |
removePhysicalSchema(OdiPhysicalSchema pPhysicalSchema)
Remove the given
OdiPhysicalSchema from the collection of OdiPhysicalSchemas. |
void |
setBatchUpdateSize(int pBatchUpdateSize)
Sets the batch update size that should be used when querying this data server.
|
void |
setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
Defines the connection settings for this
AbstractOdiDataServer. |
void |
setDefaultPhysicalSchema(OdiPhysicalSchema pPSchema)
Defines the specified
OdiPhysicalSchema as the new default physical schema. |
void |
setFetchArraySize(int pFetchArraySize)
Sets the fetch array size that should be used when querying this data server.
|
void |
setJagentHost(java.lang.String pJagentHost)
Method sets hostname where Oracle Golden Gate's JAgent is located.
|
void |
setJagentManagerPort(java.lang.Integer pJagentManagerPort)
Method sets host's port number where Oracle Golden Gate's JAgent manager is located.
|
void |
setJagentPort(java.lang.Integer pJagentPort)
Method sets host's port number where Oracle Golden Gate's JAgent is located.
|
void |
setName(java.lang.String pName)
Define the name of this
OdiDataServer. |
void |
setOggInstallPath(java.lang.String pOggInstallPath)
Method sets path where Oracle Golden Gate's installation is located.
|
void |
setServerInstanceName(java.lang.String pServerInstanceName)
Defines the server instance name to be used for this
OdiDataServer. |
getDataServerId, getInternalId, getPassword, getSecurityContainer, getUsername, isJndiConnection, setPassword, setUsernameequals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toStringgetGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodForgetUsernamegetGlobalId, getNumericIdgetFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeededgetGlobalId, getInternalId, getSecurityContainerpublic OdiDataServer(OdiTechnology pTechnology, java.lang.String pName)
OdiDataServer.
This will adds this new data server to the given OdiTechnology's
data servers.
pTechnology - the technology the OdiDataServer belongs topName - the data server's namepublic int getBatchUpdateSize()
getBatchUpdateSize in interface IDataServersetBatchUpdateSize(int)public void setBatchUpdateSize(int pBatchUpdateSize)
Default is 30.
pBatchUpdateSize - batch size to setgetBatchUpdateSize()public int getFetchArraySize()
getFetchArraySize in interface IDataServersetFetchArraySize(int)public void setFetchArraySize(int pFetchArraySize)
Default is 30.
pFetchArraySize - fetch size to setgetFetchArraySize()public java.lang.String getServerInstanceName()
null if none.getServerInstanceName in interface IDataServerOdiTechnology.isInstanceServerSupported(),
setServerInstanceName(String)public void setServerInstanceName(java.lang.String pServerInstanceName)
OdiDataServer.
If the technology of that data server doesn't support it, this property won't be used.
pServerInstanceName - the server instance nameOdiTechnology.isInstanceServerSupported(),
getServerInstanceName()public OdiPhysicalSchema getDefaultPhysicalSchema()
OdiDataServer from
its associated physical schemas.getDefaultPhysicalSchema in interface IDataServerOdiPhysicalSchema.isDefaultPhysicalSchema()public java.util.Collection getPhysicalSchemas()
OdiPhysicalSchemas that belongs
to this OdiDataServer.getPhysicalSchemas in interface IDataServerOdiPhysicalSchemaspublic void removePhysicalSchema(OdiPhysicalSchema pPhysicalSchema)
OdiPhysicalSchema from the collection of OdiPhysicalSchemas.
This will also reset the OdiDataServer of the given OdiPhysicalSchema
to null.
If the removed OdiPhysicalSchema is the default one then this method will assign the
default OdiPhysicalSchema status to the first one found from the physical schemas of
this data server.
pPhysicalSchema - physical schema to removeDomainRuntimeException - if pPhysicalSchema is null or does not
belong to this OdiDataServerpublic void setDefaultPhysicalSchema(OdiPhysicalSchema pPSchema)
OdiPhysicalSchema as the new default physical schema.
Since only one default schema is allowed per OdiDataServer, any previous default
schema will no longer be defined as default schema.
pPSchema - the new default schemapublic java.lang.String getName()
OdiDataServer.getName in interface IModelObjectgetName in interface IDataServergetName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitysetName(String)public void setName(java.lang.String pName)
OdiDataServer.pName - the name to setDomainRuntimeException - if the name is null or emptygetName()public OdiTechnology getTechnology()
getTechnology in interface IDataServerpublic void setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
AbstractOdiDataServerAbstractOdiDataServer.setConnectionSettings in class AbstractOdiDataServerpSettings - the connection settings of this data servergetConnectionSettings()public AbstractOdiDataServer.IConnectionSettings getConnectionSettings()
AbstractOdiDataServerAbstractOdiDataServer.IConnectionSettings defined for this data server.getConnectionSettings in class AbstractOdiDataServerAbstractOdiDataServer.setConnectionSettings(IConnectionSettings)public java.util.Collection getFlexFieldsValues()
IFlexFieldUser.
In most implementations method initFlexFields(IOdiFlexFieldFinder) should be
called before calling this method.getFlexFieldsValues in interface IFlexFieldUserpublic void initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
IFlexFieldUserIFlexFieldUser.initFlexFields in interface IFlexFieldUserpOdiFlexFieldFinder - OdiFlexField finder to be used to query flex fieldspublic IConnectionInfo getConnectionInfo()
IDataServergetConnectionInfo in interface IDataServerpublic java.lang.String getJagentHost()
public void setJagentHost(java.lang.String pJagentHost)
pJagentHost - hostname to be set, no validation is performedpublic java.lang.Integer getJagentPort()
public void setJagentPort(java.lang.Integer pJagentPort)
pJagentPort - port number to be setpublic java.lang.Integer getJagentManagerPort()
public void setJagentManagerPort(java.lang.Integer pJagentManagerPort)
pJagentManagerPort - port number to be setpublic java.lang.String getOggInstallPath()
public void setOggInstallPath(java.lang.String pOggInstallPath)