public static void checkGetMethodNames(Object model, YIComponent view) throws YInvalidMVCNameException {
		ArrayList comps = YUIToolkit.getViewComponents(view);
		Iterator it = comps.iterator();
		String falseNames = "";
		while (it.hasNext()) {
			Object comp = (Object) it.next();
			// checking only components which are connected to the model:
			if (comp instanceof YIModelComponent) {
				String mvcName = (String) ((YIComponent) comp).getYProperty().get(YIComponent.MVC_NAME);
				if (mvcName != null) {
					try {
						String nameToCheck = null;
						int i = mvcName.indexOf('(');
						if (i == -1) {
							i = mvcName.indexOf('[');
						}
						if (i != -1) {
							// not checking indexed or mapped parts of mvc name...
							nameToCheck = mvcName.substring(0, i);
						} else {
							nameToCheck = mvcName;
						}
						
						Class modelClass = model.getClass();
						int pos = nameToCheck.indexOf('.');
						// checking nested getters for parent objects:
						while (pos > -1) {
							String parentName = nameToCheck.substring(0, pos);
							nameToCheck = nameToCheck.substring(pos+1);
							String methodName = "get" + YCoreToolkit.firstUpper(parentName);
							Method method = modelClass.getMethod(methodName, null);
							modelClass = method.getReturnType();
							pos = nameToCheck.indexOf('.');
						}
					} catch (Exception e) {
						falseNames += mvcName + " ";
						
					}
				}
			}
		}
		if (falseNames.length() > 0) {
			throw new YInvalidMVCNameException(falseNames,  view.getClass()+"");
		}
	}