Advertisement
Guest User

Messenger.java

a guest
Oct 3rd, 2012
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.17 KB | None | 0 0
  1. package com.simon.launchnow;
  2.  
  3. public class Messenger {
  4.  
  5.    private String app1title;
  6.    private String app2title;
  7.    private String app3title;
  8.    private String app1pkg;
  9.    private String app2pkg;
  10.    private String app3pkg;
  11.  
  12.    //Setting and getting the app titles
  13.  
  14.    public String getApp1Title() {
  15.        return app1title;
  16.    }
  17.  
  18.    public void setApp1Title(String title) {
  19.        this.app1title = title;
  20.    }
  21.  
  22.    public String getApp2Title() {
  23.        return app2title;
  24.    }
  25.  
  26.    public void setApp2Title(String title) {
  27.        this.app2title = title;
  28.    }
  29.    
  30.    public String getApp3Title() {
  31.        return app3title;
  32.    }
  33.  
  34.    public void setApp3Title(String title) {
  35.        this.app3title = title;
  36.    }
  37.    
  38.    //Setting and getting the package names
  39.    
  40.    public String getApp1Pkg() {
  41.        return app1pkg;
  42.    }
  43.  
  44.    public void setApp1Pkg(String pkg) {
  45.        this.app1pkg = pkg;
  46.    }
  47.    
  48.    public String getApp2Pkg() {
  49.        return app2pkg;
  50.    }
  51.  
  52.    public void setApp2Pkg(String pkg) {
  53.        this.app2pkg = pkg;
  54.    }
  55.    
  56.    public String getApp3Pkg() {
  57.        return app3pkg;
  58.    }
  59.  
  60.    public void setApp3Pkg(String pkg) {
  61.        this.app3pkg = pkg;
  62.    }
  63.  
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement