com.sas.graphics.components.barlinechart
Class BarLineChartTableDataModel

com.sas.graphics.components.barlinechart.BarLineChartTableDataModel

public class BarLineChartTableDataModel

A BarLineChartTableDataModel encapsulates relational data from a javax.swing.table.TableModel and maps the TableModel's data columns onto a BarLineChart component. To do the mapping, it assigns variable roles to the data columns that will be used in the graph, and the assigned roles determine how the BarLineChart displays the data.

By default when generating a graph, a BarLineChart summarizes the data from a BarLineChartTableDataModel.

Topics:
Basic Charts
Data Summarization and Statistic Calculation
Numeric Categorizations
Data Subgroups
Multiple Response Variables
Multiple Charts in Columns and/or Rows
Valid Variable Roles for a BarLineChartTableDataModel
Behavior
Events
Error Handling
Samples:
Swing-based Samples
Servlet-based Samples

Since:
SAS 9.1
See Also:
BarLineChartDataModel, BarLineChart

Constructor Summary
BarLineChartTableDataModel()
          Default Constructor
BarLineChartTableDataModel(javax.swing.table.TableModel newModel)
          Constructor with model designation.
 
Method Summary
 void apply(BarLineChartTableDataModel theOtherModel)
          Utility method to convey properties contained in "theOtherModel" to this object.
 boolean equals(java.lang.Object obj)
          Determines whether another object is equal to this BarLineChartTableDataModel.
 Variable[] getAuxiliaryVariable()
          Returns the array of data columns that was most recently set by the setAuxiliaryVariable() method.
 AnalysisVariable getBarResponse2Variable()
          Returns the variable identifying the barResponse2 data column that was most recently set in the BarResponse2 role via the setBarResponse2Variable() method.
 AnalysisVariable getBarResponseVariable()
          Returns the variable identifying the barResponse data column that was most recently set in the BarResponse role via the setBarResponseVariable() method.
 Variable getCategorySortVariable()
          Returns the data column that was most recently set in the CategorySort role by the setCategorySortVariable() method.
 ClassificationVariable getCategoryVariable()
          Returns the data column that was most recently set in the Category role by the setCategoryVariable() method.
 ClassificationVariable getColumnVariable()
          Returns the data column that was most recently set in the ColumnVariable role by the setColumnVariable() method.
 Variable[] getDataTipVariable()
          Returns the array of data columns that was most recently set by the setDataTipVariable() method.
 Variable getInsideBarLabelVariable()
          Returns the data column that was most recently set in the InsideBarLabel role by the setInsideBarLabelVariable() method.
 AnalysisVariable getLineResponse2Variable()
          Returns the data column that was most recently set in the LineResponse2 role by the setLineResponse2Variable() method.
 AnalysisVariable getLineResponseVariable()
          Returns the data column that was most recently set in the LineResponse role by the setLineResponseVariable() method.
 javax.swing.table.TableModel getModel()
          Returns the TableModel containing the data values to be displayed by the BarLineChart.
 Variable getOutsideBarLabelVariable()
          Returns the data column that was most recently set in the OutsideBarLabel role by the setOutsideBarLabelVariable() method.
 Variable getOutsideMarkerLabelVariable()
          Returns the data column that was most recently set in the OutsideMarkerLabel role by the setOutsideMarkerLabelVariable() method.
 ClassificationVariable getRowVariable()
          Returns the data column that was most recently set in the Row role by the setRowVariable() method.
 javax.swing.ListSelectionModel getSelectionModel()
          Returns the ListSelectionModel that indicates which data values are selected.
 Variable getStyleByVariable()
          Returns the data column that was most recently set in the StyleBy role by the setStyleByVariable() method.
 ClassificationVariable getSubgroupVariable()
          Returns the data column that was most recently set in the Subgroup role by the setSubgroupVariable() method.
 int hashCode()
          Computes the hash code for this BarLineChartTableDataModel.
 boolean isStatisticEnabled()
          Returns whether or not to summarize the data.
 void setAuxiliaryVariable(Variable[] newVariables)
          Specifies an array of Variables that are included among the variables that are passed in the events on the BarLineChart data elements.
 void setBarResponse2Variable(AnalysisVariable newVariable)
          Sets the data column(s) in the model whose values are to be used to determine the extent (or length) of the bar elements associated with the response2 axis (the right axis in a vertical bar chart, or the bottom axis in a horizontal bar chart).
 void setBarResponseVariable(AnalysisVariable newVariable)
          Sets the data column(s) in the model whose values are to be used to determine the extent (or length) of the bar elements associated with the response axis.
 void setCategorySortVariable(Variable newVariable)
          Sets the variable model that controls the order in which the values are placed along the category axis.
 void setCategoryVariable(ClassificationVariable newVariable)
          Sets the variable model used to identify the data column in the model whose values are used to produce the bar elements along the category axis.
 void setColumnVariable(ClassificationVariable newVariable)
          Sets the variable model(s) used to identify the data column(s) in the model whose values are used to horizontally group the data elements.
 void setDataTipVariable(Variable[] newVariables)
          Specifies an array of Variables to be displayed in the data tip.
 void setInsideBarLabelVariable(Variable newVariable)
          Sets the data column whose values appear as bar labels drawn just inside of the bar element.
 void setLineResponse2Variable(AnalysisVariable newVariable)
          Sets the data column(s) in the model whose values are to be used to determine the placement of the line vertices associated with the response2 axis (the right axis in a vertical bar chart, or the bottom axis in a horizontal bar chart).
 void setLineResponseVariable(AnalysisVariable newVariable)
          Sets the data column(s) in the model whose values are to be used to determine the placement of the line vertices associated with the response axis.
 void setModel(javax.swing.table.TableModel newModel)
          Sets the TableModel containing the data values to be displayed by the BarLineChart.
 void setOutsideBarLabelVariable(Variable newVariable)
          Sets the data column whose values appear as bar labels drawn just outside of the bar element.
 void setOutsideMarkerLabelVariable(Variable newVariable)
          Sets the data column whose values appear as labels above the marker locations (line vertices).
 void setRowVariable(ClassificationVariable newVariable)
          Sets the variable model(s) used to identify the data column(s) in the model whose values are used to vertically group the data elements.
 void setSelectionModel(javax.swing.ListSelectionModel newModel)
          Sets the ListSelectionModel which indicates which data values are selected.
 void setStatisticEnabled(boolean newStatisticEnabled)
          Sets whether or not to summarize the data.
 void setStyleByVariable(Variable newVariable)
          Sets the variable whose associated values will be used to define the color mapping on the bar and marker data elements.
 void setSubgroupVariable(ClassificationVariable newVariable)
          Sets the variable model used to identify the data column in the model whose values are used sub-divide the bar elements per category value.
 
