# com.beasys.commerce.axiom.units
Unit Interface

public interface Unit
extends `Belonging`

A unit of measure. Example include ( liter, bag, ream etc.). It is used together with a conversion factor to translate from one unit to another. Attribute: name

- Containment: By Value
- Multiplicity: 1:1

Related Topics

``UnitHome``
``UnitImpl``

All Known Implementing Classes
  `UnitImpl`

All Superinterfaces
  `Belonging`, `BusinessSmartComponent`, `Cloneable`, `Comparable`, `Serializable`

## Method Summary

`public `String`` | `getName`() Get the value of name
`public void` | `setName`(`String` name) Set the value of name

Methods from interface `com.beasys.commerce.foundation.`Belonging``
``clone`, `equals`, `interfaceName`, `setByValue`, `value``

Methods from interface `java.lang.`Comparable``
`compareTo`

## Method Detail

### getName() Method

    public String getName()

Get the value of name

#### Returns

name.

### setName(String) Method

    public void setName(String name)

Set the value of name

#### Parameters

name
  name to be added