com.businessobjects.rebean.wi
Class DefaultUnit

java.lang.Object
  extended by com.businessobjects.rebean.wi.DefaultUnit

public final class DefaultUnit
extends java.lang.Object

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

DefaultUnit class handles the default unit type for all classes. This can be overruled by calling Unit.setUnit(UnitType).


Method Summary
static UnitType getUnit()
          Return the default unit type for all classes
static void setUnit(UnitType unitType)
          Changes the default unit type for all classes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUnit

public static UnitType getUnit()
Return the default unit type for all classes

Returns:
the default unit type for all classes

setUnit

public static void setUnit(UnitType unitType)
Changes the default unit type for all classes.

Throws:
java.lang.NullPointerException - if unitType is null