Methods inherited from class com.sas.graphics.components.DataModel
apply, getLocale, getRulesContext, getSortStrategy, setLocale, setRulesContext, setSortStrategy
 
Methods inherited from class com.sas.graphics.components.ModelBase
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, setContainedModel
 

Constructor Detail

BarLineChartTableDataModel

public BarLineChartTableDataModel()
Default Constructor


BarLineChartTableDataModel

public BarLineChartTableDataModel(javax.swing.table.TableModel newModel)
Constructor with model designation. Passing in a null model is equivalent to having called the default constructor.

Method Detail

setSelectionModel

public void setSelectionModel(javax.swing.ListSelectionModel newModel)
Sets the ListSelectionModel which indicates which data values are selected.

Parameters:
newModel - the ListSelectionModel containing the indicies of the selected data values.
Throws:
java.lang.IllegalArgumentException - if newModel is null.
See Also:
getSelectionModel()

getSelectionModel

public javax.swing.ListSelectionModel getSelectionModel()
Returns the ListSelectionModel that indicates which data values are selected.

Returns:
the ListSelectionModel containing the indicies of the selected data values.
See Also:
setSelectionModel(javax.swing.ListSelectionModel)

apply

public void apply(BarLineChartTableDataModel theOtherModel)
Utility method to convey properties contained in "theOtherModel" to this object.
Note: Contained "models" (i.e. properties that are subclasses of ModelBase) will in turn be called on to convey their properties to the like contained models in the other object. In that respect this can be considered a "tree" type copy.
Also Note: This is a deep copy. Thus after the copy, mutable properties will not be shared by the two instances.


