wt.part
Class PartSubstitutesTableModel

java.lang.Object
  extended bywt.part.PartSubstitutesTableModel
All Implemented Interfaces:
AddColumn, ColumnIdentifier, TableHeaderSetter, TableModel, TableModelStub, UniqueCellIdGenerator

public class PartSubstitutesTableModel
extends Object
implements AddColumn, TableModelStub, TableHeaderSetter, UniqueCellIdGenerator

Deprecation Notice: This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten using a different framework in an upcoming release. Table used for display the part substitutes tables on the PartReplacements html client.

Supported API: false

Extendable: false


Field Summary
static String AOBJECT
          Deprecated.  
private  Class AObjectClass
          Deprecated.  
private  String AObjectClassName
          Deprecated.  
private  Vector AObjects
          Deprecated.  
static String BOBJECT
          Deprecated.  
private  Class BObjectClass
          Deprecated.  
private  Vector BObjects
          Deprecated.  
private static String CLASSNAME
          Deprecated.  
static String COBJECT
          Deprecated.  
private  Class CObjectClass
          Deprecated.  
private  Vector CObjects
          Deprecated.  
static String COLUMNTYPE
          Deprecated.  
private  Vector combinedColumns
          Deprecated.  
static String DOBJECT
          Deprecated.  
private  Class DObjectClass
          Deprecated.  
private  Vector DObjects
          Deprecated.  
private  Locale locale
          Deprecated.  
private  String mode
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private  Properties resourceBundle
          Deprecated.  
private  Properties resourceKey
          Deprecated.  
private  Vector setValues
          Deprecated.  
private  Properties targetClass
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
private  WTAttribute wtAttribute
          Deprecated.  
 
Constructor Summary
PartSubstitutesTableModel()
          Deprecated.  
 
Method Summary
 void addColumn(Properties props)
          Deprecated.  
 void addTableModelListener(TableModelListener l)
          Deprecated.  
 Class getAObjectClass()
          Deprecated. Gets the value of the attribute: AObjectClass.
 String getAObjectClassName()
          Deprecated. Gets the value of the attribute: AObjectClassName.
 Vector getAObjects()
          Deprecated. Gets the value of the attribute: AObjects.
 Class getBObjectClass()
          Deprecated. Gets the value of the attribute: BObjectClass.
 Vector getBObjects()
          Deprecated. Gets the value of the attribute: BObjects.
 Class getCObjectClass()
          Deprecated. Gets the value of the attribute: CObjectClass.
 Vector getCObjects()
          Deprecated. Gets the value of the attribute: CObjects.
 Class getColumnClass(int columnIndex)
          Deprecated.  
 int getColumnCount()
          Deprecated.  
 String getColumnName(int columnIndex)
          Deprecated.  
 String getColumnName(String attribute, Object target)
          Deprecated.  
 Class getDObjectClass()
          Deprecated. Gets the value of the attribute: DObjectClass.
 Vector getDObjects()
          Deprecated. Gets the value of the attribute: DObjects.
 Object getIdentifier(int columnIndex)
          Deprecated.  
 Locale getLocale()
          Deprecated. Gets the value of the attribute: locale.
 String getMode()
          Deprecated. Gets the value of the attribute: mode.
 int getRowCount()
          Deprecated.  
