package com.sibvisions.apps.showcase.frames; ... ... /** * The Educations class is the life-cycle object for EducationsFrame. */ public class Educations extends Session { //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // User-defined methods //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /** * Returns the educations storage. * * @return the Educations storage * @throws Exception if the initialization throws an error */ public DBStorage getEducations() throws Exception { DBStorage dbsEducations = (DBStorage)get("educations"); if (dbsEducations == null) { dbsEducations = new DBStorage(); dbsEducations.setDBAccess(getDBAccess()); dbsEducations.setFromClause("V_EDUCATIONS"); dbsEducations.setWritebackTable("EDUCATIONS"); dbsEducations.open(); put("educations", dbsEducations); } return dbsEducations; } } // Educations