com.informatica.powercenter.sdk.mapfwk.core
Class Table

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.Table
Direct Known Subclasses:
SourceTarget, Transformation

public abstract class Table
extends java.lang.Object

Base class for SourceTarget and Transformation objects.


Field Summary
protected  boolean m_bReusable
          Reusable property
protected  boolean m_readOnly
          ReadOnly flag
 
Constructor Summary
Table()
          Default constructor
Table(java.lang.String name, java.lang.String busName, java.lang.String desc, java.lang.String instName)
          Initialize the object with name, business name, description and instance name
 
Method Summary
 void addField(Field fieldObj)
          Add a Field object to the table
 void addMetaExtension(MetaExtension metaObj)
          Add a MetaExtension to the table
 java.lang.String getBusinessName()
          Get the business name
 java.lang.String getDescription()
          Get the description
 Field getField(java.lang.String fieldName)
          Get the Field object for a field name
 java.util.Vector getFields()
          Get the collection of Field objects
 java.lang.String getInstanceName()
          Get the instance name
 java.util.Vector getMetaExtensions()
          Get the collection of MetaExtension objects
 java.lang.String getName()
          Get the name
 java.util.Vector getReferencedField()
          Get all referenced fields from the table
 boolean isReadOnly()
          Get the readonly flag
 boolean isReusable()
           
 void removeField(Field fieldObj)
          Remove a Field object from the table
 void removeMetaExtension(MetaExtension metaObj)
          Remove a MetaExtension to the table
 void setBusinessName(java.lang.String businessName)
          Set the business name
 void setDescription(java.lang.String description)
          Set the description
 void setFields(java.util.Vector fields)
          Set the collection of Field objects
 void setInstanceName(java.lang.String instanceName)
          Set the instance name
 void setMetaExtensions(java.util.Vector extns)
          Set the collection of MetaExtension objects
 void setMetaExtensionValue(java.lang.String extensionName, java.lang.String value)
          Set the value for a MetadataExtension
 void setName(java.lang.String name)
          Set the name
 void setReadOnly(boolean readOnly)
          Set the readonly flag
 void setReusable(boolean reusable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_bReusable

protected boolean m_bReusable
Reusable property


m_readOnly

protected boolean m_readOnly
ReadOnly flag

Constructor Detail

Table

public Table()
Default constructor


Table

public Table(java.lang.String name,
             java.lang.String busName,
             java.lang.String desc,
             java.lang.String instName)
Initialize the object with name, business name, description and instance name

Parameters:
name - name of the table
busName - business name
desc - description
instName - instance name
Method Detail

getFields

public java.util.Vector getFields()
Get the collection of Field objects

Returns:
Returns the fields.

setFields

public void setFields(java.util.Vector fields)
Set the collection of Field objects

Parameters:
fields - The fields to set.

getMetaExtensions

public java.util.Vector getMetaExtensions()
Get the collection of MetaExtension objects

Returns:
Returns the meta extensions.

setMetaExtensions

public void setMetaExtensions(java.util.Vector extns)
Set the collection of MetaExtension objects

Parameters:
extns - The meta extensions to set.

getBusinessName

public java.lang.String getBusinessName()
Get the business name

Returns:
Returns the businessName.

setBusinessName

public void setBusinessName(java.lang.String businessName)
Set the business name

Parameters:
businessName - The businessName to set.

getDescription

public java.lang.String getDescription()
Get the description

Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - The description to set.

getInstanceName

public java.lang.String getInstanceName()
Get the instance name

Returns:
Returns the instance name.

setInstanceName

public void setInstanceName(java.lang.String instanceName)
Set the instance name

Parameters:
instanceName - The instance name to set.

getName

public java.lang.String getName()
Get the name

Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Set the name

Parameters:
name - The name to set.

addField

public void addField(Field fieldObj)
Add a Field object to the table

Parameters:
fieldObj - field object
See Also:
Field

removeField

public void removeField(Field fieldObj)
Remove a Field object from the table

Parameters:
fieldObj - field object

addMetaExtension

public void addMetaExtension(MetaExtension metaObj)
Add a MetaExtension to the table

Parameters:
metaObj - meta extension object to be added

setMetaExtensionValue

public void setMetaExtensionValue(java.lang.String extensionName,
                                  java.lang.String value)
Set the value for a MetadataExtension

Parameters:
extensionName - extension name
value - extension value

removeMetaExtension

public void removeMetaExtension(MetaExtension metaObj)
Remove a MetaExtension to the table

Parameters:
metaObj - meta extension object to be removed

getReferencedField

public java.util.Vector getReferencedField()
Get all referenced fields from the table

Returns:
Vector of field objects

getField

public Field getField(java.lang.String fieldName)
Get the Field object for a field name

Parameters:
fieldName - name of the field
Returns:
valid Field object

isReusable

public boolean isReusable()
Returns:
Returns the reusable setting.

setReusable

public void setReusable(boolean reusable)
Parameters:
reusable - The reusable value to set.

isReadOnly

public boolean isReadOnly()
Get the readonly flag

Returns:
Returns the readonly flag

setReadOnly

public void setReadOnly(boolean readOnly)
Set the readonly flag

Parameters:
readOnly - the readonly flag