protected  Vector getSetValues()
          Deprecated.  
 String getUniqueTableCellTrailId(int rowNumber, int columnNumber)
          Deprecated.  
 Object getValueAt(int rowIndex, int columnIndex)
          Deprecated.  
 WTAttribute getWtAttribute()
          Deprecated. Gets the value of the attribute: wtAttribute.
 boolean isCellEditable(int rowIndex, int columnIndex)
          Deprecated.  
 void removeTableModelListener(TableModelListener l)
          Deprecated.  
 void setAObjectClass(Class a_AObjectClass)
          Deprecated. Sets the value of the attribute: AObjectClass.
 void setAObjectClassName(String a_AObjectClassName)
          Deprecated. Sets the value of the attribute: AObjectClassName.
 void setAObjectColumns(Vector AObjectColumns)
          Deprecated. Sets the value of the attribute: AObjectColumns.
 void setAObjects(Vector a_AObjects)
          Deprecated. Sets the value of the attribute: AObjects.
 void setBObjectClass(Class a_BObjectClass)
          Deprecated. Sets the value of the attribute: BObjectClass.
 void setBObjectColumns(Vector BObjectColumns)
          Deprecated. Sets the value of the attribute: BObjectColumns.
 void setBObjects(Vector a_BObjects)
          Deprecated. Sets the value of the attribute: BObjects.
 void setCObjectClass(Class a_CObjectClass)
          Deprecated. Sets the value of the attribute: CObjectClass.
 void setCObjectColumns(Vector CObjectColumns)
          Deprecated. Sets the value of the attribute: CObjectColumns.
 void setCObjects(Vector a_CObjects)
          Deprecated. Sets the value of the attribute: CObjects.
 void setDObjectClass(Class a_DObjectClass)
          Deprecated. Sets the value of the attribute: DObjectClass.
 void setDObjectColumns(Vector DObjectColumns)
          Deprecated. Sets the value of the attribute: DObjectColumns.
 void setDObjects(Vector a_DObjects)
          Deprecated. Sets the value of the attribute: DObjects.
 void setHeaderFromResource(String resourceBundleName, String resourceBundleKey, Object columnId)
          Deprecated.  
 void setHeaderFromTargetClass(String targetClassName, Object columnId)
          Deprecated.  
 void setLocale(Locale a_Locale)
          Deprecated. Sets the value of the attribute: locale.
 void setMode(String a_Mode)
          Deprecated. Sets the value of the attribute: mode.
 void setResultVector(Class AClass, Vector AObjectVector, Class BClass, Vector BObjectVector, Class CClass, Vector CObjectVector, Class DClass, Vector DObjectVector)
          Deprecated.  
protected  void setSetValues(Vector newSetValues)
          Deprecated.  
 void setValueAt(Object value, int rowIndex, int columnIndex)
          Deprecated.  
 void setWtAttribute(WTAttribute a_WtAttribute)
          Deprecated. Sets the value of the attribute: wtAttribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

wtAttribute

private WTAttribute wtAttribute
Deprecated. 

mode

private String mode
Deprecated. 

AObjects

private Vector AObjects
Deprecated. 

BObjects

private Vector BObjects
Deprecated. 

CObjects

private Vector CObjects
Deprecated. 

DObjects

private Vector DObjects
Deprecated. 

AObjectClass

private Class AObjectClass
Deprecated. 

BObjectClass

private Class BObjectClass
Deprecated. 

CObjectClass

private Class CObjectClass
Deprecated. 

DObjectClass

private Class DObjectClass
Deprecated. 

AObjectClassName

private String AObjectClassName
Deprecated. 

locale

private Locale locale
Deprecated. 

COLUMNTYPE

public static final String COLUMNTYPE
Deprecated. 
See Also:
Constant Field Values

AOBJECT

public static final String AOBJECT
Deprecated. 
See Also:
Constant Field Values

BOBJECT

public static final String BOBJECT
Deprecated. 
See Also:
Constant Field Values

COBJECT

public static final String COBJECT
Deprecated. 
See Also:
Constant Field Values

DOBJECT

public static final String DOBJECT
Deprecated. 
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE
Deprecated. 

combinedColumns

private Vector combinedColumns
Deprecated. 

targetClass

private Properties targetClass
Deprecated. 

resourceBundle

private Properties resourceBundle
Deprecated. 

resourceKey

private Properties resourceKey
Deprecated. 

setValues

private Vector setValues
Deprecated. 
Constructor Detail

PartSubstitutesTableModel

public PartSubstitutesTableModel()
Deprecated. 
Method Detail

addColumn

public void addColumn(Properties props)
               throws WTException
Deprecated.  

Adds a new Column to the TableModel. The Properties object can be used to pass in information regarding adding the new column to the TableModel. In the case of the addColumn method in the BasicTableService, the Properties are the name/value pairs that were passed in the Windchill script call.

Supported API: false

Specified by:
addColumn in interface AddColumn
Parameters:
props -
Throws:
WTException

getIdentifier

public Object getIdentifier(int columnIndex)
Deprecated.  

Returns the name/handle of the column at columnIndex.

Supported API: false

Specified by:
getIdentifier in interface ColumnIdentifier
Parameters:
columnIndex -
Returns:
Object

addTableModelListener

public void addTableModelListener(TableModelListener l)
Deprecated.  



