コード例 #1
0
 public void setFormData(AbstractBaseObject baseObj) throws ApplicationException {
   UserRole tmpUserRole = (UserRole) baseObj;
   this.setID(TextUtility.formatIntegerObj(tmpUserRole.getID()));
   this.setRoleName(tmpUserRole.getRoleName());
   this.setRoleDesc(tmpUserRole.getRoleDesc());
   this.setRoleType(tmpUserRole.getRoleType());
   this.setRecordStatus(tmpUserRole.getRecordStatus());
   this.setUpdateCount(TextUtility.formatIntegerObj(tmpUserRole.getUpdateCount()));
   this.setCreatorID(TextUtility.formatIntegerObj(tmpUserRole.getCreatorID()));
   this.setCreateDate(formatTimestamp(tmpUserRole.getCreateDate()));
   this.setUpdaterID(TextUtility.formatIntegerObj(tmpUserRole.getUpdaterID()));
   this.setUpdateDate(formatTimestamp(tmpUserRole.getUpdateDate()));
 }