setModel

public void setModel(javax.swing.table.TableModel newModel)
Sets the TableModel containing the data values to be displayed by the BarLineChart.

Parameters:
newModel - the TableModel containing the data values.
See Also:
getModel()

getModel

public javax.swing.table.TableModel getModel()
Returns the TableModel containing the data values to be displayed by the BarLineChart.

See Also:
setModel(javax.swing.table.TableModel)

setStatisticEnabled

public void setStatisticEnabled(boolean newStatisticEnabled)
Sets whether or not to summarize the data. The default is true. The only time that this should be set to false is when the Swing TableModel contains summarized data and all the classification variables have been properly assigned.

Parameters:
newStatisticEnabled - whether or not to summarize the data
See Also:
isStatisticEnabled()

isStatisticEnabled

public boolean isStatisticEnabled()
Returns whether or not to summarize the data.

See Also:
setStatisticEnabled(boolean)

setColumnVariable

public void setColumnVariable(ClassificationVariable newVariable)
Sets the variable model(s) used to identify the data column(s) in the model whose values are used to horizontally group the data elements.

Advanced: An ClassificationVariableList may be used to assign multiple variables for this property. Multiple variables will form a hierarchy of classification values in the graph.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getColumnVariable()

getColumnVariable

public ClassificationVariable getColumnVariable()
Returns the data column that was most recently set in the ColumnVariable role by the setColumnVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setColumnVariable(com.sas.graphics.components.ClassificationVariable)

setRowVariable

public void setRowVariable(ClassificationVariable newVariable)
Sets the variable model(s) used to identify the data column(s) in the model whose values are used to vertically group the data elements.

Advanced: An ClassificationVariableList may be used to assign multiple variables for this property. Multiple variables will form a hierarchy of classification values in the graph.

Parameters:
newVariable - the variable(s) identifying the TableModel data column and associated properties
See Also:
getRowVariable()

getRowVariable

public ClassificationVariable getRowVariable()
Returns the data column that was most recently set in the Row role by the setRowVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setRowVariable(com.sas.graphics.components.ClassificationVariable)

setCategoryVariable

public void setCategoryVariable(ClassificationVariable newVariable)
Sets the variable model used to identify the data column in the model whose values are used to produce the bar elements along the category axis. If this property is null the BarLineChart will attempt to automatically select a data column from the TableModel (otherwise a graph could not be produced).

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getCategoryVariable()

getCategoryVariable

public ClassificationVariable getCategoryVariable()
Returns the data column that was most recently set in the Category role by the setCategoryVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setCategoryVariable(com.sas.graphics.components.ClassificationVariable)

setCategorySortVariable

public void setCategorySortVariable(Variable newVariable)
Sets the variable model that controls the order in which the values are placed along the category axis. The categoryVariable's sort property defines the direction of the values (data order, ascending, descending). If the categorySortVariable property is null (the default) then the data values designated by the categoryVariable are used to determine the category axis' value order. However if a categorySortVariable is specified then the data values designated by the categorySortVariable are used to determine the category axis' value order. Note: specifying a categorySortVariable does not change the category axis values, it only affects the order that they appear. Also note: that no category sort variable be applied if a cumulative statistic is specified on any of either the response or data labels. Also note: this property is ignored by the bar-line chart if the bar-line chart's graph model's uniformEnabled property is true.

