
com.dakuupa.db.TrueFalseDb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of struts2-crud-template Show documentation
Show all versions of struts2-crud-template Show documentation
Provides Struts 2 developers with easy to use framework for building CRUD (Create, read, update, delete) applications using convention over
configuration. Includes several utility classes to facilitate quick Struts 2 app development.
The newest version!
package com.dakuupa.db;
/**
*
* @author ETWilliams
*/
public class TrueFalseDb {
public static final int TRUE = 1;
public static final int FALSE = 0;
public static boolean getBooleanValue(int value){
if (value == TRUE){
return true;
}
else{
return false;
}
}
public static int getDbValue(boolean value){
if (value){
return TRUE;
}
else{
return FALSE;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy