Interface | osid.ordering.ItemForm | ||
---|---|---|---|
Implements | osid.OsidRelationshipForm | ||
Description |
This is the form for creating and updating | ||
Method | getQuantityMetadata | ||
Description |
Gets the metadata for a quantity. | ||
Return | osid.Metadata | metadata for the quantity | |
Compliance | mandatory | This method must be implemented. | |
Method | setQuantity | ||
Description |
Sets the quantity. | ||
Parameters | cardinal | quantity | the new quantity |
Errors | INVALID_ARGUMENT | quantity is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearQuantity | ||
Description |
Clears the quantity. | ||
Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemFormRecord | ||
Description |
Gets the | ||
Parameters | osid.type.Type | itemRecordType | the item record type |
Return | osid.ordering.records.ItemFormRecord | the item form record | |
Errors | NULL_ARGUMENT | itemRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(itemRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |