Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
79 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<artifactId>fcrepo</artifactId> | ||
<groupId>org.fcrepo</groupId> | ||
<version>4.0-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>fcrepo-jcr</artifactId> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.modeshape</groupId> | ||
<artifactId>modeshape-jcr</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.jbossts</groupId> | ||
<artifactId>jbossjta</artifactId> | ||
<version>4.16.6.Final</version><!--$NO-MVN-MAN-VER$--> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
40 changes: 40 additions & 0 deletions
40
fcrepo-jcr/src/main/java/org/fcrepo/utils/FedoraJcrTypes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
package org.fcrepo.utils; | ||
|
||
/** | ||
* Convenience class with constants for commonly used JCR types. | ||
* | ||
* @author ajs6f | ||
* | ||
*/ | ||
public interface FedoraJcrTypes { | ||
|
||
String FEDORA_DATASTREAM = "fedora:datastream"; | ||
|
||
String FEDORA_OBJECT = "fedora:object"; | ||
|
||
String FEDORA_SIZE = "fedora:size"; | ||
|
||
String FEDORA_OWNED = "fedora:owned"; | ||
|
||
String FEDORA_OWNERID = "fedora:ownerId"; | ||
|
||
String DC_TITLE = "dc:title"; | ||
|
||
String DC_IDENTIFIER = "dc:identifier"; | ||
|
||
String JCR_LASTMODIFIED = "jcr:lastModified"; | ||
|
||
String JCR_CREATED = "jcr:created"; | ||
|
||
String FEDORA_CHECKSUM = "fedora:checksum"; | ||
|
||
String CONTENT_SIZE = "fedora:size"; | ||
|
||
String DIGEST_VALUE = "fedora:digest"; | ||
|
||
String DIGEST_ALGORITHM = "fedora:digestAlgorithm"; | ||
|
||
String FEDORA_CONTENTTYPE = "fedora:contentType"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters