示例#1
0
  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;
  }
示例#2
0
 public String getTwitter() {
   return storeP.getTwitter();
 }
示例#3
0
 public String getFacebook() {
   return storeP.getFacebook();
 }
示例#4
0
 public String getWebsite() {
   return storeP.getWebsite();
 }
示例#5
0
 public void getItems(FindCallback callback) {
   storeP.getItems(callback);
 }
示例#6
0
 public List<String> getNumbers() {
   return storeP.getPhone();
 }
示例#7
0
 public LatLng getLocation() {
   return new LatLng(storeP.getLatitude(), storeP.getLongitude());
 }
示例#8
0
 public String getObjectId() {
   return storeP.getObjectId();
 }
示例#9
0
 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();
 }