private static String annotatedName(AccessibleObject obj) { if (obj.isAnnotationPresent(PropertyName.class)) { PropertyName annotation = obj.getAnnotation(PropertyName.class); return annotation.value(); } return null; }
@PropertyName("storeIdList") public void setStoreIdList(List<Integer> storeIdList) { this.storeIdList = storeIdList; }
@PropertyName("title") public void setTitle(String title) { this.title = title; }
@PropertyName("lat") public void setLat(String lat) { this.lat = lat; }
@PropertyName("lng") public void setLng(String lng) { this.lng = lng; }
@PropertyName("tel") public void setTel(String tel) { this.tel = tel; }