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

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.RowSet
All Implemented Interfaces:
java.lang.Cloneable

public class RowSet
extends java.lang.Object
implements java.lang.Cloneable

Class to encapsulate a set of Field objects.


Constructor Summary
RowSet()
          Default constructor
RowSet(java.lang.String name, java.lang.String busName, java.lang.String desc)
          Initialize RowSet object with name, business name and description
 
Method Summary
 void add(Field fld)
          Add field object
 RowSet add(RowSet rs)
          Add the RowSet object
 void add(java.util.Vector vfld)
          Add field vector
 java.lang.Object clone()
          Clone method - a deep copy is performed
 TransformationContext createTransformationContext()
          Method to create transformation context object
 java.lang.String getBusinessName()
          Get the business name
 java.lang.String getDescription()
          Get the description
 Field getField(java.lang.String name)
          Get the field for a given name
 java.util.Vector getFields()
          Method to get all the fields
 java.lang.String getGroupName()
          Get the group name
 int getInstanceType()
          Get the Instance type
 java.lang.String getName()
          Get the name
 boolean hasField(java.lang.String name)
          Finds if a field name exists
 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 vector of fields
 void setGroupName(java.lang.String groupName)
          Set the group name
 void setInstanceType(int instanceType)
          Set the instance type
 void setName(java.lang.String name)
          Set the name
 int size()
          Returns the RowSet size
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowSet

public RowSet()
Default constructor


RowSet

public RowSet(java.lang.String name,
              java.lang.String busName,
              java.lang.String desc)
Initialize RowSet object with name, business name and description

Parameters:
name - name
busName - business name
desc - description
Method Detail

getInstanceType

public int getInstanceType()
Get the Instance type

Returns:
Returns the m_iInstanceType.

setInstanceType

public void setInstanceType(int instanceType)
Set the instance type

Parameters:
instanceType - The m_iInstanceType to set.

getBusinessName

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

Returns:
Returns the business Name.

setBusinessName

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

Parameters:
businessName - The business name 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.

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.

add

public void add(Field fld)
Add field object

Parameters:
fld - Field object

add

public void add(java.util.Vector vfld)
Add field vector

Parameters:
vfld - vector of field object

hasField

public boolean hasField(java.lang.String name)
Finds if a field name exists

Parameters:
name -
Returns:
true/false

createTransformationContext

public TransformationContext createTransformationContext()
Method to create transformation context object

Returns:
TransformationContext object

getFields

public java.util.Vector getFields()
Method to get all the fields

Returns:
Returns the vector of field objects

setFields

public void setFields(java.util.Vector fields)
Set vector of fields

Parameters:
fields - vector to set.

getField

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

Parameters:
name -
Returns:
Field object

add

public RowSet add(RowSet rs)
Add the RowSet object

Parameters:
rs -
Returns:
RowSet object

clone

public java.lang.Object clone()
Clone method - a deep copy is performed

Overrides:
clone in class java.lang.Object
Returns:
RowSet object

getGroupName

public java.lang.String getGroupName()
Get the group name

Returns:
Returns the group name

setGroupName

public void setGroupName(java.lang.String groupName)
Set the group name

Parameters:
groupName - group name as a String

size

public int size()
Returns the RowSet size

Returns:
size of RowSet as int