Field[] fields = aClass.getDeclaredFields();
for (Field field : fields) {
EdmProperty ep = field.getAnnotation(EdmProperty.class);
if (ep != null) {
properties.add(createProperty(ep, field, namespace));
EdmKey eti = field.getAnnotation(EdmKey.class);
if (eti != null) {
keyProperties.add(createKeyProperty(ep, field));
}
}
EdmNavigationProperty enp = field.getAnnotation(EdmNavigationProperty.class);