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, relatedTo,
// typology
- typology, term,
+ typologies, terms, term,
// form
- form, formSet,
+ form, formSet, formSubmission,
+ // graphics
+ box,
+ // geography
+ geopoint, bearing,
// ldap
- person;
+ person, user;
@Override
public String getPrefix() {
return "entity";
}
+ public String basePath() {
+ return '/' + name();
+ }
+
@Override
public String getNamespace() {
return namespace();