public void setRequiredParentApp(ICFSecuritySecAppObj value) {
   if (buff == null) {
     getSecGroupFormBuff();
   }
   if (value != null) {
     getPKey().setRequiredClusterId(value.getRequiredClusterId());
     getSecGroupFormBuff().setRequiredClusterId(value.getRequiredClusterId());
     getSecGroupFormBuff().setRequiredSecAppId(value.getRequiredSecAppId());
   } else {
   }
   requiredParentApp = value;
 }
 public void setRequiredContainerApplication(ICFSecuritySecAppObj value) {
   if (buff == null) {
     getSecFormBuff();
   }
   requiredOwnerCluster = null;
   requiredContainerApplication = null;
   if (value != null) {
     getPKey().setRequiredClusterId(value.getRequiredClusterId());
     getSecFormBuff().setRequiredClusterId(value.getRequiredClusterId());
     getSecFormBuff().setRequiredSecAppId(value.getRequiredSecAppId());
   }
   requiredContainerApplication = value;
 }
 public ICFSecuritySecAppObj getRequiredContainerApplication(boolean forceRead) {
   if (forceRead || (requiredContainerApplication == null)) {
     boolean anyMissing = false;
     if (!anyMissing) {
       ICFSecuritySecAppObj obj =
           ((ICFSecuritySchemaObj) getOrigAsSecForm().getSchema())
               .getSecAppTableObj()
               .readSecAppByIdIdx(
                   getPKey().getRequiredClusterId(), getSecFormBuff().getRequiredSecAppId());
       requiredContainerApplication = obj;
       if (obj != null) {
         getSecFormBuff().setRequiredClusterId(obj.getRequiredClusterId());
         getSecFormBuff().setRequiredSecAppId(obj.getRequiredSecAppId());
         requiredContainerApplication = obj;
       }
     }
   }
   return (requiredContainerApplication);
 }
  public void forgetSecApp(ICFSecuritySecAppObj Obj, boolean forgetSubObjects) {
    ICFSecuritySecAppObj obj = Obj;
    CFSecuritySecAppPKey pkey = obj.getPKey();
    if (members.containsKey(pkey)) {
      ICFSecuritySecAppObj keepObj = members.get(pkey);
      // Detach object from alternate, duplicate, all and PKey indexes

      if (indexByClusterIdx != null) {
        CFSecuritySecAppByClusterIdxKey keyClusterIdx =
            ((ICFCrmSchema) schema.getBackingStore()).getFactorySecApp().newClusterIdxKey();
        keyClusterIdx.setRequiredClusterId(keepObj.getRequiredClusterId());
        Map<CFSecuritySecAppPKey, ICFSecuritySecAppObj> mapClusterIdx =
            indexByClusterIdx.get(keyClusterIdx);
        if (mapClusterIdx != null) {
          mapClusterIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByUJEEMountIdx != null) {
        CFSecuritySecAppByUJEEMountIdxKey keyUJEEMountIdx =
            ((ICFCrmSchema) schema.getBackingStore()).getFactorySecApp().newUJEEMountIdxKey();
        keyUJEEMountIdx.setRequiredClusterId(keepObj.getRequiredClusterId());
        keyUJEEMountIdx.setRequiredJEEMountName(keepObj.getRequiredJEEMountName());
        indexByUJEEMountIdx.remove(keyUJEEMountIdx);
      }

      if (allSecApp != null) {
        allSecApp.remove(keepObj.getPKey());
      }
      members.remove(pkey);
      if (forgetSubObjects) {
        ((ICFSecuritySchemaObj) schema)
            .getSecFormTableObj()
            .forgetSecFormBySecAppIdx(
                keepObj.getRequiredClusterId(), keepObj.getRequiredSecAppId());
      }
    }
  }
  public void populateFields() {
    ICFSecuritySecAppObj popObj;
    ICFSecuritySecAppObj focus = getSwingFocusAsSecApp();
    if (focus != null) {
      popObj = (ICFSecuritySecAppObj) (focus.getEdit());
      if (popObj == null) {
        popObj = focus;
      }
    } else {
      popObj = null;
    }
    if (getPanelMode() == CFJPanel.PanelMode.Unknown) {
      popObj = null;
    }
    if (popObj == null) {
      swingContainerClusterObj = null;
    } else {
      swingContainerClusterObj =
          (ICFSecurityClusterObj) popObj.getRequiredContainerCluster(swingIsInitializing);
    }
    if (swingReferenceContainerCluster != null) {
      swingReferenceContainerCluster.setReferencedObject(swingContainerClusterObj);
    }

    if (popObj == null) {
      getSwingEditorSecAppId().setInt32Value(null);
    } else {
      getSwingEditorSecAppId().setInt32Value(popObj.getRequiredSecAppId());
    }

    if (popObj == null) {
      getSwingEditorJEEMountName().setStringValue(null);
    } else {
      getSwingEditorJEEMountName().setStringValue(popObj.getRequiredJEEMountName());
    }
  }