org.fcrepo.client.utility.validate.types
Interface ObjectInfo

All Known Implementing Classes:
BasicObjectInfo

public interface ObjectInfo

An abstraction of a digital object, containing only those fields and attributes that are needed for validation. (As validation becomes more elaborate, this interface will also.)

Author:
Jim Blake

Method Summary
 Collection<String> getContentModels()
           
 Collection<String> getDatastreamIds()
           
 DatastreamInfo getDatastreamInfo(String dsId)
           
 String getPid()
           
 Collection<RelationshipInfo> getRelations(String relationship)
           
 boolean hasContentModel(String contentmodelpid)
           
 boolean hasRelation(String relationship)
           
 

Method Detail

getPid

String getPid()

hasRelation

boolean hasRelation(String relationship)

getRelations

Collection<RelationshipInfo> getRelations(String relationship)

getDatastreamIds

Collection<String> getDatastreamIds()

getDatastreamInfo

DatastreamInfo getDatastreamInfo(String dsId)

getContentModels

Collection<String> getContentModels()

hasContentModel

boolean hasContentModel(String contentmodelpid)


Copyright © 2012 DuraSpace. All Rights Reserved.