About: Operation contracts   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Operation contracts are formal constraints defined over software operations. These are created during the domain-modeling phase. Typically, an operation contract consists of 4 components: * Operation name: A name for the operation * Cross-References: List of use-cases that refer this operation * Preconditions: State of variables/system before this operation is invoked * Postconditions: State of variables/system after successful completion of the operation Typically, the Postconditions can be of 3 kinds: Name: appropriateName Responsibilities: Perform a function Exceptions: none

AttributesValues
rdfs:label
  • Operation contracts
rdfs:comment
  • Operation contracts are formal constraints defined over software operations. These are created during the domain-modeling phase. Typically, an operation contract consists of 4 components: * Operation name: A name for the operation * Cross-References: List of use-cases that refer this operation * Preconditions: State of variables/system before this operation is invoked * Postconditions: State of variables/system after successful completion of the operation Typically, the Postconditions can be of 3 kinds: Name: appropriateName Responsibilities: Perform a function Exceptions: none
dcterms:subject
wikify
  • December 2010
dbkwik:speedydelet...iPageUsesTemplate
notability
  • November 2007
unreferenced
  • November 2007
orphan
  • November 2007
concern
  • Notability and sources issues tagged since 2007.
Timestamp
  • 20120707014252(xsd:double)
abstract
  • Operation contracts are formal constraints defined over software operations. These are created during the domain-modeling phase. Typically, an operation contract consists of 4 components: * Operation name: A name for the operation * Cross-References: List of use-cases that refer this operation * Preconditions: State of variables/system before this operation is invoked * Postconditions: State of variables/system after successful completion of the operation Typically, the Postconditions can be of 3 kinds: * Instance creation * Attribute modification * Associations broken/added A UML Operation contract identifies system state changes when an operation happens. Effectively, it will define what each system operation does. An operation is taken from a system sequence diagram. It is a single event from that diagram. A domain model can be used to help generate an operation contract. The domain model can be marked as follows to help with the operation contract: Green - Pre existing concepts and associations. Blue - Created associations and concepts. Red - Destroyed concepts and associations. Operation Contract Syntax Name: appropriateName Responsibilities: Perform a function Cross References: System functions and Use Cases Exceptions: none Preconditions: Something or some relationship exists Postconditions: An association was formed When making an operation contract, think of the state of the system before the action (snapshot) and the state of the system after the action (a second snapshot). The conditions both before and after the action should be described in the operation contract. Do not describe how the action or state changes were done. The pre and post conditions describe state, not actions. Typical postcondion changes: Object attributes were changed. An instance of an object was created. An association was formed or broken. Postconditions are described in the past tense. They declare state changes to the system. Fill in the name, then responsibilities, then postconditions.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software