projects
/
openent
/
openent-dev-pentila.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Nero 2.6 code release.
[openent/openent-dev-pentila.git]
/
PentilaNero
/
2.6
/
environment
/
liferay-plugins-sdk-6.1.1
/
ext
/
ent-ext
/
docroot
/
WEB-INF
/
ext-service
/
src
/
com
/
pentila
/
entSavoie
/
cahierDeTexte
/
util
/
EdxType.java
1
package com.pentila.entSavoie.cahierDeTexte.util;
2
3
/**
4
* Enum which represent the principal profile type for inscription
5
*/
6
public enum EdxType {
7
8
COURSE(1),
9
SECTION(2),
10
SUBSECTION(3),
11
UNIT(4),
12
ITEM(5);
13
14
int id;
15
16
/**
17
* init user profile with it's database ID, define in initiation database script
18
* @param id the database id
19
*/
20
EdxType(int id) {
21
this.id = id;
22
}
23
24
/**
25
* get the database id
26
* @return the id
27
*/
28
public int getId(){
29
return id;
30
}
31
32
};