OSID Logo
OSID Specifications
resource batch package
Version 3.1.0
Interfaceosid.resource.batch.ResourceRelationshipBatchForm
Implementsosid.resource.ResourceRelationshipForm
Used Byosid.resource.batch.ResourceRelationshipBatchFormList
Description

This is the form for creating and updating resource relationships in bulk. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the ResourceRelationshipBatchAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetSourceResourceId
Description

Gets the source Resource of the resource relationship if this is a create transaction.

Returnosid.id.Id the source resource Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetDestinationResourceId
Description

Gets the destination Resource of the resource relationship if this is a create transaction.

Returnosid.id.Id the destination resource Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetResourceRelationshipId
Description

Gets the Id of the resource relationship to be updated if this is an update transaction.

Returnosid.id.Id the resource relationship Id
ErrorsILLEGAL_STATE isForUpdate() is false
Compliancemandatory This method must be implemented.