Stabilise entity types.
[gpl/argeo-suite.git] / org.argeo.entity.api / src / org / argeo / entity / EntityType.java
index 408b142c35fe4230b5782c2680a44d0faacfc86e..a5221f26ade3cabc1d4c5feb2c0b1349ddbc3ead 100644 (file)
@@ -3,7 +3,7 @@ package org.argeo.entity;
 /** Types related to entities. */
 public enum EntityType implements JcrName {
        // entity
-       entity, definition,
+       entity, local,
        // typology
        typologies, terms, term,
        // form
@@ -22,6 +22,10 @@ public enum EntityType implements JcrName {
                return "entity";
        }
 
+       public String basePath() {
+               return '/' + name();
+       }
+
        @Override
        public String getNamespace() {
                return namespace();