--- /dev/null
+package com.pentila.entSavoie.cahierDeTexte.util;
+
+/**
+ * Enum which represent the principal profile type for inscription
+ */
+public enum EdxType {
+
+ COURSE(1),
+ SECTION(2),
+ SUBSECTION(3),
+ UNIT(4),
+ ITEM(5);
+
+ int id;
+
+ /**
+ * init user profile with it's database ID, define in initiation database script
+ * @param id the database id
+ */
+ EdxType(int id) {
+ this.id = id;
+ }
+
+ /**
+ * get the database id
+ * @return the id
+ */
+ public int getId(){
+ return id;
+ }
+
+};
\ No newline at end of file