public abstract class AbstractOdiCondition extends oracle.odi.domain.support.AbstractOdiEntity implements IWorkDevelopmentOdiEntity
Modifier and Type | Field and Description |
---|---|
static int |
NAME_MAX_LENGTH
Maximum length supported for the "name" property.
|
Constructor and Description |
---|
AbstractOdiCondition() |
Modifier and Type | Method and Description |
---|---|
OdiDataStore |
getDataStore()
Obtains the
OdiDataStore to which this OdiAbstractCondition belongs. |
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()
Returns the name of this
AbstractOdiCondition . |
org.eclipse.persistence.indirection.ValueHolderInterface |
getSqlText()
Returns the sql text associated with this
OdiAbstractCondition . |
Expression |
getWhereClause()
Returns the
Expression representing the where clause defined on this AbstractOdiCondition . |
java.lang.String |
getWhereClauseString()
Returns the String value of where clause expression
|
boolean |
isStaticCheckEnabled()
Returns whether static check is enabled on this
OdiAbstractCondition or not. |
void |
setStaticCheckEnabled(boolean pStaticCheckEnabled)
Defines whether static check is enabled on this
OdiAbstractCondition or not. |
void |
setWhereClause(Expression pClause)
Sets the where clause for this
AbstractOdiCondition . |
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew, preCommit, toString
equals, getBigNumericId, getGlobalId, getNumericId, getParent, hashCode
getFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeeded
getGlobalId, getParent
public static final int NAME_MAX_LENGTH
setName(String)
,
Constant Field Valuespublic java.lang.String getName()
AbstractOdiCondition
.getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
public boolean isStaticCheckEnabled()
OdiAbstractCondition
or not.true
if enable, false
otherwisesetStaticCheckEnabled(boolean)
public void setStaticCheckEnabled(boolean pStaticCheckEnabled)
OdiAbstractCondition
or not.
By default, static check is enabled.
pStaticCheckEnabled
- true
to enable static check, false
otherwiseisStaticCheckEnabled()
public org.eclipse.persistence.indirection.ValueHolderInterface getSqlText()
OdiAbstractCondition
.public OdiDataStore getDataStore()
OdiDataStore
to which this OdiAbstractCondition
belongs.OdiDataStore
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 Expression getWhereClause()
Expression
representing the where clause defined on this AbstractOdiCondition
.setWhereClause(Expression)
public java.lang.String getWhereClauseString()
public void setWhereClause(Expression pClause)
AbstractOdiCondition
.
In case of OdiFilter SQL WHERE-type expression must use
the default datastore alias (defined on the OdiDataStore
to which
the belongs) before each column. An example of an expression on
the datastore CLIENT with the alias CLI: CLI.TYPE_CLIENT like 'A%'.
pClause
- the where clausegetWhereClause()