public class OdiFlexField extends oracle.odi.domain.support.AbstractOdiEntity implements IMasterOdiEntity, IFlexField
IOdiEntity).| Modifier and Type | Class and Description |
|---|---|
static class |
OdiFlexField.FlexFieldType
Type safe enum for types of
OdiFlexField. |
| Constructor and Description |
|---|
OdiFlexField(java.lang.Class pFlexFieldUserClass,
java.lang.String pCode)
Create a new
OdiFlexField. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Obtains this
OdiFlexField's code. |
java.lang.Object |
getDefaultValue()
Obtains the default value.
|
java.lang.Number |
getFlexFieldId()
This
OdiFlexField ID. |
OdiFlexField.FlexFieldType |
getFlexFieldType()
Obtains the type of this
OdiFlexField. |
java.lang.Class |
getFlexFieldUserClass()
Get the implementation of
IFlexFieldUser for which this FlexField is relevant. |
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()
Obtains this
OdiFlexField's name. |
int |
getOrder()
Obtains this
OdiFlexField's order. |
OdiTechnology |
getTechnology()
Get the technology this FlexField applies, or
null if this FlexField applies to all
technologies or is not technology related. |
void |
setDefaultValue(java.lang.Object pDefaultValue)
Defines the default value for this
OdiFlexField. |
void |
setFlexFieldType(OdiFlexField.FlexFieldType pFlexFieldType)
Defines the type of this
OdiFlexField. |
void |
setName(java.lang.String pName)
Defines the name of this
OdiFlexField. |
void |
setOrder(int pOrder)
Defines this
OdiFlexField's order. |
void |
setTechnology(OdiTechnology pTechnology)
The technology to which this FlexField applies.
|
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew, preCommit, toStringequals, getGlobalId, getNumericId, getParent, hashCodegetFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeededgetGlobalId, getParentpublic OdiFlexField(java.lang.Class pFlexFieldUserClass,
java.lang.String pCode)
OdiFlexField.pFlexFieldUserClass - a class implementing IFlexFieldUser interfacepCode - code of the flex fieldpublic void setName(java.lang.String pName)
OdiFlexField.pName - the namegetName()public java.lang.String getName()
OdiFlexField's name.getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitysetName(String)public java.lang.String getCode()
OdiFlexField's code.public OdiFlexField.FlexFieldType getFlexFieldType()
OdiFlexField.OdiFlexField.FlexFieldTypesetFlexFieldType(FlexFieldType)public void setFlexFieldType(OdiFlexField.FlexFieldType pFlexFieldType)
OdiFlexField.pFlexFieldType - the type of flex fieldgetFlexFieldType()public java.lang.Number getFlexFieldId()
OdiFlexField ID.public java.lang.Class getFlexFieldUserClass()
IFlexFieldUser for which this FlexField is relevant.IFlexFieldUserpublic OdiTechnology getTechnology()
null if this FlexField applies to all
technologies or is not technology related.OdiTechnologysetTechnology(OdiTechnology)public void setTechnology(OdiTechnology pTechnology)
null means that this flexfields applies to all technologies or is not technology related.pTechnology - the technology, or nullgetTechnology()public int getOrder()
OdiFlexField's order.setOrder(int)public void setOrder(int pOrder)
OdiFlexField's order.pOrder - the ordergetOrder()public void setDefaultValue(java.lang.Object pDefaultValue)
OdiFlexField.pDefaultValue - the default valuegetDefaultValue()public java.lang.Object getDefaultValue()
setDefaultValue(Object)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