All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cube.cubette.CubetteSpecification

java.lang.Object
   |
   +----cube.cubette.CubetteSpecification

public class CubetteSpecification
extends Object
The CubetteSpecification class implements the specification of a cubette in terms of units and measures

For more information on the cube see the cube Overview.

Copyright © 1997 Curtis E. Dyreson. All rights reserved. Please be aware of the Licence and Version.


Variable Index

 o value

Constructor Index

 o CubetteSpecification(Id, Table, Table)
Construct a specification
 o CubetteSpecification(Id[], Id[])
Construct a specification

Method Index

 o equals(Object)
These can be used in Hashtables of all cubette specifications
 o getMeasures()
Get the measures for this Cubette.
 o getUnits()
Get the units for this Cubette.
 o hashCode()
These can be used in Hashtables of all cubette specifications
 o image()
Format the specification as a nice looking string

Variables

 o value
  public IntegerCol value

Constructors

 o CubetteSpecification
  public CubetteSpecification(Id units[],
                              Id measures[])
Construct a specification

Parameters:
units - - a list of units
measures - - a list of measures
 o CubetteSpecification
  public CubetteSpecification(Id cubette,
                              Table filterUnitTable,
                              Table filterMeasureTable)
Construct a specification

Parameters:
cubette - - which cubette
filterUnitTable - - a table of all filters, indexed by unit
filterMeasureTable - - a table of all filters, indexed by measure

Methods

 o hashCode
  public int hashCode()
These can be used in Hashtables of all cubette specifications

Overrides:
hashCode in class Object
 o equals
  public boolean equals(Object obj)
These can be used in Hashtables of all cubette specifications

Parameters:
obj - - Will die a horrible death unless it is a cubette spec
Overrides:
equals in class Object
 o image
  public String image()
Format the specification as a nice looking string

 o getUnits
  public IdList getUnits()
Get the units for this Cubette.

 o getMeasures
  public IdList getMeasures()
Get the measures for this Cubette.


All Packages  Class Hierarchy  This Package  Previous  Next  Index