1 19 20 package com.sslexplorer.navigation; 21 22 28 public class DefaultFavorite implements Favorite { 29 30 32 private String username; 33 private int type, id, resourceId; 34 35 43 public DefaultFavorite(int id, int type, String username, int resourceId) { 44 this.id = id; 45 this.type = type; 46 this.username = username; 47 this.resourceId = resourceId; 48 } 49 50 55 public int getId() { 56 return id; 57 } 58 59 64 public String getUsername() { 65 return username; 66 } 67 68 73 public int getType() { 74 return type; 75 } 76 77 82 public int getFavoriteKey() { 83 return resourceId; 84 } 85 86 } | Popular Tags |