Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.domain.project.interfaces
Class SourceColumn

java.lang.Object
  extended by oracle.odi.domain.project.interfaces.SourceColumn

All Implemented Interfaces:
IInterfaceSubComponent, ISourceColumn, IColumn<SourceDataStore>

public class SourceColumn
extends java.lang.Object
implements ISourceColumn

A basic implementation for source columns.
Note that the objects returned by the getters are provided for read-only purposes.

Since:
11.1.1.3.0

Constructor Summary
SourceColumn(SourceDataStore pDataStore, IColumn pUnderlyingColumn)
          Internal use only Create a new source column object.

 

Method Summary
 OdiDataType getDataType()
          Returns the data type of this source column.
 java.io.Serializable getInternalId()
          The internal ID of this sub component.
Returning null from this method will indicate the object has never been persisted in the repository.
 java.lang.Integer getLength()
          Returns the length of this source column.
 java.lang.String getName()
          Returns the name of this source column.
 java.lang.Integer getScale()
          Returns the scale of this source column.
 java.lang.String getSubComponentDescription()
          Returns the sub component's description in a human-readable way.
 java.lang.String getSubComponentDescription(java.util.Locale pLocale)
          Returns the sub component's description in a human-readable way for the given Locale.
 SourceDataStore getTable()
          Obtains the owning source datastore of this source column.
 IColumn getUnderlyingColumn()
          Returns the underlying column, either an OdiColumn if the SourceDataStore represents an OdiDataStore, either a TargetColumn if the SourceDataStore represents an OdiInterface.
 void setDataType(OdiDataType pOdiDataType)
          Internal use only Sets the data type of this source column.
 void setLength(java.lang.Integer pLength)
          Internal use only Sets the length of this source column.
 void setScale(java.lang.Integer pScale)
          Internal use only Sets the scale of this source column.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SourceColumn

public SourceColumn(SourceDataStore pDataStore,
                    IColumn pUnderlyingColumn)
Internal use only Create a new source column object.
Parameters:
pDataStore - the source datastore of this source column
pUnderlyingColumn - the underlying column for this source column

Method Detail

getTable

public SourceDataStore getTable()
Obtains the owning source datastore of this source column.
Specified by:
getTable in interface IColumn<SourceDataStore>
Returns:
the owning source datastore

getDataType

public OdiDataType getDataType()
Returns the data type of this source column.
Specified by:
getDataType in interface IColumn<SourceDataStore>
Returns:
the data type of this source column.
See Also:
IColumn.getDataType(), setDataType(OdiDataType)

getLength

public java.lang.Integer getLength()
Returns the length of this source column.
Specified by:
getLength in interface IColumn<SourceDataStore>
Returns:
the length of this source column
See Also:
IColumn.getLength(), setLength(Integer)

getName

public java.lang.String getName()
Returns the name of this source column.
Specified by:
getName in interface IColumn<SourceDataStore>
Returns:
the name of this source column
See Also:
IColumn.getName()

getScale

public java.lang.Integer getScale()
Returns the scale of this source column.
Specified by:
getScale in interface IColumn<SourceDataStore>
Returns:
the scale of this source column
See Also:
IColumn.getScale(), setScale(Integer)

setDataType

public void setDataType(OdiDataType pOdiDataType)
Internal use only Sets the data type of this source column.
Specified by:
setDataType in interface IColumn<SourceDataStore>
Parameters:
pOdiDataType - the new data type for this source column
See Also:
IColumn.setDataType(oracle.odi.domain.topology.OdiDataType), getDataType()

setLength

public void setLength(java.lang.Integer pLength)
Internal use only Sets the length of this source column.
Specified by:
setLength in interface IColumn<SourceDataStore>
Parameters:
pLength - the new length for this source column
See Also:
IColumn.setLength(java.lang.Integer), getLength()

setScale

public void setScale(java.lang.Integer pScale)
Internal use only Sets the scale of this source column.
Specified by:
setScale in interface IColumn<SourceDataStore>
Parameters:
pScale - the new scale for this source column
See Also:
IColumn.setScale(java.lang.Integer), getScale()

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IInterfaceSubComponent
The internal ID of this sub component.
Returning null from this method will indicate the object has never been persisted in the repository.
Specified by:
getInternalId in interface IInterfaceSubComponent
Returns:
the persistence identity of this instance

getUnderlyingColumn

public IColumn getUnderlyingColumn()
Returns the underlying column, either an OdiColumn if the SourceDataStore represents an OdiDataStore, either a TargetColumn if the SourceDataStore represents an OdiInterface.
Specified by:
getUnderlyingColumn in interface ISourceColumn
Returns:
the underlying column of this column

getSubComponentDescription

public java.lang.String getSubComponentDescription()
Description copied from interface: IInterfaceSubComponent
Returns the sub component's description in a human-readable way.
Specified by:
getSubComponentDescription in interface IInterfaceSubComponent
Returns:
a human-readable String giving all necessary information to identify this component

getSubComponentDescription

public java.lang.String getSubComponentDescription(java.util.Locale pLocale)
Description copied from interface: IInterfaceSubComponent
Returns the sub component's description in a human-readable way for the given Locale.
Specified by:
getSubComponentDescription in interface IInterfaceSubComponent
Parameters:
pLocale - the Locale for which the description should be returned
Returns:
a human-readable String giving all necessary information to identify this component in the given Locale

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.