Package com.invirgance.convirgance.olap
Class Metric
java.lang.Object
com.invirgance.convirgance.olap.Metric
Provides support for quantitative values of data.
- Author:
- jbanes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the column representing this metric's data.getStar()
Returns the star schema associated with this metric.getTable()
Returns the database table associated with this metric.void
Sets the column associated with this metric.void
Assigns a new table to this metric.
-
Constructor Details
-
Metric
public Metric()Default constructor initializes an empty Metric with no assigned attributes. -
Metric
Constructs a Metric with an associated database table and column.- Parameters:
table
- Database table associated with the metric.column
- Column associated with the metric.
-
-
Method Details
-
getStar
Returns the star schema associated with this metric.- Returns:
- the Star schema assigned to the metric.
-
getTable
Returns the database table associated with this metric.- Returns:
- Table object associated with this metric.
-
setTable
Assigns a new table to this metric.- Parameters:
table
- the Table object containing the metric data.
-
getColumn
Returns the column representing this metric's data.- Returns:
- the Column object with the metric data.
-
setColumn
Sets the column associated with this metric.- Parameters:
column
- The Column object associated with this metric.
-