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