public void setRequiredContainerCountry(ICFSecurityISOCountryObj value) { if (buff == null) { getISOCountryLanguageBuff(); } requiredContainerCountry = null; if (value != null) { getPKey().setRequiredISOCountryId(value.getRequiredISOCountryId()); getISOCountryLanguageBuff().setRequiredISOCountryId(value.getRequiredISOCountryId()); } requiredContainerCountry = value; }
public ICFSecurityISOCountryObj getRequiredContainerCountry(boolean forceRead) { if (forceRead || (requiredContainerCountry == null)) { boolean anyMissing = false; if (!anyMissing) { ICFSecurityISOCountryObj obj = ((ICFSecuritySchemaObj) getOrigAsISOCountryLanguage().getSchema()) .getISOCountryTableObj() .readISOCountryByIdIdx(getPKey().getRequiredISOCountryId()); requiredContainerCountry = obj; if (obj != null) { getISOCountryLanguageBuff().setRequiredISOCountryId(obj.getRequiredISOCountryId()); requiredContainerCountry = obj; } } } return (requiredContainerCountry); }