Interface RelationshipBatchForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, RelationshipForm, Suppliable

public interface RelationshipBatchForm extends RelationshipForm

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.

  • Method Details

    • getSourceNodeId

      Id getSourceNodeId()
      Gets the Id of the source node if this is a create transaction.
      Returns:
      the node Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getDestinationNodeId

      Id getDestinationNodeId()
      Gets the Id of the destination node if this is a create transaction.
      Returns:
      the node Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getRelationshipId

      Id getRelationshipId()
      Gets the Id of the relationship to be updated if this is an update transaction.
      Returns:
      the relationship Id
      Throws:
      IllegalStateException - isForUpdate() is false
      Compliance:
      mandatory - This method must be implemented.