Interface Bin
- All Superinterfaces:
Browsable, Extensible, Federateable, Identifiable, OsidCatalog, OsidObject, Sourceable
An inventory defines a collection of resources.
Like all OsidObjects, Bin is managed by its
OsidSessions and may not be accessed by concurrent processing threads.
-
Method Summary
Modifier and TypeMethodDescriptiongetBinRecord(Type binRecordType) Gets the bin record corresponding to the givenBinrecordType.This method is used to retrieve an object implementing the requested record.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getBinRecord
Gets the bin record corresponding to the givenBinrecordType.This method is used to retrieve an object implementing the requested record. ThebinRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(binRecordType)istrue.- Parameters:
binRecordType- the bin record type- Returns:
- the bin record
- Throws:
NullArgumentException-binRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(binRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-