Liferay 6.0.5

com.liferay.portlet.unitconverter.model
Class Conversion

java.lang.Object
  extended by com.liferay.portlet.unitconverter.model.Conversion

public class Conversion
extends Object


Constructor Summary
Conversion(int type, int fromId, int toId, double fromValue)
           
Conversion(int type, int fromId, int toId, double fromValue, double toValue)
           
 
Method Summary
 int getFromId()
           
 double getFromValue()
           
 int getToId()
           
 double getToValue()
           
 int getType()
           
 void setFromValue(double fromValue)
           
 void setToValue(double toValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conversion

public Conversion(int type,
                  int fromId,
                  int toId,
                  double fromValue)

Conversion

public Conversion(int type,
                  int fromId,
                  int toId,
                  double fromValue,
                  double toValue)
Method Detail

getType

public int getType()

getFromId

public int getFromId()

getToId

public int getToId()

getFromValue

public double getFromValue()

setFromValue

public void setFromValue(double fromValue)

getToValue

public double getToValue()

setToValue

public void setToValue(double toValue)

Liferay 6.0.5