Advertisement
Guest User

Untitled

a guest
Sep 1st, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. public class Data_file{
  2.  
  3. String text_simple;
  4. int text_int;
  5. long text_decimal;
  6. long phone_no;
  7. String email_id;
  8. Date date;
  9. Time time;
  10. Date date_time;
  11. Image[] image;
  12. Location latitude;
  13. Location longitude;
  14. int minlength;
  15. int maxlength;
  16. String id;
  17.  
  18. public void setsimple_text(String text_simple)
  19. {
  20. this.text_simple=text_simple;
  21. }
  22.  
  23. public String getsimple_text()
  24. {
  25. return text_simple;
  26. }
  27.  
  28. public void settext_int(int text_int)
  29. {
  30. this.text_int=text_int;
  31. }
  32.  
  33. public int gettext_int()
  34. {
  35. return text_int;
  36. }
  37.  
  38. public void settext_decimal(long text_decimal)
  39. {
  40. this.text_decimal=text_decimal;
  41. }
  42.  
  43. public long gettext_decimal()
  44. {
  45. return text_decimal;
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement