com.metamatrix.metadata.runtime.impl
Class TransformationRecordImpl

java.lang.Object
  extended by com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
      extended by com.metamatrix.metadata.runtime.impl.TransformationRecordImpl
All Implemented Interfaces:
MetadataRecord, TransformationRecord, java.io.Serializable

public class TransformationRecordImpl
extends AbstractMetadataRecord
implements TransformationRecord

TransformationRecordImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.TransformationRecord
TransformationRecord.Types
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties
 
Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
delegate, eObject
 
Constructor Summary
  TransformationRecordImpl()
          Construct an instance of TransformationRecordImpl.
protected TransformationRecordImpl(MetadataRecordDelegate delegate)
           
 
Method Summary
 java.util.List getBindings()
          Get any bindings to the transformation, these could be inputset bindings.
 java.util.List getSchemaPaths()
          Get any paths to the various schemas that the XML document depends on.
 java.lang.String getTransformation()
          Get the transformation definition, which is typically an XML document containing the tree of query nodes.
 java.lang.String getTransformationType()
          Get the transformation type, get the type com.metamatrix.modeler.core.metamodel.aspect.sql.SqlTransformationAspect.Types
 java.lang.Object getTransformedObjectID()
          Get an identifier for the object that is the result of the transformation.
protected  java.lang.String getTransformTypeForRecordType(char recordType)
           
 java.lang.String getType()
          Return the type of TRANSFORMATION it is.
 void setBindings(java.util.List bindings)
           
 void setSchemaPaths(java.util.List collection)
           
 void setTransformation(java.lang.String string)
           
 void setTransformationType(java.lang.String string)
           
 void setTransformedObjectID(java.lang.Object object)
           
 java.lang.String toString()
           
 
Methods inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
equals, getEObject, getFullName, getIndexVersion, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, hashCode, setEObjectFinder, setFullName, setIndexVersion, setName, setNameInSource, setParentUUID, setPropertyValue, setRecordType, setResourcePath, setUUID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
getEObject, getFullName, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue
 

Constructor Detail

TransformationRecordImpl

public TransformationRecordImpl()
Construct an instance of TransformationRecordImpl.


TransformationRecordImpl

protected TransformationRecordImpl(MetadataRecordDelegate delegate)
Method Detail

getTransformation

public java.lang.String getTransformation()
Description copied from interface: TransformationRecord
Get the transformation definition, which is typically an XML document containing the tree of query nodes.

Specified by:
getTransformation in interface TransformationRecord
Returns:
the string containing the definition of the transformation.
See Also:
TransformationRecord.getTransformation()

getBindings

public java.util.List getBindings()
Description copied from interface: TransformationRecord
Get any bindings to the transformation, these could be inputset bindings.

Specified by:
getBindings in interface TransformationRecord
Returns:
a list of binding names

getSchemaPaths

public java.util.List getSchemaPaths()
Description copied from interface: TransformationRecord
Get any paths to the various schemas that the XML document depends on.

Specified by:
getSchemaPaths in interface TransformationRecord
Returns:
a list of schema path names

getTransformationType

public java.lang.String getTransformationType()
Description copied from interface: TransformationRecord
Get the transformation type, get the type com.metamatrix.modeler.core.metamodel.aspect.sql.SqlTransformationAspect.Types

Specified by:
getTransformationType in interface TransformationRecord
Returns:
the string containing the type of the transformation.

getTransformedObjectID

public java.lang.Object getTransformedObjectID()
Description copied from interface: TransformationRecord
Get an identifier for the object that is the result of the transformation. The transformed object is either a table or a procedure, depending upon the MetadataConstants.getSqlTransformationTypeName(short).

Specified by:
getTransformedObjectID in interface TransformationRecord
Returns:
an identifier for the virtual object
See Also:
TransformationRecord.getTransformedObjectID()

getType

public java.lang.String getType()
Description copied from interface: TransformationRecord
Return the type of TRANSFORMATION it is.

Specified by:
getType in interface TransformationRecord
Returns:
transformTyype
See Also:
TransformationRecord.getType()

setTransformation

public void setTransformation(java.lang.String string)
Parameters:
string -

setTransformedObjectID

public void setTransformedObjectID(java.lang.Object object)
Parameters:
object -

setTransformationType

public void setTransformationType(java.lang.String string)
Parameters:
string -

setBindings

public void setBindings(java.util.List bindings)
Parameters:
collection -

setSchemaPaths

public void setSchemaPaths(java.util.List collection)
Parameters:
collection -

getTransformTypeForRecordType

protected java.lang.String getTransformTypeForRecordType(char recordType)

toString

public java.lang.String toString()
Overrides:
toString in class AbstractMetadataRecord


Copyright © 2009. All Rights Reserved.