public void setRequiredContainerTable(ICFBamTableObj value) { if (buff == null) { getTimeColBuff(); } requiredContainerTable = null; if (value != null) { getPKey().setRequiredTenantId(value.getRequiredTenantId()); getTimeColBuff().setRequiredTenantId(value.getRequiredTenantId()); getTimeColBuff().setRequiredTableId(value.getRequiredId()); } requiredContainerTable = value; super.setRequiredContainerScope(value); }
public ICFBamTableObj getRequiredContainerTable(boolean forceRead) { if (forceRead || (requiredContainerTable == null)) { boolean anyMissing = false; if (!anyMissing) { ICFBamTableObj obj = getOrigAsTimeCol() .getSchema() .getTableTableObj() .readTableByIdIdx( getPKey().getRequiredTenantId(), getTimeColBuff().getRequiredTableId()); requiredContainerTable = obj; if (obj != null) { getTimeColBuff().setRequiredTenantId(obj.getRequiredTenantId()); getTimeColBuff().setRequiredTableId(obj.getRequiredId()); requiredContainerTable = obj; } } } return (requiredContainerTable); }