Package com.invirgance.convirgance.olap
Class Dimension
java.lang.Object
com.invirgance.convirgance.olap.Dimension
Provides support for qualitative descriptions of data.
- Author:
- jbanes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the column representing this dimension.getName()
Returns the name of the dimension.getStar()
Returns the star schema associated with this dimension.getTable()
Returns the database table associated with this dimension.void
Sets the column associated with this dimension.void
Sets the name of this Dimension.void
Assigns a new table to this dimension.
-
Constructor Details
-
Dimension
public Dimension()Initializes an empty Dimension with no assigned attributes. -
Dimension
Constructs a Dimension with a specified name, associated database table, and column.- Parameters:
name
- The name of the Dimension (e.g. "Region", "Item Category").table
- The database table containing the dimension data.column
- The column in the database table that represents the dimension.
-
-
Method Details
-
getStar
Returns the star schema associated with this dimension.- Returns:
- the Star schema assigned to the dimension.
-
getName
Returns the name of the dimension.- Returns:
- the name of the Dimension as a String.
-
setName
Sets the name of this Dimension.- Parameters:
name
- the new name as a String.
-
getTable
Returns the database table associated with this dimension.- Returns:
- the Table object associated with this dimension.
-
setTable
Assigns a new table to this dimension.- Parameters:
table
- the Table object containing the dimension data.
-
getColumn
Returns the column representing this dimension.- Returns:
- the Column object representing the dimension.
-
setColumn
Sets the column associated with this dimension.- Parameters:
column
- the Column object associated with the dimension.
-