Supported API: false

Specified by:
addTableModelListener in interface TableModelStub
Parameters:
l -

getColumnClass

public Class getColumnClass(int columnIndex)
Deprecated.  



Supported API: false

Specified by:
getColumnClass in interface TableModelStub
Parameters:
columnIndex -
Returns:
Class

getColumnCount

public int getColumnCount()
Deprecated.  



Supported API: false

Specified by:
getColumnCount in interface TableModelStub
Returns:
int

getColumnName

public String getColumnName(int columnIndex)
Deprecated.  

Returns name of the HTML table column for the column index passed in as input parameter.

Supported API: false

Specified by:
getColumnName in interface TableModelStub
Parameters:
columnIndex -
Returns:
String

getRowCount

public int getRowCount()
Deprecated.  



Supported API: false

Specified by:
getRowCount in interface TableModelStub
Returns:
int

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Deprecated.  



Supported API: false

Specified by:
getValueAt in interface TableModelStub
Parameters:
rowIndex -
columnIndex -
Returns:
Object

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Deprecated.  



Supported API: false

Specified by:
isCellEditable in interface TableModelStub
Parameters:
rowIndex -
columnIndex -
Returns:
boolean

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Deprecated.  



Supported API: false

Specified by:
removeTableModelListener in interface TableModelStub
Parameters:
l -

setValueAt

public void setValueAt(Object value,
                       int rowIndex,
                       int columnIndex)
Deprecated.  



Supported API: false

Specified by:
setValueAt in interface TableModelStub
Parameters:
value -
rowIndex -
columnIndex -

setHeaderFromResource

public void setHeaderFromResource(String resourceBundleName,
                                  String resourceBundleKey,
                                  Object columnId)
Deprecated.  

Sets the value returned from the getColumnName method for the column with name/handle columnId to be the localized String returned for the resource key, resourceBundleKey, from the resource bundle, resourceBundleName.

This is a convenience method to allow overriding the either the display name for an attribute or to allow setting the title on a column when the name/handle of the column is not an attribute of the BinaryLink or OtherSide object.

Supported API: false

Specified by:
setHeaderFromResource in interface TableHeaderSetter
Parameters:
resourceBundleName -
resourceBundleKey -
columnId -

setHeaderFromTargetClass

public void setHeaderFromTargetClass(String targetClassName,
                                     Object columnId)
Deprecated.  

Sets the class that introspection is done on when the name/handle of the column is used to define the Column Name.

Supported API: false

Specified by:
setHeaderFromTargetClass in interface TableHeaderSetter
Parameters:
targetClassName -
columnId -

getUniqueTableCellTrailId

public String getUniqueTableCellTrailId(int rowNumber,
                                        int columnNumber)
Deprecated.  

This method is called by HtmlTable to allow a table model to provide additional information for the trail id for a specific cell within a table. The additional information is appended after the table name by HTMLTable when it begins constructing the trail id information. If this interface and this method are not implemented by a table model then each cell gets only the table name added to the Trail Id by HTMLTable. In most cases this additional information is not needed.

Supported API: false

Specified by:
getUniqueTableCellTrailId in interface UniqueCellIdGenerator
Parameters:
rowNumber - the row of the cell that information is being requested for
columnNumber - the column of the cell that information is being requested for
Returns:
The String returned contains the additional information needed by the specified cell to make the trail Id unique.

getWtAttribute

public WTAttribute getWtAttribute()
Deprecated. 
Gets the value of the attribute: wtAttribute.

Supported API: false

Returns:
wt.templateutil.table.WTAttribute

setWtAttribute

public void setWtAttribute(WTAttribute a_WtAttribute)
Deprecated. 
Sets the value of the attribute: wtAttribute.

Supported API: false

Parameters:
a_WtAttribute -

getMode

public String getMode()
Deprecated. 
Gets the value of the attribute: mode.

Supported API: false

Returns:
String

setMode

public void setMode(String a_Mode)
Deprecated. 
Sets the value of the attribute: mode.

Supported API: false

Parameters:
a_Mode -

getAObjects

public Vector getAObjects()
Deprecated. 
Gets the value of the attribute: AObjects.

Supported API: false

Returns:
Vector

setAObjects

public void setAObjects(Vector a_AObjects)
Deprecated. 
Sets the value of the attribute: AObjects.

