com.ptc.edadata
Class BOMListMember

java.lang.Object
  extended bycom.ptc.edadata.BOMListMember

public class BOMListMember
extends Object

Title: BOMListMember

Description: This class contains all the neccessary information for a particular BOM. This is a BOM response bean

Copyright: Copyright (c) 2004

Company: PTC


Field Summary
private  BOMColumnDef[] m_bcColumnDefs
           
private  BOMRow[] m_brRows
           
private  BOMRow m_brTotals
           
private  String m_strID
           
static String PRIMARY
           
 
Constructor Summary
BOMListMember()
          Default constructor.
 
Method Summary
 String getBOMID()
          This method will get the ID for this member of BOM list
 BOMColumnDef[] getColumnDefs()
          This method gets the array of column definitions Column definitions for BOM.
 BOMRow[] getRows()
          This method gets the BOM rows Each row's items array size must match column definitions array size
 BOMRow getTotals()
          This method gets the items total array size "Totals" row.
 boolean removeRow(int rowNum)
          This method will remove a row from the object
 void setBOMID(String ID)
          This method will set the ID for this member of BOM list
 void setColumnDefs(BOMColumnDef[] columnDefs)
          This method sets the array of column definitions Column definitions for BOM.
 void setRows(BOMRow[] rows)
          This method sets the BOM rows Each row's items array size must match column definitions array size
 void setTotals(BOMRow totals)
          This method sets the items total array size "Totals" row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_bcColumnDefs

private BOMColumnDef[] m_bcColumnDefs

m_brRows

private BOMRow[] m_brRows

m_brTotals

private BOMRow m_brTotals

m_strID

private String m_strID

PRIMARY

public static final String PRIMARY
Constructor Detail

BOMListMember

public BOMListMember()
Default constructor.

Method Detail

getColumnDefs

public BOMColumnDef[] getColumnDefs()
This method gets the array of column definitions Column definitions for BOM. The array size must match each of rows' array size and totals row's array size

Returns:
Array of BOM column definitions

setColumnDefs

public void setColumnDefs(BOMColumnDef[] columnDefs)
This method sets the array of column definitions Column definitions for BOM. The array size must match each of rows' array size and totals row's array size

Parameters:
columnDefs - Array of BOM column definitions

getRows

public BOMRow[] getRows()
This method gets the BOM rows Each row's items array size must match column definitions array size

Returns:
Array of the BOM rows

setRows

public void setRows(BOMRow[] rows)
This method sets the BOM rows Each row's items array size must match column definitions array size

Parameters:
rows - Array of the BOM rows

getTotals

public BOMRow getTotals()
This method gets the items total array size "Totals" row. Row's items array size must match column definitions array size.
If totals not requested for a particular column, corresponding item is null.

Returns:
Array of BOM row size totals

setTotals

public void setTotals(BOMRow totals)
This method sets the items total array size "Totals" row. Row's items array size must match column definitions array size.
If totals not requested for a particular column, corresponding item is null.

Parameters:
totals - Array of BOM row size totals

getBOMID

public String getBOMID()
This method will get the ID for this member of BOM list

Returns:
String The value of the ID

setBOMID

public void setBOMID(String ID)
This method will set the ID for this member of BOM list

Parameters:
ID - String

removeRow

public boolean removeRow(int rowNum)
This method will remove a row from the object

Parameters:
rowNum - int of the row number
Returns:
boolean True of row was removed, false otherwise