protected static class QuantityDBImpl.NameKey extends Object implements Serializable, Comparable
| Modifier | Constructor and Description |
|---|---|
protected |
QuantityDBImpl.NameKey(String name)
Constructs from the name of a quantity.
|
protected QuantityDBImpl.NameKey(String name)
name - The name of the quantity.public int compareTo(Object obj) throws ClassCastException
compareTo in interface ComparableClassCastExceptionpublic String getName()