A typical use of this property is to assign the resposeVariable as the categorySortVariable which will cause the data elements to be ordered by their response value. (ex. barLineChartTableDataModel.setCategorySortVariable(barLineChartTableDataModel.getResponseVariable());) The direction (tallest to shortest or shortest to tallest) comes from the categoryVariable's sort property (GraphConstatnes.SORT_DESCENDING or GraphConstatnes.SORT_ASCENDING).

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getCategorySortVariable()

getCategorySortVariable

public Variable getCategorySortVariable()
Returns the data column that was most recently set in the CategorySort role by the setCategorySortVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setCategorySortVariable(com.sas.graphics.components.Variable)

setStyleByVariable

public void setStyleByVariable(Variable newVariable)
Sets the variable whose associated values will be used to define the color mapping on the bar and marker data elements. The values associated with the column specified by the styleByVaraible will be used to color the data elements.
Note: color is used to distinguish between subgroup values if a subgroupVaraible has been designated. Similarly, color is used to distinguish between different response data when multiple response variables have been designated. For those reasons, the styleByVaraible property is only applicable when both
(1) no subgroupVaraible has been specified and
(2) when there are 0 or 1 response variables assigned.

Please refer to the colorPaletteType property on the BarLineChartModel to view available options to control the type of color mapping.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getStyleByVariable(), BarLineChartModel.setColorPaletteType(int)

getStyleByVariable

public Variable getStyleByVariable()
Returns the data column that was most recently set in the StyleBy role by the setStyleByVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setStyleByVariable(com.sas.graphics.components.Variable)

setSubgroupVariable

public void setSubgroupVariable(ClassificationVariable newVariable)
Sets the variable model used to identify the data column in the model whose values are used sub-divide the bar elements per category value.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getSubgroupVariable()

getSubgroupVariable

public ClassificationVariable getSubgroupVariable()
Returns the data column that was most recently set in the Subgroup role by the setSubgroupVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setSubgroupVariable(com.sas.graphics.components.ClassificationVariable)

setBarResponseVariable

public void setBarResponseVariable(AnalysisVariable newVariable)
Sets the data column(s) in the model whose values are to be used to determine the extent (or length) of the bar elements associated with the response axis.

This role also recognizes the highColumn, lowColumn and targetColumn AnalysisVaraible properties.

Advanced: An AnalysisVariableList may be used to assign multiple variables for this property. Multiple variables would result in multiple bar elemnts per category.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getBarResponseVariable(), setBarResponse2Variable(com.sas.graphics.components.AnalysisVariable)

getBarResponseVariable

public AnalysisVariable getBarResponseVariable()
Returns the variable identifying the barResponse data column that was most recently set in the BarResponse role via the setBarResponseVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setBarResponseVariable(com.sas.graphics.components.AnalysisVariable), getBarResponse2Variable()

setBarResponse2Variable

public void setBarResponse2Variable(AnalysisVariable newVariable)
Sets the data column(s) in the model whose values are to be used to determine the extent (or length) of the bar elements associated with the response2 axis (the right axis in a vertical bar chart, or the bottom axis in a horizontal bar chart).

This role also recognizes the highColumn, lowColumn and targetColumn AnalysisVaraible properties.

Advanced: An AnalysisVariableList may be used to assign multiple variables for this property. Multiple variables would result in multiple bar elemnts per category.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getBarResponse2Variable(), setBarResponseVariable(com.sas.graphics.components.AnalysisVariable)

getBarResponse2Variable

public AnalysisVariable getBarResponse2Variable()
Returns the variable identifying the barResponse2 data column that was most recently set in the BarResponse2 role via the setBarResponse2Variable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setBarResponseVariable(com.sas.graphics.components.AnalysisVariable), getBarResponseVariable()

setLineResponseVariable

public void setLineResponseVariable(AnalysisVariable newVariable)
Sets the data column(s) in the model whose values are to be used to determine the placement of the line vertices associated with the response axis.

Advanced: An AnalysisVariableList may be used to assign multiple variables for this property. Multiple variables would result in multiple vertices per category.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getLineResponseVariable(), setLineResponse2Variable(com.sas.graphics.components.AnalysisVariable)

