public static Object getProperty(Object obj, String propertyName) {
		if (propertyName == null || propertyName.length() < 1) {
			return obj;
		}
		int pos = propertyName.indexOf(".");
		if (pos < 0) {
			return getFieldValue(obj, propertyName);
		} else {
			String baseProperty = propertyName.substring(0, pos);
			String childProperty = propertyName.substring(pos + 1);
			Object target = getFieldValue(obj, baseProperty);
			return getProperty(target, childProperty);
		}
	}