FolderPhoto.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package epson.print.Util;
  2. import android.graphics.Bitmap;
  3. import java.io.Serializable;
  4. public class FolderPhoto implements Serializable {
  5. private String FolPath;
  6. private int count;
  7. private Bitmap[] mb = null;
  8. private String name;
  9. public Bitmap[] getMb() {
  10. return mb;
  11. }
  12. public void setMb(Bitmap[] bitmapArr) {
  13. mb = bitmapArr;
  14. }
  15. public FolderPhoto(int i, String str, String str2) {
  16. count = i;
  17. FolPath = str;
  18. name = str2;
  19. }
  20. public String getName() {
  21. return name;
  22. }
  23. public void setName(String str) {
  24. name = str;
  25. }
  26. public int getCount() {
  27. return count;
  28. }
  29. public void setCount(int i) {
  30. count = i;
  31. }
  32. public String getFolPath() {
  33. return FolPath;
  34. }
  35. public void setFolPath(String str) {
  36. FolPath = str;
  37. }
  38. public boolean equals(Object obj) {
  39. if (obj == null) {
  40. return false;
  41. }
  42. if (this == obj) {
  43. return true;
  44. }
  45. return getClass() == obj.getClass() && getFolPath().equalsIgnoreCase(((FolderPhoto) obj).getFolPath());
  46. }
  47. }