com.businessobjects.rebean.wi
Interface Unit

All Known Subinterfaces:
Attachable, Cell, CrossTable, Form, FreeCell, Graph, Margins, PageHeaderFooter, PageInfo, Position, ReportBlock, ReportBody, ReportCell, ReportContainer, ReportElementContainer, ReportStructure, SectionContainer, SimpleTable, Table, TableCell, TableFormBase

public interface Unit

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

Describes the unit used for a certain class.

Note that values that are set will be rounded to an internal value and therefore when getting a value that has just been set, there may be differences.

See Also:
UnitType

Method Summary
 UnitType getUnit()
          Gets the UnitType used for all measures in the current class.
 void setUnit(UnitType unitType)
          Changes the UnitType used for all measures in the current class
 

Method Detail

getUnit

UnitType getUnit()
Gets the UnitType used for all measures in the current class. This can be either a value specific for this instance, or the default value as defined in DefaultUnit.

Returns:
The UnitType used for all measures in the current class. This can be either a value specific for this instance, or the default value as defined in DefaultUnit.

setUnit

void setUnit(UnitType unitType)
Changes the UnitType used for all measures in the current class

Parameters:
unitType - The new UnitType. When null, the value of DefaultUnit.getUnit() will be used.