]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.api.acr/src/org/argeo/api/acr/CrName.java
Fix error message
[lgpl/argeo-commons.git] / org.argeo.api.acr / src / org / argeo / api / acr / CrName.java
1 package org.argeo.api.acr;
2
3 /** Standard names. */
4 public enum CrName implements QNamed {
5
6 /*
7 * TYPES
8 */
9 // collection, // a collection type
10
11 /*
12 * ATTRIBUTES
13 */
14 uuid, // the UUID of a content
15 mount, // a mount point
16 // cc, // content class
17
18 /*
19 * ATTRIBUTES FROM FILE SEMANTICS
20 */
21 // creationTime, //
22 // lastModifiedTime, //
23 // size, //
24 fileKey, //
25 // owner, //
26 // group, //
27 permissions, //
28
29 /*
30 * CONTENT NAMES
31 */
32 root,
33
34 //
35 ;
36
37 public final static String CR_NAMESPACE_URI = "http://www.argeo.org/ns/cr";
38 public final static String CR_DEFAULT_PREFIX = "cr";
39
40 public final static String LDAP_NAMESPACE_URI = "http://www.argeo.org/ns/ldap";
41 public final static String LDAP_DEFAULT_PREFIX = "ldap";
42
43 public final static String ROLE_NAMESPACE_URI = "http://www.argeo.org/ns/role";
44 public final static String ROLE_DEFAULT_PREFIX = "role";
45
46 // private final ContentName value;
47
48 // CrName() {
49 // value = new ContentName(CR_NAMESPACE_URI, name(), RuntimeNamespaceContext.getNamespaceContext());
50 // }
51 //
52 // public QName qName() {
53 // return value;
54 // }
55
56 @Override
57 public String getNamespace() {
58 return CR_NAMESPACE_URI;
59 }
60
61 @Override
62 public String getDefaultPrefix() {
63 return CR_DEFAULT_PREFIX;
64 }
65
66 }