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
12 changed files
with
233 additions
and
41 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
|
||
/* | ||
* JCR node types for use with Fedora | ||
*/ | ||
<jcr = 'http://www.jcp.org/jcr/1.0'> | ||
<nt = 'http://www.jcp.org/jcr/nt/1.0'> | ||
<mix = 'http://www.jcp.org/jcr/mix/1.0'> | ||
|
||
/* | ||
* Friend-of-a-Friend | ||
*/ | ||
<foaf = 'http://xmlns.com/foaf/0.1/'> | ||
|
||
/* | ||
* Generic Fedora namespace | ||
*/ | ||
<fedora = 'info:fedora'> | ||
|
||
/* | ||
* Dublin Core. See: | ||
* | ||
* http://dublincore.org/documents/dcmi-namespace/ | ||
*/ | ||
<dc = 'http://purl.org/dc/terms/'> | ||
|
||
|
||
/* | ||
* Any Fedora resource. | ||
*/ | ||
[fedora:resource] > mix:created, mix:lastModified, mix:lockable, mix:versionable mixin abstract | ||
|
||
/* | ||
* Temporary for us until we better understand the use of jcr:created. | ||
*/ | ||
- fedora:created (STRING) COPY | ||
|
||
/* | ||
* See: http://dublincore.org/documents/dcmi-terms/#elements-identifier | ||
*/ | ||
- dc:identifier (STRING) multiple COPY | ||
- dc:title (STRING) COPY | ||
|
||
|
||
/* | ||
* A Fedora object. | ||
*/ | ||
[fedora:object] > fedora:resource, nt:folder mixin | ||
|
||
|
||
/* | ||
* A Fedora datastream. | ||
*/ | ||
[fedora:datastream] > fedora:resource, nt:file mixin | ||
|
||
/* | ||
* The MIMEtype of this datastream. | ||
*/ | ||
- fedora:contentType (STRING) COPY | ||
|
||
|
||
/* | ||
* Indicates that this resource is owned. | ||
*/ | ||
[fedora:owned] mixin noquery | ||
|
||
/* | ||
* The owner of this owned resource. | ||
*/ | ||
- fedora:owner (REFERENCE) COPY | ||
|
||
/* | ||
* For use for when the owner-entities are not managed in the repository. | ||
*/ | ||
- fedora:ownerId (STRING) COPY | ||
|
||
|
||
/* | ||
* Some entity that owns a Fedora resource. | ||
*/ | ||
[fedora:owner] primaryitem foaf:name | ||
|
||
/* | ||
* The name of this owner. | ||
*/ | ||
- foaf:name (STRING) multiple COPY | ||
|
||
|
||
/* | ||
* Some content that can have a checksum | ||
*/ | ||
[fedora:checksum] mixin | ||
- fedora:size (LONG) COPY | ||
- fedora:digest (STRING) COPY | ||
- fedora:digestAlgorithm (STRING) COPY |
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
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
17 changes: 3 additions & 14 deletions
17
fcrepo-http-commons/src/main/java/org/fcrepo/jaxb/responses/management/DatastreamFixity.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 |
---|---|---|
@@ -1,25 +1,14 @@ | ||
package org.fcrepo.jaxb.responses.management; | ||
|
||
import java.net.URI; | ||
import java.util.List; | ||
|
||
import javax.xml.bind.annotation.XmlElement; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
|
||
@XmlRootElement(name = "DatastreamFixity") | ||
public class DatastreamFixity { | ||
|
||
@XmlElement | ||
public long dsSize; | ||
@XmlElement(name = "DatastreamFixityStatus") | ||
public List<FixityStatus> statuses; | ||
|
||
@XmlElement | ||
public String dsChecksumType; | ||
|
||
@XmlElement | ||
public URI dsChecksum; | ||
|
||
@XmlElement | ||
public boolean validChecksum; | ||
|
||
@XmlElement | ||
public boolean validSize; | ||
} |
Oops, something went wrong.