Index

A B C D E F G H I K M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractBaseUnit<T> - Interface in org.openwms.core.units.api
A AbstractBaseUnit is a stereotype interface that can be used in wildcard boundaries for any kind of BaseUnit types.
AbstractMeasure - Interface in org.openwms.core.units.api
A definition of any kind of measurement used in the api.
add(Measurable<BigDecimal, MetricDimension, MetricDimensionUnit>) - Method in class org.openwms.core.units.api.MetricDimension
Add an other Measurable to this one.
add(Measurable<BigDecimal, Piece, PieceUnit>) - Method in class org.openwms.core.units.api.Piece
Add an other Measurable to this one.
add(Measurable<BigDecimal, Weight, WeightUnit>) - Method in class org.openwms.core.units.api.Weight
Add an other Measurable to this one.
add(Measurable<V, E, T>) - Method in interface org.openwms.core.units.api.Measurable
Add an other Measurable to this one.
all - Static variable in enum class org.openwms.core.units.api.MetricDimensionUnit
 
all - Static variable in enum class org.openwms.core.units.api.PieceUnit
 
all - Static variable in enum class org.openwms.core.units.api.WeightUnit
 
amount - Variable in class org.openwms.core.units.api.MeasurableString
 
assemble(Serializable, Object) - Method in class org.openwms.core.units.persistence.UnitUserType
 
asString() - Method in interface org.openwms.core.units.api.Measurable
Return a combination of amount and unit, e.g. 24 PC

B

BaseUnit<T> - Interface in org.openwms.core.units.api
A BaseUnit is the type definition of an Measurable.
BaseUnitConverter - Class in org.openwms.core.units.converter
A BaseUnitConverter.
BaseUnitConverter() - Constructor for class org.openwms.core.units.converter.BaseUnitConverter
 

C

CM - Enum constant in enum class org.openwms.core.units.api.MetricDimensionUnit
Centimeters.
compare(BigDecimal, BigDecimal) - Method in class org.openwms.core.units.api.Piece
 
compareTo(MetricDimension) - Method in class org.openwms.core.units.api.MetricDimension
compareTo(Piece) - Method in class org.openwms.core.units.api.Piece
compareTo(Weight) - Method in class org.openwms.core.units.api.Weight
convertFrom(String, BaseUnit) - Method in class org.openwms.core.units.converter.BaseUnitConverter
convertFrom(Measurable, Measurable) - Method in class org.openwms.core.units.converter.MeasurableConverter
convertFrom(MeasurableString, Measurable) - Method in class org.openwms.core.units.converter.MeasurableStringConverter
convertTo(BaseUnit, String) - Method in class org.openwms.core.units.converter.BaseUnitConverter
convertTo(Measurable, Measurable) - Method in class org.openwms.core.units.converter.MeasurableConverter
convertTo(Measurable, MeasurableString) - Method in class org.openwms.core.units.converter.MeasurableStringConverter
convertTo(MetricDimensionUnit) - Method in class org.openwms.core.units.api.MetricDimension
Convert this Measurable into another Measurable .
convertTo(PieceUnit) - Method in class org.openwms.core.units.api.Piece
Convert this Measurable into another Measurable .
convertTo(WeightUnit) - Method in class org.openwms.core.units.api.Weight
Convert this Measurable into another Measurable .
convertTo(T) - Method in interface org.openwms.core.units.api.Measurable
Convert this Measurable into another Measurable .

D

deepCopy(Measurable) - Method in class org.openwms.core.units.persistence.UnitUserType
 
disassemble(Measurable) - Method in class org.openwms.core.units.persistence.UnitUserType
 
DM - Enum constant in enum class org.openwms.core.units.api.MetricDimensionUnit
Decimeters.
DOZ - Enum constant in enum class org.openwms.core.units.api.PieceUnit
A Dozen.

E

embeddable() - Method in class org.openwms.core.units.persistence.UnitUserType
 
equals(Object) - Method in class org.openwms.core.units.api.MetricDimension
Uses magnitude and unitType for comparison.
equals(Object) - Method in class org.openwms.core.units.api.Piece
Uses magnitude and unitType for comparison.
equals(Object) - Method in class org.openwms.core.units.api.Weight
Uses magnitude and unitType for comparison.
equals(Measurable, Measurable) - Method in class org.openwms.core.units.persistence.UnitUserType
 

F

fromString(String, BigDecimal) - Static method in class org.openwms.core.units.UnitsUtil
 

G

G - Enum constant in enum class org.openwms.core.units.api.WeightUnit
Gram.
getAll() - Method in interface org.openwms.core.units.api.BaseUnit
Return all sub types of the BaseUnit.
getAll() - Method in enum class org.openwms.core.units.api.MetricDimensionUnit
Return all sub types of the BaseUnit.
getAll() - Method in enum class org.openwms.core.units.api.PieceUnit
Return all sub types of the BaseUnit.
getAll() - Method in enum class org.openwms.core.units.api.WeightUnit
Return all sub types of the BaseUnit.
getAllUnits() - Static method in class org.openwms.core.units.converter.Units
 