getLineResponseVariable

public AnalysisVariable getLineResponseVariable()
Returns the data column that was most recently set in the LineResponse role by the setLineResponseVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setLineResponseVariable(com.sas.graphics.components.AnalysisVariable), getLineResponse2Variable()

setLineResponse2Variable

public void setLineResponse2Variable(AnalysisVariable newVariable)
Sets the data column(s) in the model whose values are to be used to determine the placement of the line vertices associated with the response2 axis (the right axis in a vertical bar chart, or the bottom axis in a horizontal bar chart).

Advanced: An AnalysisVariableList may be used to assign multiple variables for this property. Multiple variables would result in multiple vertices per category.

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getLineResponse2Variable(), setLineResponseVariable(com.sas.graphics.components.AnalysisVariable)

getLineResponse2Variable

public AnalysisVariable getLineResponse2Variable()
Returns the data column that was most recently set in the LineResponse2 role by the setLineResponse2Variable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setBarResponseVariable(com.sas.graphics.components.AnalysisVariable), getBarResponseVariable()

setOutsideBarLabelVariable

public void setOutsideBarLabelVariable(Variable newVariable)
Sets the data column whose values appear as bar labels drawn just outside of the bar element. These bar data labels will appear if the BarLineChartModel's OutsideBarLabelContent property is set to GraphConstants.DATA_LABEL_AUTOMATIC.
Note: OutsideBarLabels only appear if the bars are not stacked.

Advanced: An AnalysisVariable, AnalysisVariableList, ClassificationVariable or ClassificationVariableList may also be specified. If analysis variables are used then the specified statistic will be applied to the label values (Note: AnalysisVariables should only point to numeric data columns). If a list is used then the bar elements will use the labels in the order specified (i.e. the 1st data label variable will be paired with the 1st bar variable, the 2nd data label variable will be paired with the 2nd bar variable, and same for the 3rd etc.) If more data label variables are specified than bar variables then the excess data labels are ignored

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getOutsideBarLabelVariable(), BarLineChartModel.setOutsideBarLabelContent(int), BarLineChartModel.setStackBarPolicy(int)

getOutsideBarLabelVariable

public Variable getOutsideBarLabelVariable()
Returns the data column that was most recently set in the OutsideBarLabel role by the setOutsideBarLabelVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setOutsideBarLabelVariable(com.sas.graphics.components.Variable)

setInsideBarLabelVariable

public void setInsideBarLabelVariable(Variable newVariable)
Sets the data column whose values appear as bar labels drawn just inside of the bar element. These bar data labels will appear if the BarLineChartModel's InsideBarLabelContent property is set to GraphConstants.DATA_LABEL_AUTOMATIC.

Advanced: An AnalysisVariable, AnalysisVariableList, ClassificationVariable or ClassificationVariableList may also be specified. If analysis variables are used then the specified statistic will be applied to the label values (Note: AnalysisVariables should only point to numeric data columns). If a list is used then the bar elements will use the labels in the order specified (i.e. the 1st data label variable will be paired with the 1st bar variable, the 2nd data label variable will be paired with the 2nd bar variable, and same for the 3rd etc.) If more data label variables are specified than bar variables then the excess data labels are ignored

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getInsideBarLabelVariable(), BarLineChartModel.setInsideBarLabelContent(int)

getInsideBarLabelVariable

public Variable getInsideBarLabelVariable()
Returns the data column that was most recently set in the InsideBarLabel role by the setInsideBarLabelVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setInsideBarLabelVariable(com.sas.graphics.components.Variable)

setOutsideMarkerLabelVariable

public void setOutsideMarkerLabelVariable(Variable newVariable)
Sets the data column whose values appear as labels above the marker locations (line vertices). These data labels will appear if the BarLineChartModel's TopMarkerLabelContent property is set to GraphConstants.DATA_LABEL_AUTOMATIC.

