package org.argeo.entity;
-import org.argeo.naming.QualifiedName;
-
/** Types related to entities. */
-public enum EntityType implements QualifiedName {
+public enum EntityType implements JcrName {
// entity
- entity, definition,
- // xml
- xmlvalue,xmltext,
+ entity, local,
// typology
- typology, term
+ typologies, terms, term,
+ // form
+ form, formSet, formSubmission,
+ // graphics
+ box,
+ // geography
+ geopoint,
// ldap
- , person;
+ person, user;
@Override
public String getPrefix() {
return "entity";
}
+ public String basePath() {
+ return '/' + name();
+ }
+
@Override
public String getNamespace() {
return namespace();