|
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.OdiDataType
public class OdiDataType
An OdiDataType
is a domain entity describing a single data type defined for an ODI technology.
OdiDataType
s are mainly used inside ODI Knowledge Modules to create DDL statements according to the native technology. However they are also used at design-time when designing (or reversing) data models. Also, OdiDataType
implements data type conversion from its own technology to one another.
OdiDataType
is root of its own aggregate, but also part of aggregate with root OdiTechnology
, this means deleting an OdiTechnology
will also delete all OdiDataType
s related to this OdiTechnology
.
Instances of OdiDataType
related to a given OdiTechnology
are obtained using the OdiTechnology.getDataTypes()
method.
OdiTechnology
, Serialized FormField Summary |
---|
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
---|
STARTING_INTERNAL_VERSION |
Method Summary | |
---|---|
java.lang.String |
getCode() Returns the code of this data type. |
OdiDataType |
getConvertedDataType(OdiTechnology pTargetTechnology) Convenient method to obtains the OdiDataType that corresponds to this instance of OdiDataType for the given target technology, or null if no conversion is defined for the given technology. |
java.lang.Number |
getDataTypeId() The data type ID. |
java.lang.String |
getDdlPattern() Obtains DDL pattern for this OdiDataType . |
java.lang.String |
getIconLetter() Obtains icon letter representing this OdiDataType . |
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 the display name of this OdiDataType . |
IRepositoryEntity |
getSecurityContainer() Define a generic way to retrieve container for entities. |
OdiTechnology |
getTechnology() Obtains the technology that defines this OdiDataType instance. |
boolean |
isLengthAllowed() Deprecated. DBased on DdlPattern property. Length is considered allowed if DdlPattern contains "%L". |
boolean |
isScaleAllowed() Deprecated. Based on DdlPattern property. Scale is considered allowed if DdlPattern contains "%P". |
java.lang.String |
toString() |
Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew |
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 |
Method Detail |
---|
public OdiDataType getConvertedDataType(OdiTechnology pTargetTechnology)
OdiDataType
that corresponds to this instance of OdiDataType
for the given target technology, or null
if no conversion is defined for the given technology. If the target technology is equals to this data type's technology, this OdiDataType
instance is returned.pTargetTechnology
- the target technology to convert from thisOdiDataType
representing this OdiDataType
for given technologyDomainRuntimeException
- if the given technology is null
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 boolean isLengthAllowed()
true
if this data type allow length read-write access, false
otherwise
@Deprecated
public boolean isScaleAllowed()
true
if this data type allow scale read-write, false
otherwisepublic java.lang.String getCode()
That code is internally used by ODI to reference data types over repositories.
public java.lang.Number getDataTypeId()
OdiDataType
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public OdiTechnology getTechnology()
OdiDataType
instance.OdiTechnology
objectpublic java.lang.String getName()
OdiDataType
.getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
public java.lang.String getDdlPattern()
OdiDataType
.public java.lang.String getIconLetter()
OdiDataType
.public java.lang.String toString()
toString
in class oracle.odi.domain.support.AbstractOdiEntity
|
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 |