Supported API: false

Parameters:
a_AObjects -

getBObjects

public Vector getBObjects()
Deprecated. 
Gets the value of the attribute: BObjects.

Supported API: false

Returns:
Vector

setBObjects

public void setBObjects(Vector a_BObjects)
Deprecated. 
Sets the value of the attribute: BObjects.

Supported API: false

Parameters:
a_BObjects -

getCObjects

public Vector getCObjects()
Deprecated. 
Gets the value of the attribute: CObjects.

Supported API: false

Returns:
Vector

setCObjects

public void setCObjects(Vector a_CObjects)
Deprecated. 
Sets the value of the attribute: CObjects.

Supported API: false

Parameters:
a_CObjects -

getDObjects

public Vector getDObjects()
Deprecated. 
Gets the value of the attribute: DObjects.

Supported API: false

Returns:
Vector

setDObjects

public void setDObjects(Vector a_DObjects)
Deprecated. 
Sets the value of the attribute: DObjects.

Supported API: false

Parameters:
a_DObjects -

setAObjectColumns

public void setAObjectColumns(Vector AObjectColumns)
Deprecated. 
Sets the value of the attribute: AObjectColumns.

Supported API: false


setBObjectColumns

public void setBObjectColumns(Vector BObjectColumns)
Deprecated. 
Sets the value of the attribute: BObjectColumns.

Supported API: false


setCObjectColumns

public void setCObjectColumns(Vector CObjectColumns)
Deprecated. 
Sets the value of the attribute: CObjectColumns.

Supported API: false


setDObjectColumns

public void setDObjectColumns(Vector DObjectColumns)
Deprecated. 
Sets the value of the attribute: DObjectColumns.

Supported API: false


getAObjectClass

public Class getAObjectClass()
Deprecated. 
Gets the value of the attribute: AObjectClass.

Supported API: false

Returns:
Class

getBObjectClass

public Class getBObjectClass()
Deprecated. 
Gets the value of the attribute: BObjectClass.

Supported API: false

Returns:
Class

getCObjectClass

public Class getCObjectClass()
Deprecated. 
Gets the value of the attribute: CObjectClass.

Supported API: false

Returns:
Class

getDObjectClass

public Class getDObjectClass()
Deprecated. 
Gets the value of the attribute: DObjectClass.

Supported API: false

Returns:
Class

setAObjectClass

public void setAObjectClass(Class a_AObjectClass)
Deprecated. 
Sets the value of the attribute: AObjectClass.

Supported API: false

Parameters:
a_AObjectClass -

setBObjectClass

public void setBObjectClass(Class a_BObjectClass)
Deprecated. 
Sets the value of the attribute: BObjectClass.

Supported API: false

Parameters:
a_BObjectClass -

setCObjectClass

public void setCObjectClass(Class a_CObjectClass)
Deprecated. 
Sets the value of the attribute: CObjectClass.

Supported API: false

Parameters:
a_CObjectClass -

setDObjectClass

public void setDObjectClass(Class a_DObjectClass)
Deprecated. 
Sets the value of the attribute: DObjectClass.

Supported API: false

Parameters:
a_DObjectClass -

getAObjectClassName

public String getAObjectClassName()
Deprecated. 
Gets the value of the attribute: AObjectClassName.

Supported API: false

Returns:
String

setAObjectClassName

public void setAObjectClassName(String a_AObjectClassName)
Deprecated. 
Sets the value of the attribute: AObjectClassName.

Supported API: false

Parameters:
a_AObjectClassName -

getLocale

public Locale getLocale()
Deprecated. 
Gets the value of the attribute: locale.

Supported API: false

Returns:
Locale

setLocale

public void setLocale(Locale a_Locale)
Deprecated. 
Sets the value of the attribute: locale.

Supported API: false

Parameters:
a_Locale -

getColumnName

public String getColumnName(String attribute,
                            Object target)
Deprecated. 

getSetValues

protected Vector getSetValues()
Deprecated. 

setSetValues

protected void setSetValues(Vector newSetValues)
Deprecated. 

setResultVector

public void setResultVector(Class AClass,
                            Vector AObjectVector,
                            Class BClass,
                            Vector BObjectVector,
                            Class CClass,
                            Vector CObjectVector,
                            Class DClass,
                            Vector DObjectVector)
Deprecated.