7b470bbc5c65e95c106b4fd3786dfac66acd8e2e
[gpl/argeo-suite.git] / org.argeo.entity.api / src / org / argeo / entity / EntityType.java
1 package org.argeo.entity;
2
3 /** Types related to entities. */
4 public enum EntityType implements JcrName {
5         // entity
6         entity, definition,
7         // typology
8         typologies, terms, term,
9         // form
10         form, formSet, formSubmission,
11         // ldap
12         person;
13
14         @Override
15         public String getPrefix() {
16                 return prefix();
17         }
18
19         public static String prefix() {
20                 return "entity";
21         }
22
23         @Override
24         public String getNamespace() {
25                 return namespace();
26         }
27
28         public static String namespace() {
29                 return "http://www.argeo.org/ns/entity";
30         }
31
32 }