@Updatable(false) public String getStatus() { return status; }
@Updatable(false) public String getErrorMessage() { return errorMessage; }
@Updatable(false) public String getErrorMessage() { return errorMessage; }
@Updatable(false) public String getStatus() { return status; }
@DateFormat("yyyy-MM-dd HH:mm:ss") @Updatable(false) public Date getLastTested() { return lastTested; }
@DateFormat("yyyy-MM-dd HH:mm:ss") @Updatable(false) public Date getLastTested() { return lastTested; }
/** * @author Paolo Predonzani - paolo.predonzani@manydesigns.com * @author Angelo Lupo - angelo.lupo@manydesigns.com * @author Giampiero Granatella - giampiero.granatella@manydesigns.com * @author Alessio Stalla - alessio.stalla@manydesigns.com */ public class CrudPropertyEdit { public static final String copyright = "Copyright (C) 2005-2017 ManyDesigns srl"; @Label("") public boolean enabled; @Updatable(false) public String name; public String label; public boolean insertable; public boolean updatable; public boolean inSummary; public boolean searchable; }
/** * @author Paolo Predonzani - paolo.predonzani@manydesigns.com * @author Angelo Lupo - angelo.lupo@manydesigns.com * @author Giampiero Granatella - giampiero.granatella@manydesigns.com * @author Alessio Stalla - alessio.stalla@manydesigns.com */ public class SelectableRoot { public static final String copyright = "Copyright (C) 2005-2017 ManyDesigns srl"; @Updatable(false) public String tableName; @Label("") public boolean selected; public SelectableRoot(String tableName, boolean selected) { this.tableName = tableName; this.selected = selected; } public SelectableRoot() {} }
@Updatable(false) @Insertable(false) @Label("Length") public String getShortLength() { if(getLength() == null) { return null; } String[] suffix = new String[] { "", "K", "M", "G", "T" }; java.text.DecimalFormat decimalFormat = new java.text.DecimalFormat("##0E0"); String result = decimalFormat.format(getLength()); int suffixIndex = Character.getNumericValue(result.charAt(result.length() - 1)) / 3; return result.replaceAll("E[0-9]", suffix[suffixIndex]); }
@Insertable(false) @Updatable(false) public String getHqlQuery() { return "from " + StringUtils.defaultIfEmpty(entityName, actualEntityName); }
@Updatable(false) @Required(true) public String getDatabaseName() { return database.getDatabaseName(); }
@Label("In primary key") @Updatable(false) @Insertable(false) public boolean isInPk() { return inPk; }
@Label("Type") @Updatable(false) @Insertable(false) public Type getType() { return type; }
@Updatable(false) @Required(true) public String getDatabaseName() { return database.getDatabaseName(); }
/** * @author Paolo Predonzani - paolo.predonzani@manydesigns.com * @author Angelo Lupo - angelo.lupo@manydesigns.com * @author Giampiero Granatella - giampiero.granatella@manydesigns.com * @author Alessio Stalla - alessio.stalla@manydesigns.com */ public class EditChildPage { public static final String copyright = "Copyright (C) 2005-2017 ManyDesigns srl"; @Updatable(false) @Insertable(false) public String name; public boolean active; @Label("embed.in.parent") public boolean embedded; @Label("show.in.navigation") public boolean showInNavigation; @Updatable(false) @Insertable(false) public String title; }
@Label("Null") @Insertable(false) @Updatable(false) public boolean isReallyNullable() { return isNullable(); }
@Override @FieldSize(4) @Updatable(false) @Insertable(false) public Integer getLength() { return super.getLength(); }
@Override @Updatable(false) @Insertable(false) @Label("Name") public String getColumnName() { return super.getColumnName(); }
@Override @FieldSize(4) @Updatable(false) @Insertable(false) public Integer getScale() { return super.getScale(); }
@Label("Autoincrement") @Insertable(false) @Updatable(false) public boolean isReallyAutoincrement() { return isAutoincrement(); }