public abstract class UnitConversion extends Object implements Serializable, Comparable<UnitConversion>
Modifier and Type | Class and Description |
---|---|
static class |
UnitConversion.Factory
Constructs new instances of
UnitConversion . |
Constructor and Description |
---|
UnitConversion() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UnitConversion o) |
boolean |
equals(Object object)
This entity does not have any identifiers
and is not extending any other entity,
so this method will only return
true if the argument reference and this
refer to the same object. |
Float |
getConversionCoefficient() |
Unit |
getFromUnit()
Unité d'une mesure.
|
Unit |
getToUnit()
Unité d'une mesure.
|
UnitConversionPK |
getUnitConversionPk()
Get the composite primary key identifier class
|
Timestamp |
getUpdateDate() |
int |
hashCode()
This entity does not have any identifiers
and is not extending any other entity,
so this method will only take the identifiers of this entity into account when calculating the hash code.
|
void |
setConversionCoefficient(Float conversionCoefficientIn) |
void |
setFromUnit(Unit fromUnitIn)
Unité d'une mesure.
|
void |
setToUnit(Unit toUnitIn)
Unité d'une mesure.
|
void |
setUnitConversionPk(UnitConversionPK unitConversionPkIn)
Set the composite primary key identifier class
|
void |
setUpdateDate(Timestamp updateDateIn) |
public UnitConversion()
public UnitConversionPK getUnitConversionPk()
public void setUnitConversionPk(UnitConversionPK unitConversionPkIn)
unitConversionPkIn
- public Float getConversionCoefficient()
public void setConversionCoefficient(Float conversionCoefficientIn)
conversionCoefficientIn
- Floatpublic Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDateIn)
updateDateIn
- Timestamppublic Unit getFromUnit()
public void setFromUnit(Unit fromUnitIn)
fromUnitIn
- Unitpublic Unit getToUnit()
public void setToUnit(Unit toUnitIn)
toUnitIn
- Unitpublic boolean equals(Object object)
true
if the argument reference and this
refer to the same object.public int hashCode()
public int compareTo(UnitConversion o)
compareTo
in interface Comparable<UnitConversion>
Comparable.compareTo(T)
Copyright © 2012–2014 IFREMER. All rights reserved.