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 OdiTechnologys
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.
|
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, getBigNumericId, getGlobalId, getNumericId, getParent, hashCode, toStringgetBigNumericId, getGlobalId, getNumericIdpublic 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.IllegalArgumentExceptionpublic 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@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()
IModelObjectgetName in interface IModelObjectpublic java.lang.String getImplString()
IUserFunctionImplgetImplString in interface IUserFunctionImpl