public CFCrmAttachmentDataEditObj(ICFCrmAttachmentDataObj argOrig) {
   orig = argOrig;
   getBuff();
   CFCrmAttachmentDataBuff origBuff = orig.getBuff();
   buff.set(origBuff);
   requiredOwnerTenant = null;
   requiredContainerAttachment = null;
 }
 public CFCrmAttachmentDataBuff getBuff() {
   if (buff == null) {
     buff =
         ((ICFCrmSchema) getOrigAsAttachmentData().getSchema().getBackingStore())
             .getFactoryAttachmentData()
             .newBuff();
     buff.set(orig.getBuff());
   }
   return (buff);
 }
 public void setIsNew(boolean value) {
   orig.setIsNew(value);
 }
 public boolean getIsNew() {
   return (orig.getIsNew());
 }
 public void setPKey(CFCrmAttachmentDataPKey value) {
   orig.setPKey(value);
   copyPKeyToBuff();
 }
 public CFCrmAttachmentDataPKey getPKey() {
   return (orig.getPKey());
 }
 public ICFCrmSchemaObj getSchema() {
   return (orig.getSchema());
 }
 public void endEdit() {
   orig.endEdit();
 }
 public ICFCrmAttachmentDataTableObj getAttachmentDataTable() {
   return (orig.getSchema().getAttachmentDataTableObj());
 }