com.ptc.edadata
Class BOMColumnDef

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

public class BOMColumnDef
extends Object

Title: BOMColumnDef

Description: This class represents the BOM column definition bean

Copyright: Copyright (c) 2004

Company: PTC


Field Summary
private  boolean m_bWithTotal
           
private  String m_strEcadName
           
private  String m_strName
           
 
Constructor Summary
BOMColumnDef()
          Default Constructor
BOMColumnDef(String name, String ecadName, boolean withTotal)
           
 
Method Summary
 String getEcadName()
          This method will get the ecad name of the column
 String getName()
          This method will get the name of the column definition
 boolean isWithTotal()
          This method determines if column contains the total value
 void setEcadName(String ecadName)
          This method will set the ecad name of the column
 void setName(String name)
          This method will set the name of the column definition
 void setWithTotal(boolean withTotal)
          This method sets value to whether the column contains the total value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_strName

private String m_strName

m_strEcadName

private String m_strEcadName

m_bWithTotal

private boolean m_bWithTotal
Constructor Detail

BOMColumnDef

public BOMColumnDef()
Default Constructor


BOMColumnDef

public BOMColumnDef(String name,
                    String ecadName,
                    boolean withTotal)
Parameters:
name - String of name of column definition
ecadName - String if ecad name of column definition
withTotal - boolean If total is calculated
Method Detail

getName

public String getName()
This method will get the name of the column definition

Returns:
Column's name as visible to WGM

setName

public void setName(String name)
This method will set the name of the column definition

Parameters:
name - String name of column definition

getEcadName

public String getEcadName()
This method will get the ecad name of the column

Returns:
Column's name as native to target ECAD

setEcadName

public void setEcadName(String ecadName)
This method will set the ecad name of the column

Parameters:
ecadName - String ecad name of the column

isWithTotal

public boolean isWithTotal()
This method determines if column contains the total value

Returns:
Boolean flag indicating if total for the column is calculated

setWithTotal

public void setWithTotal(boolean withTotal)
This method sets value to whether the column contains the total value

Returns:
Boolean flag indicating if total for the column is calculated