Package org.fcrepo.migration
Class DefaultObjectInfo
- java.lang.Object
-
- org.fcrepo.migration.DefaultObjectInfo
-
- All Implemented Interfaces:
ObjectInfo
public class DefaultObjectInfo extends Object implements ObjectInfo
A default implementation of ObjectInfo that accepts values at construction time.- Author:
- mdurbin
-
-
Constructor Summary
Constructors Constructor Description DefaultObjectInfo(String pid, String uri)the default object info
-
-
-
Constructor Detail
-
DefaultObjectInfo
public DefaultObjectInfo(String pid, String uri)
the default object info- Parameters:
pid- the piduri- the uri
-
-
Method Detail
-
getPid
public String getPid()
- Specified by:
getPidin interfaceObjectInfo- Returns:
- the pid of the object.
-
getFedoraURI
public String getFedoraURI()
- Specified by:
getFedoraURIin interfaceObjectInfo- Returns:
- the Fedora URI of the object (or null if none is available in the source).
-
-