Refactor DocBook attributes.
[gpl/argeo-suite.git] / org.argeo.entity.api / src / org / argeo / entity / EntityType.java
index 00a7803ecaf92c54f179596207403bb23079df78..ecd6330fed6252be79b537ac1e6573535050eccd 100644 (file)
@@ -1,17 +1,19 @@
 package org.argeo.entity;
 
-import org.argeo.jcr.QualifiedName;
-
 /** Types related to entities. */
-public enum EntityType implements QualifiedName {
+public enum EntityType implements JcrName {
        // entity
-       entity, definition,
+       entity, local, relatedTo,
        // typology
        typologies, terms, term,
        // form
-       form, formSet,
+       form, formSet, formSubmission,
+       // graphics
+       box,
+       // geography
+       geopoint, bearing,
        // ldap
-       person;
+       person, user;
 
        @Override
        public String getPrefix() {
@@ -22,6 +24,10 @@ public enum EntityType implements QualifiedName {
                return "entity";
        }
 
+       public String basePath() {
+               return '/' + name();
+       }
+
        @Override
        public String getNamespace() {
                return namespace();