fr.ifremer.allegro.referential.conversion
Class UnitConversion

java.lang.Object
  extended by fr.ifremer.allegro.referential.conversion.UnitConversion
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnitConversionImpl

public abstract class UnitConversion
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class UnitConversion.Factory
          Constructs new instances of UnitConversion.
 
Constructor Summary
UnitConversion()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if the argument is an UnitConversion instance and all identifiers for this entity equal the identifiers of the argument entity.
 java.lang.Float getConversionCoefficient()
           
 UnitConversionPK getUnitConversionPk()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setConversionCoefficient(java.lang.Float conversionCoefficient)
           
 void setUnitConversionPk(UnitConversionPK unitConversionPk)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitConversion

public UnitConversion()
Method Detail

getUnitConversionPk

public UnitConversionPK getUnitConversionPk()

setUnitConversionPk

public void setUnitConversionPk(UnitConversionPK unitConversionPk)

getConversionCoefficient

public java.lang.Float getConversionCoefficient()

setConversionCoefficient

public void setConversionCoefficient(java.lang.Float conversionCoefficient)

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Returns true if the argument is an UnitConversion instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.

Overrides:
equals in class java.lang.Object


Copyright © 2008-2010 IFREMER. All Rights Reserved.