${database.allClassCopyright}package ${glPackageBaseCommon}; import org.seasar.dbflute.Entity; /** * The interface of entity defined common columns. * @author ${database.classAuthor} */ public interface ${glEntityDefinedCommonColumn} extends Entity { #if ($database.isExistCommonColumnSetupElement()) #foreach ($columnName in ${database.commonColumnNameList}) #set ($filteredColumnName = ${database.filterCommonColumn(${columnName})}) #set ($commonColumnMap = ${database.CommonColumnMap}) #set ($columnType = ${commonColumnMap.get(${columnName})}) #set ($javaNative = ${database.convertJavaNativeByJdbcType(${columnType})}) #set ($javaName = ${database.convertJavaNameByJdbcNameAsColumn(${filteredColumnName})}) #set ($uncapitalisedJavaName = ${database.convertUncapitalisedJavaNameByJdbcNameAsColumn(${filteredColumnName})}) /** * Get the value of ${uncapitalisedJavaName}. * @return The value of ${uncapitalisedJavaName}. (Nullable) */ public ${javaNative} get${javaName}(); /** * Set the value of ${uncapitalisedJavaName}. * @param ${uncapitalisedJavaName} The value of ${uncapitalisedJavaName}. (Nullable) */ public void set${javaName}(${javaNative} ${uncapitalisedJavaName}); #if (${database.isAllClassificationColumn($filteredColumnName)}) #set ($classificationName = $database.getAllClassificationName($filteredColumnName)) #set ($classificationList = $database.getClassificationMapList($classificationName)) #foreach ($classificationMap in $classificationList) /** * Classify the value of ${uncapitalisedJavaName} as ${classificationMap.get('name')}.
* $database.buildClassificationApplicationComment($classificationMap) */ public void classify${javaName}${classificationMap.get('name')}(); /** * Is the value of ${uncapitalisedJavaName} '${classificationMap.get('name')}'?
* $database.buildClassificationApplicationComment($classificationMap) *

* The difference of capital letters and small letters is NOT distinguished. * If the value is null, this method returns false! *

* @return Determination. */ public boolean is${javaName}${classificationMap.get('name')}(); #end #end #end #end /** * Enable common column auto set up. {for after disable because the default is enabled} */ public void enableCommonColumnAutoSetup(); /** * Disable common column auto set up. */ public void disableCommonColumnAutoSetup(); /** * Can the entity set up common column by auto? * @return Determination. */ public boolean canCommonColumnAutoSetup(); }