public void setRequiredContainerDomain(ICFInternetDomainBaseObj value) { if (buff == null) { getTopProjectBuff(); } requiredContainerDomain = null; if (value != null) { getPKey().setRequiredTenantId(value.getRequiredTenantId()); getTopProjectBuff().setRequiredTenantId(value.getRequiredTenantId()); getTopProjectBuff().setRequiredDomainId(value.getRequiredId()); } requiredContainerDomain = value; }
public ICFInternetDomainBaseObj getRequiredContainerDomain(boolean forceRead) { if (forceRead || (requiredContainerDomain == null)) { boolean anyMissing = false; if (!anyMissing) { ICFInternetDomainBaseObj obj = ((ICFInternetSchemaObj) getOrigAsTopProject().getSchema()) .getDomainBaseTableObj() .readDomainBaseByIdIdx( getPKey().getRequiredTenantId(), getTopProjectBuff().getRequiredDomainId()); requiredContainerDomain = obj; if (obj != null) { getTopProjectBuff().setRequiredTenantId(obj.getRequiredTenantId()); getTopProjectBuff().setRequiredDomainId(obj.getRequiredId()); requiredContainerDomain = obj; } } } return (requiredContainerDomain); }