public final class OdiUserFunctionImpl extends oracle.odi.domain.support.AbstractRepositoryEntity implements IUserFunctionImpl
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 OdiTechnology
s
OdiUserFunctionImpl
is an entity managed within the OdiUserFunction
-
OdiUserFunctionImpl
aggregate.
Modifier and Type | Method and Description |
---|---|
Expression |
getImplementationExpression()
Obtains the implementation expression for this
OdiUserFunctionImpl . |
java.lang.String |
getImplementationString()
Deprecated.
Use
getImplementationExpression() instead |
java.lang.String |
getImplString()
Gets a template representing the actual implementation code.
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
java.lang.String |
getName()
Gets the name of this model object.
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
java.util.Collection |
getSupportedTechnologies(IOdiTechnologyFinder pFinder)
Deprecated.
|
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 |
equals, getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, hashCode, invokeCustomizedPersistenceMethodFor, toString
getGlobalId, getNumericId
public java.lang.Number getUserFunctionImplId()
OdiUserFunctionImpl
.OdiUserFunctionImpl
ID@Deprecated public java.lang.String getImplementationString()
getImplementationExpression()
insteadOdiUserFunctionImpl
.setImplementationString(String)
public Expression getImplementationExpression()
OdiUserFunctionImpl
.setImplementationExpression(Expression)
@Deprecated public java.util.Collection getSupportedTechnologies(IOdiTechnologyFinder pFinder) throws java.lang.IllegalArgumentException
OdiUserFunction.getSupportedTechnologies(OdiUserFunctionImpl, IOdiTechnologyFinder)
OdiTechnologies
(OdiTechnology
) that are
supported by this OdiUserFunctionImpl
.finder
- a technology finderOdiTechnologies
as a collectionDomainRuntimeException
- if the given IOdiTechnologyFinder
is nulljava.lang.IllegalArgumentException
public boolean isDefault()
OdiUserFunctionImpl
is a default implementation, i.e.
automatically supports new added technologies.true if this OdiUserFunctionImpl
is default
false
otherwise
public java.io.Serializable getInternalId()
IRepositoryEntity
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.
getInternalId
in interface IRepositoryEntity
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
@Deprecated public void setImplementationString(java.lang.String pImplementationString)
setImplementationExpression(Expression)
insteadOdiUserFunctionImpl
.pImplementationString
- - implementation stringgetImplementationString()
public void setImplementationExpression(Expression pImplementationExpression)
OdiUserFunctionImpl
.pImplementationExpression
- - implementation expressiongetImplementationExpression()
public java.lang.String getName()
IModelObject
getName
in interface IModelObject
public java.lang.String getImplString()
IUserFunctionImpl
getImplString
in interface IUserFunctionImpl