public void setRequiredContainerParentDomain(ICFInternetDomainBaseObj value) { if (buff == null) { getSchemaDefBuff(); } requiredContainerParentDomain = null; requiredOwnerCTenant = null; if (value != null) { getPKey().setRequiredTenantId(value.getRequiredTenantId()); getSchemaDefBuff().setRequiredTenantId(value.getRequiredTenantId()); getSchemaDefBuff().setRequiredDomainId(value.getRequiredId()); } requiredContainerParentDomain = value; }
public ICFInternetDomainBaseObj getRequiredContainerParentDomain(boolean forceRead) { if (forceRead || (requiredContainerParentDomain == null)) { boolean anyMissing = false; if (!anyMissing) { ICFInternetDomainBaseObj obj = ((ICFDbTestSchemaObj) getOrigAsSchemaDef().getSchema()) .getDomainBaseTableObj() .readDomainBaseByIdIdx( getPKey().getRequiredTenantId(), getSchemaDefBuff().getRequiredDomainId()); requiredContainerParentDomain = obj; if (obj != null) { getSchemaDefBuff().setRequiredTenantId(obj.getRequiredTenantId()); getSchemaDefBuff().setRequiredDomainId(obj.getRequiredId()); requiredContainerParentDomain = obj; } } } return (requiredContainerParentDomain); }