Advanced: An AnalysisVariable, AnalysisVariableList, ClassificationVariable or ClassificationVariableList may also be specified. If analysis variables are used then the specified statistic will be applied to the label values (Note: AnalysisVariables should only point to numeric data columns). If a list is used then the line vertices will use the labels in the order specified (i.e. the 1st data label variable will be paired with the 1st line variable, the 2nd data label variable will be paired with the 2nd line variable, and same for the 3rd etc.) If more data label variables are specified than line variables then the excess data labels are ignored

Parameters:
newVariable - the variable identifying the TableModel data column and associated properties
See Also:
getOutsideMarkerLabelVariable(), BarLineChartModel.setOutsideMarkerLabelContent(int)

getOutsideMarkerLabelVariable

public Variable getOutsideMarkerLabelVariable()
Returns the data column that was most recently set in the OutsideMarkerLabel role by the setOutsideMarkerLabelVariable() method. Returns null if the variable role has not been set.

Returns:
the variable identifying the TableModel data column and associated properties
See Also:
setOutsideMarkerLabelVariable(com.sas.graphics.components.Variable)

setDataTipVariable

public void setDataTipVariable(Variable[] newVariables)
Specifies an array of Variables to be displayed in the data tip. By default, the variables specified on setDataTipVariable() are appended to the end of the default data tip display. To replace the default display with the list of variables in the Variable[] array, use the GraphModel to get the DataTipModel , and the call the DataTipModel's setContent() method with the value GraphConstants.DATA_TIP_REPLACE.

The following code fragment specifies two variables for the data tip display and uses them to replace the default data tip display:


 // Create an array of variables to set in the data tip display
    Variable dataTipVars[] = new Variable[2];
      dataTipVars[0] = new Variable("Task");
      dataTipVars[1] = new Variable("Duration");
    barLineChart.getGraphModel().getDataTipModel().setContent(GraphConstants.DATA_TIP_REPLACE);
 

Parameters:
newVariables - array of Variables to display in data tip
Throws:
java.lang.IllegalArgumentException - if a non-null array of zero length is passed in.
See Also:
getDataTipVariable(), setAuxiliaryVariable(com.sas.graphics.components.Variable[])

getDataTipVariable

public Variable[] getDataTipVariable()
Returns the array of data columns that was most recently set by the setDataTipVariable() method. Returns null if the data tip variables were not set.

Returns:
variables for data tip values
See Also:
setDataTipVariable(com.sas.graphics.components.Variable[])

setAuxiliaryVariable

public void setAuxiliaryVariable(Variable[] newVariables)
Specifies an array of Variables that are included among the variables that are passed in the events on the BarLineChart data elements. Auxiliary variables are not represented in the chart. By default, they are not displayed in the datatip, although they can be included in the array of variables set by setDataTipVariable().

Parameters:
newVariables - contains Variables for GraphActionEvent return.
Throws:
java.lang.IllegalArgumentException - if a non-null array of zero length is passed in.
See Also:
getAuxiliaryVariable(), setDataTipVariable(com.sas.graphics.components.Variable[])

getAuxiliaryVariable

public Variable[] getAuxiliaryVariable()
Returns the array of data columns that was most recently set by the setAuxiliaryVariable() method. Returns null if the auxiliary variables were not set.

Returns:
variables for Auxiliary values
See Also:
setAuxiliaryVariable(com.sas.graphics.components.Variable[]), setDataTipVariable(com.sas.graphics.components.Variable[])

equals

public boolean equals(java.lang.Object obj)
Determines whether another object is equal to this BarLineChartTableDataModel.

The result is true if and only if the argument is not null and is a BarLineChartTableDataModel object that has the same property values as this object.

Overrides:
equals in class DataModel
Parameters:
obj - the object to test for equality with this BarLineChartTableDataModel
Returns:
true if the objects are the same; false otherwise.

hashCode

public int hashCode()
Computes the hash code for this BarLineChartTableDataModel.

Overrides:
hashCode in class DataModel
Returns:
a hash code value for this object.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.