return (ObjectClassDefinition) ocd;
return ocd;
	public ObjectClassDefinition getObjectClassDefinition(String pid, String locale) {		if (isInvalidLocale(locale)) {			throw new IllegalArgumentException(NLS.bind(MetaTypeMsg.ASK_INVALID_LOCALE, pid, locale));		}		ObjectClassDefinitionImpl ocd;		if (_allPidOCDs.containsKey(pid)) {			ocd = (ObjectClassDefinitionImpl) ((ObjectClassDefinitionImpl) _allPidOCDs.get(pid)).clone();			ocd.setResourceBundle(locale, _bundle);			return (ObjectClassDefinition) ocd;		} else if (_allFPidOCDs.containsKey(pid)) {			ocd = (ObjectClassDefinitionImpl) ((ObjectClassDefinitionImpl) _allFPidOCDs.get(pid)).clone();			ocd.setResourceBundle(locale, _bundle);			return (ObjectClassDefinition) ocd;		} else {			throw new IllegalArgumentException(NLS.bind(MetaTypeMsg.OCD_ID_NOT_FOUND, pid));		}	}