1 package org.enhydra.pim.business.base; 2 3 import java.math.BigDecimal ; 4 import org.enhydra.pim.business.api.BasePimInterface; 5 6 11 public class BasePimImpl implements BasePimInterface , java.io.Serializable { 12 13 protected boolean dirty = false; 14 15 protected BigDecimal handle = null; 16 17 20 public BasePimImpl(BigDecimal handle) { 21 super(); 22 this.dirty = false; 23 this.handle = handle; 24 } 25 26 32 public void setDirty(boolean _dirty) { 33 dirty = _dirty; 34 } 35 36 41 public boolean isDirty() { 42 return dirty; 43 } 44 45 48 public BigDecimal getHandle() { 49 return handle; 50 } 51 52 56 public void setHandle(BigDecimal handle) { 57 this.handle = handle; 58 } 59 60 63 public void clean() { 64 this.dirty = false; 65 this.handle = null; 66 } 67 68 } | Popular Tags |