public String getDesription() { String temp = ""; String s = storeP.getDesription(); if (s != null && !s.trim().equals("")) temp += s + "\n\n"; if (getNumbers() != null && getNumbers().size() > 0 && !getNumbers().get(0).equals("")) { temp += Static.LANG == LANGUAGE.ENGLISH ? "Telephone: \n" : "تـليـفون:\n"; for (String n : getNumbers()) { temp += n + "\n"; } temp += "\n"; } if (storeP.getAddress() != null && !storeP.getAddress().trim().equals("")) { temp += Static.LANG == LANGUAGE.ENGLISH ? "Address: \n" : "عـنـوان:\n"; temp += storeP.getAddress(); } return temp; }
public String getTwitter() { return storeP.getTwitter(); }
public String getFacebook() { return storeP.getFacebook(); }
public String getWebsite() { return storeP.getWebsite(); }
public void getItems(FindCallback callback) { storeP.getItems(callback); }
public List<String> getNumbers() { return storeP.getPhone(); }
public LatLng getLocation() { return new LatLng(storeP.getLatitude(), storeP.getLongitude()); }
public String getObjectId() { return storeP.getObjectId(); }
public Store(ParseStore s) { storeP = s; name = s.getName(); if (s.getImage() != null) image = s.getImage().getUrl(); if (s.getLogo() != null) logo = s.getLogo().getUrl(); }