]> git.argeo.org Git - lgpl/argeo-commons.git/blob - DName.java
be065a8d96750ef8d0e2399be80bf3b0753e49a6
[lgpl/argeo-commons.git] / DName.java
1 package org.argeo.api.acr;
2
3 /**
4 * Name for core concepts with the same semantics as defined in the WebDav
5 * standard and extensions.
6 *
7 * @see "http://www.webdav.org/specs/rfc4918.html"
8 * @see "http://www.webdav.org/specs/rfc3744.html"
9 */
10 public enum DName implements QNamed
11
12 {
13 // RFC4918 (WebDav) properties used as CR attr
14 creationdate, //
15 displayname, //
16 getcontentlanguage, //
17 getcontentlength, //
18 getcontenttype, //
19 getetag, //
20 getlastmodified, //
21 resourcetype, //
22
23 // RFC4918 (WebDav) value used as CR class
24 collection, //
25
26 // RFC3744 (ACL) properties uase as CR attr
27 owner, //
28 group, //
29 //
30 ;
31
32 public final static String WEBDAV_NAMESPACE_URI = "DAV:";
33 public final static String WEBDAV_DEFAULT_PREFIX = "D";
34
35 @Override
36 public String getNamespace() {
37 return WEBDAV_NAMESPACE_URI;
38 }
39
40 @Override
41 public String getDefaultPrefix() {
42 return WEBDAV_DEFAULT_PREFIX;
43 }
44
45 }