1 package com.raptus.owxv3.api.dataxs; 2 3 4 5 6 7 8 9 public class OwxRoles 10 11 12 13 14 { 15 16 17 18 19 20 21 private String _roleName; 22 private boolean __roleName_is_modified; 23 private String _roleDesc; 24 private boolean __roleDesc_is_modified; 25 private boolean _isNew = true; 26 27 public String getRoleName() { return _roleName; } 28 public void setRoleName(String newVal) { this._roleName = newVal; __roleName_is_modified = true; } 29 public boolean roleNameIsModifiedS2j() { return __roleName_is_modified; } 30 public String getRoleDesc() { return _roleDesc; } 31 public void setRoleDesc(String newVal) { this._roleDesc = newVal; __roleDesc_is_modified = true; } 32 public boolean roleDescIsModifiedS2j() { return __roleDesc_is_modified; } 33 public boolean isNew() { return _isNew; } 34 public void setIsNew(boolean isNew) { this._isNew = isNew; } 35 36 public boolean isModifiedS2J() { 37 return __roleName_is_modified || 38 __roleDesc_is_modified; 39 } 40 41 public void resetIsModifiedS2J() { 42 __roleName_is_modified = false; 43 __roleDesc_is_modified = false; 44 } 45 46 } 47 | Popular Tags |