public abstract class Unit
extends java.lang.Object
implements org.omg.CORBA.portable.StreamableValue
| Modifier and Type | Field and Description |
|---|---|
Unit[] |
elements
The subunits if COMPOSITE, zero length array if not.
|
int |
exponent
An exponent for the entire unit, ie Hertz would be SECOND with
an exponent of -1.
|
double |
multi_factor
A constant multiplier.
|
java.lang.String |
name
A name for the unit, may be empty if the name should be
automatically generated.
|
int |
power
The power of ten to prefix.
|
UnitBase |
the_unit_base
The base, if a base unit, or COMPOSITE in not.
|
| Constructor and Description |
|---|
Unit() |
| Modifier and Type | Method and Description |
|---|---|
void |
_read(org.omg.CORBA.portable.InputStream in) |
java.lang.String[] |
_truncatable_ids() |
org.omg.CORBA.TypeCode |
_type() |
void |
_write(org.omg.CORBA.portable.OutputStream out) |
public UnitBase the_unit_base
public Unit[] elements
public int power
public java.lang.String name
public double multi_factor
public int exponent
public java.lang.String[] _truncatable_ids()
_truncatable_ids in interface org.omg.CORBA.portable.ValueBasepublic void _read(org.omg.CORBA.portable.InputStream in)
_read in interface org.omg.CORBA.portable.Streamablepublic void _write(org.omg.CORBA.portable.OutputStream out)
_write in interface org.omg.CORBA.portable.Streamablepublic org.omg.CORBA.TypeCode _type()
_type in interface org.omg.CORBA.portable.Streamable