public void setRequiredContainerSchemaDef(ICFBamSchemaDefObj value) {
    if (buff == null) {
      getUInt32TypeBuff();
    }
    requiredContainerSchemaDef = null;
    if (value != null) {
      getPKey().setRequiredTenantId(value.getRequiredTenantId());
      getUInt32TypeBuff().setRequiredTenantId(value.getRequiredTenantId());
      getUInt32TypeBuff().setRequiredSchemaDefId(value.getRequiredId());
    }
    requiredContainerSchemaDef = value;

    super.setRequiredContainerScope(value);
  }
 public ICFBamSchemaDefObj getRequiredContainerSchemaDef(boolean forceRead) {
   if (forceRead || (requiredContainerSchemaDef == null)) {
     boolean anyMissing = false;
     if (!anyMissing) {
       ICFBamSchemaDefObj obj =
           getOrigAsUInt32Type()
               .getSchema()
               .getSchemaDefTableObj()
               .readSchemaDefByIdIdx(
                   getPKey().getRequiredTenantId(), getUInt32TypeBuff().getRequiredSchemaDefId());
       requiredContainerSchemaDef = obj;
       if (obj != null) {
         getUInt32TypeBuff().setRequiredTenantId(obj.getRequiredTenantId());
         getUInt32TypeBuff().setRequiredSchemaDefId(obj.getRequiredId());
         requiredContainerSchemaDef = obj;
       }
     }
   }
   return (requiredContainerSchemaDef);
 }