-package org.argeo.api.gcr;
-
-/** Standard names. */
-public enum CrName implements ContentNameSupplier {
-
- /*
- * TYPES
- */
- COLLECTION, // a collection type
-
- /*
- * ATTRIBUTES
- */
- UUID, // the UUID of a content
-
- /*
- * ATTRIBUTES FROM FILE SEMANTICS
- */
- CREATION_TIME, //
- LAST_MODIFIED_TIME, //
- SIZE, //
- FILE_KEY, //
- OWNER, //
- GROUP, //
- PERMISSIONS, //
-
- /*
- * CONTENT NAMES
- */
- ROOT,
-
- //
- ;
-
- public final static String CR_NAMESPACE_URI = "http://argeo.org/ns/cr";
- public final static String CR_DEFAULT_PREFIX = "cr";
- private final ContentName value;
-
- CrName() {
- value = toContentName();
- }
-
- @Override
- public ContentName get() {
- return value;
- }
-
- @Override
- public String getNamespaceURI() {
- return CR_NAMESPACE_URI;
- }
-
- @Override
- public String getDefaultPrefix() {
- return CR_DEFAULT_PREFIX;
- }
-
-}