OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 74 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
74 ilm 1
package org.openconcerto.modules.extensionbuilder.menu.mainmenu;
2
 
3
public class MenuDescriptor {
4
 
5
    public static final String CREATE = "create";
6
    public static final String LIST = "list";
7
    public static final String GROUP = "group";
8
    private String id;
9
    private String listId;
10
    private String componentId;
11
    private String type;
12
    private String insertInMenu;
13
 
14
    public MenuDescriptor(String id) {
15
        this.id = id;
16
    }
17
 
18
    public String getId() {
181 ilm 19
        return this.id;
74 ilm 20
    }
21
 
22
    public void setId(String id) {
23
        this.id = id;
24
    }
25
 
26
    public String getListId() {
181 ilm 27
        return this.listId;
74 ilm 28
    }
29
 
30
    public void setListId(String listId) {
31
        this.listId = listId;
32
    }
33
 
34
    public String getComponentId() {
181 ilm 35
        return this.componentId;
74 ilm 36
    }
37
 
38
    public void setComponentId(String componentId) {
39
        this.componentId = componentId;
40
    }
41
 
42
    /**
43
     *
44
     * @return "list" or "create"
45
     * */
46
    public String getType() {
181 ilm 47
        return this.type;
74 ilm 48
    }
49
 
50
    public void setType(String type) {
51
        this.type = type;
52
    }
53
 
54
    public String getInsertInMenu() {
181 ilm 55
        return this.insertInMenu;
74 ilm 56
    }
57
 
58
    public void setInsertInMenu(String insertInMenu) {
59
        this.insertInMenu = insertInMenu;
60
    }
61
 
62
}