protected void readStateFromResultSet( java.sql.ResultSet rs, pt.ist.fenixframework.backend.jvstmojb.pstm.OneBoxDomainObject.DO_State state) throws java.sql.SQLException { DO_State castedState = (DO_State) state; set$code( pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(rs, "CODE"), state); set$name( pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString(rs, "NAME"), state); set$realName( pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString( rs, "REAL_NAME"), state); set$realNameEn( pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readString( rs, "REAL_NAME_EN"), state); set$active( pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readBoolean(rs, "ACTIVE"), state); castedState.membersGroup = pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject( rs, "OID_MEMBERS_GROUP"); castedState.departmentUnit = pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject( rs, "OID_DEPARTMENT_UNIT"); castedState.rootDomainObject = pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject( rs, "OID_ROOT_DOMAIN_OBJECT"); castedState.forum = pt.ist.fenixframework.backend.jvstmojb.repository.ResultSetReader.readDomainObject( rs, "OID_FORUM"); }
protected void copyTo( pt.ist.fenixframework.backend.jvstmojb.pstm.OneBoxDomainObject.DO_State newState) { super.copyTo(newState); DO_State newCasted = (DO_State) newState; newCasted.code = this.code; newCasted.name = this.name; newCasted.realName = this.realName; newCasted.realNameEn = this.realNameEn; newCasted.active = this.active; newCasted.membersGroup = this.membersGroup; newCasted.departmentUnit = this.departmentUnit; newCasted.rootDomainObject = this.rootDomainObject; newCasted.forum = this.forum; }