OSID Logo
OSID Specifications
relationship batch package
Version 3.0.0
Interfaceosid.relationship.batch.RelationshipBatchForm
Implementsosid.relationship.RelationshipForm
Used Byosid.relationship.batch.RelationshipBatchFormList
Description

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

MethodgetSourceNodeId
Description

Gets the Id of the source node if this is a create transaction.

Returnosid.id.Idthe node Id
ErrorsILLEGAL_STATEisForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetDestinationNodeId
Description

Gets the Id of the destination node if this is a create transaction.

Returnosid.id.Idthe node Id
ErrorsILLEGAL_STATEisForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetRelationshipId
Description

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

Returnosid.id.Idthe relationship Id
ErrorsILLEGAL_STATEisForUpdate() is false
CompliancemandatoryThis method must be implemented.