Liferay 6.1.2-ce-ga3

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

getFromId

public int getFromId()

getFromValue

public double getFromValue()

getToId

public int getToId()

getToValue

public double getToValue()

getType

public int getType()

setFromValue

public void setFromValue(double fromValue)

setToValue

public void setToValue(double toValue)

Liferay 6.1.2-ce-ga3