getAmount() - Method in class org.openwms.core.units.api.MeasurableString
 
getBaseUnit() - Method in interface org.openwms.core.units.api.BaseUnit
Return the base unit type of the BaseUnit.
getBaseUnit() - Method in enum class org.openwms.core.units.api.MetricDimensionUnit
Return the base unit type of the BaseUnit.
getBaseUnit() - Method in enum class org.openwms.core.units.api.PieceUnit
Return the base unit type of the BaseUnit.
getBaseUnit() - Method in enum class org.openwms.core.units.api.WeightUnit
Return the base unit type of the BaseUnit.
getBigDecimalMagnitude(Number) - Static method in class org.openwms.core.units.converter.Units
 
getMagnitude() - Method in interface org.openwms.core.units.api.Measurable
Get the magnitude of this Measurable.
getMagnitude() - Method in class org.openwms.core.units.api.MetricDimension
Get the magnitude of this Measurable.
getMagnitude() - Method in enum class org.openwms.core.units.api.MetricDimensionUnit
Get the magnitude of this MetricDimensionUnit.
getMagnitude() - Method in class org.openwms.core.units.api.Piece
Get the magnitude of this Measurable.
getMagnitude() - Method in enum class org.openwms.core.units.api.PieceUnit
Get the magnitude of this PieceUnit.
getMagnitude() - Method in class org.openwms.core.units.api.Weight
Get the magnitude of this Measurable.
getMagnitude() - Method in enum class org.openwms.core.units.api.WeightUnit
Get the magnitude of this WeightUnit.
getMeasurable() - Method in interface org.openwms.core.units.api.UnitType
Return the concrete type of Measurable.
getMeasurable(String) - Static method in class org.openwms.core.units.converter.Units
 
getMeasurable(String, String) - Static method in class org.openwms.core.units.converter.Units
 
getMeasurable(BigDecimal, String) - Static method in class org.openwms.core.units.converter.Units
 
getMeasurable(MeasurableString) - Static method in class org.openwms.core.units.converter.Units
 
getMeasurableOptional(String) - Static method in class org.openwms.core.units.converter.Units
 
getPropertyValue(Measurable, int) - Method in class org.openwms.core.units.persistence.UnitUserType
 
getUnit() - Method in class org.openwms.core.units.api.MeasurableString
 
getUnit(String) - Static method in class org.openwms.core.units.converter.Units
 
getUnitType() - Method in interface org.openwms.core.units.api.Measurable
Returns the type of Measurable.
getUnitType() - Method in class org.openwms.core.units.api.MetricDimension
Returns the type of Measurable.
getUnitType() - Method in class org.openwms.core.units.api.Piece
Returns the type of Measurable.
getUnitType() - Method in class org.openwms.core.units.api.Weight
Returns the type of Measurable.

H

hashCode() - Method in class org.openwms.core.units.api.MetricDimension
Uses magnitude and unitType for calculation.
hashCode() - Method in class org.openwms.core.units.api.Piece
Uses magnitude and unitType for calculation.
hashCode() - Method in class org.openwms.core.units.api.Weight
Uses magnitude and unitType for calculation.
hashCode(Measurable) - Method in class org.openwms.core.units.persistence.UnitUserType
 

I

instantiate(ValueAccess, SessionFactoryImplementor) - Method in class org.openwms.core.units.persistence.UnitUserType
 
isMutable() - Method in class org.openwms.core.units.persistence.UnitUserType
 
isNegative() - Method in interface org.openwms.core.units.api.Measurable
Check whether the magnitude is of negative value.
isNegative() - Method in class org.openwms.core.units.api.MetricDimension
Check whether the magnitude is of negative value.
isNegative() - Method in class org.openwms.core.units.api.Piece
Check whether the magnitude is of negative value.
isNegative() - Method in class org.openwms.core.units.api.Weight
Check whether the magnitude is of negative value.
isZero() - Method in interface org.openwms.core.units.api.Measurable
Check whether the magnitude is 0.
isZero() - Method in class org.openwms.core.units.api.MetricDimension
Check whether the magnitude is 0.
isZero() - Method in class org.openwms.core.units.api.Piece
Check whether the magnitude is 0.
isZero() - Method in class org.openwms.core.units.api.Weight
Check whether the magnitude is 0.

K

KG - Enum constant in enum class org.openwms.core.units.api.WeightUnit
Kilogram.

M

