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 = ((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); }