Package org.fcrepo.migration
Interface ObjectReference
-
public interface ObjectReference
A reference to a Fedora 3 object. Through the methods, all metadata and datastream content is available.- Author:
- mdurbin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<DatastreamVersion>getDatastreamVersions(String datastreamId)Gets all versions of the datastream with the given id, from oldest to newest.ObjectInfogetObjectInfo()ObjectPropertiesgetObjectProperties()booleanhadFedora2Disseminators()List<String>listDatastreamIds()Lists all datastream ids.
-
-
-
Method Detail
-
getObjectInfo
ObjectInfo getObjectInfo()
- Returns:
- all the basic object information.
-
getObjectProperties
ObjectProperties getObjectProperties()
- Returns:
- all the object properties.
-
listDatastreamIds
List<String> listDatastreamIds()
Lists all datastream ids.- Returns:
- all datastream ids
-
getDatastreamVersions
List<DatastreamVersion> getDatastreamVersions(String datastreamId)
Gets all versions of the datastream with the given id, from oldest to newest.- Parameters:
datastreamId- the id (a value returned from listDatastreams()) of the datastream whose versions are being requested.- Returns:
- a list of datastream versions ordered from oldest to newest.
-
hadFedora2Disseminators
boolean hadFedora2Disseminators()
- Returns:
- true if the underlying object had a Fedora2-style disseminator that was lost in the migration.
-
-