M - Enum constant in enum class org.openwms.core.units.api.MetricDimensionUnit
Meters.
magnitude - Variable in class org.openwms.core.units.api.MetricDimension
The magnitude of the MetricDimensionUnit.
magnitude - Variable in enum class org.openwms.core.units.api.MetricDimensionUnit
 
magnitude - Variable in class org.openwms.core.units.api.Piece
The magnitude of the Piece.
magnitude - Variable in enum class org.openwms.core.units.api.PieceUnit
 
magnitude - Variable in class org.openwms.core.units.api.Weight
The magnitude of the Weight.
magnitude - Variable in enum class org.openwms.core.units.api.WeightUnit
 
magnitude - Variable in class org.openwms.core.units.persistence.UnitUserType.MeasurableMapper
 
Measurable<V,E,T> - Interface in org.openwms.core.units.api
A Measurable.
MeasurableConverter - Class in org.openwms.core.units.converter
A MeasurableConverter is just an in-out DozerConverter for Measurables to avoid instantiating Measurables and passing source to destination.
MeasurableConverter() - Constructor for class org.openwms.core.units.converter.MeasurableConverter
 
MeasurableMapper() - Constructor for class org.openwms.core.units.persistence.UnitUserType.MeasurableMapper
 
MeasurableString - Class in org.openwms.core.units.api
A MeasurableString.
MeasurableString() - Constructor for class org.openwms.core.units.api.MeasurableString
 
MeasurableString(String) - Constructor for class org.openwms.core.units.api.MeasurableString
 
MeasurableString(Measurable) - Constructor for class org.openwms.core.units.api.MeasurableString
 
MeasurableStringConverter - Class in org.openwms.core.units.converter
A MeasurableStringConverter.
MeasurableStringConverter() - Constructor for class org.openwms.core.units.converter.MeasurableStringConverter
 
MetricDimension - Class in org.openwms.core.units.api
A MetricDimension represents metric dimensional units, like meters.
MetricDimension() - Constructor for class org.openwms.core.units.api.MetricDimension
Accessed by persistence provider.
MetricDimension(BigDecimal, MetricDimensionUnit) - Constructor for class org.openwms.core.units.api.MetricDimension
Create a new MetricDimension.
MetricDimensionUnit - Enum Class in org.openwms.core.units.api
A MetricDimensionUnit.
MetricDimensionUnit(BigDecimal) - Constructor for enum class org.openwms.core.units.api.MetricDimensionUnit
Create a new MetricDimensionUnit.
MG - Enum constant in enum class org.openwms.core.units.api.WeightUnit
Milligram.
MM - Enum constant in enum class org.openwms.core.units.api.MetricDimensionUnit
Millimeters.

N

name() - Method in interface org.openwms.core.units.api.BaseUnit
A descriptive short name of the BaseUnit.

O

of(int) - Static method in class org.openwms.core.units.api.MetricDimension
Create a new MetricDimension.
of(int) - Static method in class org.openwms.core.units.api.Piece
Create a new Piece.
of(int) - Static method in class org.openwms.core.units.api.Weight
Create a new Weight.
of(int, MetricDimensionUnit) - Static method in class org.openwms.core.units.api.MetricDimension
Create a new MetricDimension.
of(int, PieceUnit) - Static method in class org.openwms.core.units.api.Piece
Create a new Piece.
of(Integer, WeightUnit) - Static method in class org.openwms.core.units.api.Weight
Create a new Weight.
of(BigDecimal) - Static method in class org.openwms.core.units.api.MetricDimension
Create a new MetricDimension.
of(BigDecimal) - Static method in class org.openwms.core.units.api.Piece
Create a new Piece.
of(BigDecimal) - Static method in class org.openwms.core.units.api.Weight
Create a new Weight.
of(BigDecimal, MetricDimensionUnit) - Static method in class org.openwms.core.units.api.MetricDimension
Create a new MetricDimension.
of(BigDecimal, PieceUnit) - Static method in class org.openwms.core.units.api.Piece
Create a new Piece.
of(BigDecimal, WeightUnit) - Static method in class org.openwms.core.units.api.Weight
Create a new Weight.
org.openwms.core.units - package org.openwms.core.units
This package is the base package of the units library and contains common types.
org.openwms.core.units.api - package org.openwms.core.units.api
This package contains the unit types and interface definitions used in client API.
org.openwms.core.units.converter - package org.openwms.core.units.converter
This package contains converter implementations for different frameworks.
org.openwms.core.units.persistence - package org.openwms.core.units.persistence
This package contains types used in the persistence layer.

P

