public CFDbTestHostNodeEditObj(ICFSecurityHostNodeObj argOrig) {
   orig = argOrig;
   getBuff();
   CFSecurityHostNodeBuff origBuff = orig.getBuff();
   buff.set(origBuff);
   requiredContainerCluster = null;
 }
 public CFSecurityHostNodeBuff getBuff() {
   if (buff == null) {
     buff =
         ((ICFDbTestSchema) getOrigAsHostNode().getSchema().getBackingStore())
             .getFactoryHostNode()
             .newBuff();
     buff.set(orig.getBuff());
   }
   return (buff);
 }
 public void copyOrigToBuff() {
   CFSecurityHostNodeBuff origBuff = getOrigAsHostNode().getHostNodeBuff();
   CFSecurityHostNodeBuff myBuff = getHostNodeBuff();
   myBuff.set(origBuff);
 }
 public void copyBuffToOrig() {
   CFSecurityHostNodeBuff origBuff = getOrigAsHostNode().getHostNodeBuff();
   CFSecurityHostNodeBuff myBuff = getHostNodeBuff();
   origBuff.set(myBuff);
 }
 public void copyBuffToPKey() {
   getPKey().setRequiredClusterId(buff.getRequiredClusterId());
   getPKey().setRequiredHostNodeId(buff.getRequiredHostNodeId());
 }
 public void copyPKeyToBuff() {
   buff.setRequiredClusterId(getPKey().getRequiredClusterId());
   buff.setRequiredHostNodeId(getPKey().getRequiredHostNodeId());
 }