Skip navigation links

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

E17060-04


oracle.odi.domain.project
Class OdiUserFunctionImpl

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.project.OdiUserFunctionImpl

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public final class OdiUserFunctionImpl
extends oracle.odi.domain.support.AbstractRepositoryEntity

Represents metadata of an actual OdiUserFunction implementation for one or several OdiTechnology. An OdiUserFunction's functionString will be replaced by relevant OdiUserFunctionImpl's implementationString according to target OdiTechnology during ODI code generation.

As the root of aggregate, OdiUserFunction manages the mappings between its OdiUserFunctionImpls and OdiTechnologys

.

OdiUserFunctionImpl is an entity managed within the OdiUserFunction - OdiUserFunctionImpl aggregate.

Since:
11.1.1.3.0
See Also:
Serialized Form

Method Summary
 Expression getImplementationExpression()
          Obtains the implementation expression for this OdiUserFunctionImpl.
 java.lang.String getImplementationString()
          Deprecated. Use getImplementationExpression() instead
 java.io.Serializable getInternalId()
          Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.util.Collection<OdiTechnology> getSupportedTechnologies(IOdiTechnologyFinder pFinder)
          Deprecated. Replaced by OdiUserFunction.getSupportedTechnologies(OdiUserFunctionImpl, IOdiTechnologyFinder)
 java.lang.Number getUserFunctionImplId()
          Obtains the ID of this OdiUserFunctionImpl.
 boolean isDefault()
          Returns whether this OdiUserFunctionImpl is a default implementation, i.e.
 void setImplementationExpression(Expression pImplementationExpression)
          Sets the implementation expression for this OdiUserFunctionImpl.
 void setImplementationString(java.lang.String pImplementationString)
          Deprecated. Use setImplementationExpression(Expression) instead

 

Methods inherited from class oracle.odi.domain.support.BusinessObject
clone

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getUserFunctionImplId

public java.lang.Number getUserFunctionImplId()
Obtains the ID of this OdiUserFunctionImpl.
Returns:
OdiUserFunctionImpl ID

getImplementationString

@Deprecated
public java.lang.String getImplementationString()
Deprecated. Use getImplementationExpression() instead
Obtains the implementation string for this OdiUserFunctionImpl.
Returns:
implementation string
See Also:
setImplementationString(String)

getImplementationExpression

public Expression getImplementationExpression()
Obtains the implementation expression for this OdiUserFunctionImpl.
Returns:
implementation expression
Since:
11.1.1.6.0
See Also:
setImplementationExpression(Expression)

getSupportedTechnologies

@Deprecated
public java.util.Collection<OdiTechnology> getSupportedTechnologies(IOdiTechnologyFinder pFinder)
                                                             throws java.lang.IllegalArgumentException
Deprecated. Replaced by OdiUserFunction.getSupportedTechnologies(OdiUserFunctionImpl, IOdiTechnologyFinder)
Obtains the collection of OdiTechnologies (OdiTechnology) that are supported by this OdiUserFunctionImpl.
Parameters:
finder - a technology finder
Returns:
supported OdiTechnologies as a collection
Throws:
DomainRuntimeException - if the given IOdiTechnologyFinder is null
java.lang.IllegalArgumentException

isDefault

public boolean isDefault()
Returns whether this OdiUserFunctionImpl is a default implementation, i.e. automatically supports new added technologies.
Returns:
true<C/ODE> if this OdiUserFunctionImpl is default false otherwise
Since:
11.1.1.5.0

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

getSecurityContainer

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

setImplementationString

@Deprecated
public void setImplementationString(java.lang.String pImplementationString)
Deprecated. Use setImplementationExpression(Expression) instead
Sets the implementation string for this OdiUserFunctionImpl.
Parameters:
pImplementationString - - implementation string
Since:
11.1.1.5.0
See Also:
getImplementationString()

setImplementationExpression

public void setImplementationExpression(Expression pImplementationExpression)
Sets the implementation expression for this OdiUserFunctionImpl.
Parameters:
pImplementationExpression - - implementation expression
Since:
11.1.1.6.0
See Also:
getImplementationExpression()

Skip navigation links

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

E17060-04


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