PC - Enum constant in enum class org.openwms.core.units.api.PieceUnit
A Piece.
Piece - Class in org.openwms.core.units.api
A Piece.
Piece() - Constructor for class org.openwms.core.units.api.Piece
Accessed by persistence provider.
Piece(BigDecimal, PieceUnit) - Constructor for class org.openwms.core.units.api.Piece
Create a new Piece.
PieceUnit - Enum Class in org.openwms.core.units.api
A PieceUnit.
PieceUnit(BigDecimal) - Constructor for enum class org.openwms.core.units.api.PieceUnit
Create a new PieceUnit.

Q

QUANTITY_LENGTH - Static variable in class org.openwms.core.units.UnitConstants
Length of a Quantity field: 16

R

replace(Measurable, Measurable, Object) - Method in class org.openwms.core.units.persistence.UnitUserType
 
returnedClass() - Method in class org.openwms.core.units.persistence.UnitUserType
 

S

SEPARATOR - Static variable in interface org.openwms.core.units.api.Measurable
 
SEPARATOR - Static variable in class org.openwms.core.units.api.MeasurableString
 
SHIFTER - Static variable in class org.openwms.core.units.api.Piece
 
subtract(Measurable<BigDecimal, MetricDimension, MetricDimensionUnit>) - Method in class org.openwms.core.units.api.MetricDimension
Subtract an other Measurable instance from this one.
subtract(Measurable<BigDecimal, Piece, PieceUnit>) - Method in class org.openwms.core.units.api.Piece
Subtract an other Measurable instance from this one.
subtract(Measurable<BigDecimal, Weight, WeightUnit>) - Method in class org.openwms.core.units.api.Weight
Subtract an other Measurable instance from this one.
subtract(Measurable<V, E, T>) - Method in interface org.openwms.core.units.api.Measurable
Subtract an other Measurable instance from this one.
sumPieces(Stream<Piece>) - Static method in class org.openwms.core.units.UnitsUtil
 

T

T - Enum constant in enum class org.openwms.core.units.api.WeightUnit
Tons.
toString() - Method in class org.openwms.core.units.api.MeasurableString
 
toString() - Method in class org.openwms.core.units.api.MetricDimension
toString() - Method in class org.openwms.core.units.api.Piece
toString() - Method in class org.openwms.core.units.api.Weight

U

unit - Variable in class org.openwms.core.units.api.MeasurableString
 
UnitConstants - Class in org.openwms.core.units
A UnitConstants.
UnitConstants() - Constructor for class org.openwms.core.units.UnitConstants
 
Units - Class in org.openwms.core.units.converter
A Units is a helper class to deal with units.
Units() - Constructor for class org.openwms.core.units.converter.Units
 
UnitsUtil - Class in org.openwms.core.units
A UnitsUtil.
UnitsUtil() - Constructor for class org.openwms.core.units.UnitsUtil
 
unitType - Variable in class org.openwms.core.units.api.MetricDimension
The unit of the MetricDimension.
unitType - Variable in class org.openwms.core.units.api.Piece
The unit of the Piece.
unitType - Variable in class org.openwms.core.units.api.Weight
The unit of the Weight.
unitType - Variable in class org.openwms.core.units.persistence.UnitUserType.MeasurableMapper
 
UnitType - Interface in org.openwms.core.units.api
An UnitType is a super type of all concrete units.
UnitUserType - Class in org.openwms.core.units.persistence
An UnitUserType is used by Hibernate as converter for custom Unit types.
UnitUserType() - Constructor for class org.openwms.core.units.persistence.UnitUserType
 
UnitUserType.MeasurableMapper - Class in org.openwms.core.units.persistence
 

V

valueOf(String) - Static method in enum class org.openwms.core.units.api.MetricDimensionUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openwms.core.units.api.PieceUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openwms.core.units.api.WeightUnit
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.openwms.core.units.api.MetricDimensionUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openwms.core.units.api.PieceUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openwms.core.units.api.WeightUnit
Returns an array containing the constants of this enum class, in the order they are declared.

W

Weight - Class in org.openwms.core.units.api
A Weight represents a real world weight, that comes with an Unit and a value.
Weight() - Constructor for class org.openwms.core.units.api.Weight
Accessed by persistence provider.
Weight(BigDecimal, WeightUnit) - Constructor for class org.openwms.core.units.api.Weight
Create a new Weight.
WEIGHT_LENGTH - Static variable in class org.openwms.core.units.UnitConstants
Length of a Weight field: 16
WeightUnit - Enum Class in org.openwms.core.units.api
A WeightUnit is a concrete set of all possible weights.
WeightUnit(BigDecimal) - Constructor for enum class org.openwms.core.units.api.WeightUnit
Create a new WeightUnit.

Z

ZERO - Static variable in class org.openwms.core.units.api.MetricDimension
Constant for a zero value.
ZERO - Static variable in class org.openwms.core.units.api.Piece
Constant for a zero value.
ZERO - Static variable in class org.openwms.core.units.api.Weight
Constant for a zero value.
A B C D E F G H I K M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form