com.edsdev.jconvert.domain
Class ConversionType

java.lang.Object
  extended bycom.edsdev.jconvert.domain.ConversionType

public class ConversionType
extends java.lang.Object

Simple domain object that facilitates segregation of like conversions. For example, there will be a conversion type for time that will contain many conversions, like minutes to seconds and hours to weeks.

Author:
Ed Sarrazin Created on Jul 14, 2007 10:06:32 AM

Constructor Summary
ConversionType()
           
 
Method Summary
 void addConversion(Conversion conversion)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Collection getConversions()
           
 java.lang.String getTypeName()
           
 void printDetails()
           
 void setTypeName(java.lang.String typeName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionType

public ConversionType()
Method Detail

addConversion

public void addConversion(Conversion conversion)

getConversions

public java.util.Collection getConversions()

getTypeName

public java.lang.String getTypeName()

setTypeName

public void setTypeName(java.lang.String typeName)

printDetails

public void printDetails()

equals

public boolean equals(java.lang.Object obj)


JConvert - opensource project by Ed Sarrazin