package entities;

/**
 * Created with IntelliJ IDEA.
 * User: BrayanRosas
 * Date: 12/9/15
 * Time: 2:05 PM
 * To change this template use File | Settings | File Templates.
 */
public class Resource {

    String name;
    String displayName;
    String description;
    String icon;



    public void setName(String newName){name=newName;}

    public void setDisplayName(String newDisplayName){displayName=newDisplayName;}

    public void setDescription(String newDescription){description=newDescription;}

    public void setIcon(String newIcon){icon=newIcon;}

    public String getName(){ return name;}

    public String getDisplayName(){ return displayName;}

    public String getDescription(){ return description;}

    public String getIcon(){ return icon;}




}

@@ -195,20 +195,50 @@
 ource %7B%0A
-%0A
    
+ private String id;%0A    private
  String 
@@ -239,32 +239,40 @@
 tring name;%0A    
+private 
 String displayNa
@@ -275,24 +275,32 @@
 ayName;%0A    
+private 
 String descr
@@ -311,16 +311,24 @@
 on;%0A    
+private 
 String i
@@ -333,16 +333,64 @@
  icon;%0A%0A
+    public void setID(String id) %7Bthis.id = id;%7D
 %0A%0A    pu
@@ -659,24 +659,64 @@
 =newIcon;%7D%0A%0A
+    public String getID() %7Breturn id;%7D%0A%0A
     public S

Add the attribute id the Resource entitie