Package org.fcrepo.migration
Interface DatastreamInfo
-
public interface DatastreamInfo
An interface defining access to information about a fedora datastream.- Author:
- mdurbin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetControlGroup()Gets the control group for this datastream.StringgetDatastreamId()Gets the identifier for this datastream (Unique within an object).StringgetFedoraURI()Gets the fedora URI for this datastream.ObjectInfogetObjectInfo()Gets the information about the object to which this datastream belongs.StringgetState()Gets the state for this datastream.booleangetVersionable()Returns true if this datastream was/is versionable.
-
-
-
Method Detail
-
getObjectInfo
ObjectInfo getObjectInfo()
Gets the information about the object to which this datastream belongs.- Returns:
ObjectInfo
-
getDatastreamId
String getDatastreamId()
Gets the identifier for this datastream (Unique within an object).- Returns:
- datastream id
-
getControlGroup
String getControlGroup()
Gets the control group for this datastream. This is expected to be "M", "X", "R" or "E".- Returns:
- control group
-
getFedoraURI
String getFedoraURI()
Gets the fedora URI for this datastream.- Returns:
- Fedora URI
-
getState
String getState()
Gets the state for this datastream. This is expected to be "A", "I" or "D".- Returns:
- state
-
getVersionable
boolean getVersionable()
Returns true if this datastream was/is versionable.- Returns:
- true if versionable
-
-