|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.topology.OdiFlexField
public class OdiFlexField
An ODI Flex Field enabling generic/flexible definition of custom informations for an ODI entity (aka IOdiEntity
).
Nested Class Summary | |
---|---|
static class |
OdiFlexField.FlexFieldType Type safe enum for types of OdiFlexField . |
Field Summary |
---|
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
---|
STARTING_INTERNAL_VERSION |
Constructor Summary | |
---|---|
OdiFlexField(java.lang.Class<? extends IFlexFieldUser> pFlexFieldUserClass, java.lang.String pCode) Create a new OdiFlexField . |
Method Summary | |
---|---|
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<? extends IFlexFieldUser> |
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. |
IRepositoryEntity |
getSecurityContainer() Define a generic way to retrieve container for entities. |
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. |
Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toString |
Methods inherited from class oracle.odi.domain.support.BusinessObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.odi.domain.IOdiEntity |
---|
getFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeeded |
Constructor Detail |
---|
public OdiFlexField(java.lang.Class<? extends IFlexFieldUser> pFlexFieldUserClass, java.lang.String pCode)
OdiFlexField
.
pFlexFieldUserClass
- a class implementing IFlexFieldUser
interfacepCode
- code of the flex fieldMethod Detail |
---|
public void setName(java.lang.String pName)
OdiFlexField
.pName
- the namegetName()
public java.lang.String getName()
OdiFlexField
's name.getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
setName(String)
public java.lang.String getCode()
OdiFlexField
's code.public OdiFlexField.FlexFieldType getFlexFieldType()
OdiFlexField
.OdiFlexField.FlexFieldType
setFlexFieldType(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<? extends IFlexFieldUser> getFlexFieldUserClass()
IFlexFieldUser
for which this FlexField is relevant.IFlexFieldUser
public OdiTechnology getTechnology()
null
if this FlexField applies to all technologies or is not technology related.OdiTechnology
setTechnology(OdiTechnology)
public void setTechnology(OdiTechnology pTechnology)
null
means that this flexfields applies to all technologies or is not technology related.pTechnology
- the technology, or null
getTechnology()
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
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |