OSID Logo
OSID Specifications
inventory shipment package
Version 3.1.0
Interfaceosid.inventory.shipment.EntryForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Implemented Byosid.inventory.shipment.batch.EntryBatchForm
Used Byosid.inventory.shipment.ShipmentAdminSession
Description

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

MethodgetModelMetadata
Description

Gets the metadata for a model.

Returnosid.Metadata metadata for the model
Compliancemandatory This method must be implemented.
MethodsetModel
Description

Sets the model.

Parametersosid.id.IdmodelId the new model
ErrorsINVALID_ARGUMENT modelId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT modelId is null
Compliancemandatory This method must be implemented.
MethodclearModel
Description

Removes the model.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetItemMetadata
Description

Gets the metadata for an item.

Returnosid.Metadata metadata for the item
Compliancemandatory This method must be implemented.
MethodsetItem
Description

Sets the item.

Parametersosid.id.IditemId the new item
ErrorsINVALID_ARGUMENT itemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT itemId is null
Compliancemandatory This method must be implemented.
MethodclearItem
Description

Removes the item.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetQuantityMetadata
Description

Gets the metadata for the quantity.

Returnosid.Metadata metadata for the quantity
Compliancemandatory This method must be implemented.
MethodsetQuantity
Description

Sets the quantity.

Parametersdecimalquantity the new quantity
ErrorsINVALID_ARGUMENT quantity is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearQuantity
Description

Removes the quantity.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetUnitTypeMetadata
Description

Gets the metadata for the unit type.

Returnosid.Metadata metadata for the unit type
Compliancemandatory This method must be implemented.
MethodsetUnitType
Description

Sets the unit type.

Parametersosid.type.Typetype the new unit type
ErrorsINVALID_ARGUMENT type is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT type is null
Compliancemandatory This method must be implemented.
MethodclearUnitType
Description

Removes the unit type.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetEntryFormRecord
Description

Gets the EntryFormRecord corresponding to the given entry record Type.

Parametersosid.type.TypeentryRecordType an entry record type
Returnosid.inventory.shipment.records.EntryFormRecord the entry form record
ErrorsNULL_ARGUMENT entryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(entryRecordType) is false
Compliancemandatory This method must be implemented.