Valid

GB/T 28174.3-2011Unified modeling language(UML) - Part 3: Object constraint language(OCL) (English PDF)

统一建模语言(UML) 第3部分:对象约束语言(OCL)

Preview PDF

This is a limited preview

Buy now to download the full PDF (108 pages)

Need quotation for your management?

Get a formal quotation for GB/T 28174.3-2011 in 30 minutes.

Issued by

SAMR; SAC

Level / Type

National · Recommended

Issue date

December 30, 2011

Implementation date

June 1, 2012

Scope

GB/T 28174.3-2011 is the English-translated version of 统一建模语言(UML) 第3部分:对象约束语言(OCL).

GB/T 28174.3-2011 is the Chinese standard "Unified modeling language(UML) - Part 3: Object constraint language(OCL)". Its scope clause reads: This part of GB/T 28174 specifies a unified modeling language for visualizing, detailing, structuring, and documenting various types of software systems.

Words. This language can also be used to model other areas. This part is a formal language that applies to expressions that describe UML models. These expressions are specified in a regulated manner How to describe the system in the modeling process should be established in the invariant conditions and the query object in the model.

Its clauses include normative reference documents; object constraint language description.

Found what you need?

Document preview — GB/T 28174.3-2011

National Standard of the People's Republic of China

ICS
35.080
Classification
L 77

Issued by: State Administration for Market Regulation; Standardization Administration of the PRC

Contents

  • Preface
  • Introduction
  • 1 Scope
  • 2 normative reference document
  • 3 Object Constraint Language Description
  • 5 specific syntax
  • 7 OCL Standard Library
  • 9 OCL, UML and MOF three meta-model of the convergence of

1 Scope

This part of GB/T 28174 specifies a unified modeling language for visualizing, detailing, structuring, and documenting various types of software systems.

Words. This language can also be used to model other areas.

This part is a formal language that applies to expressions that describe UML models. These expressions are specified in a regulated manner

How to describe the system in the modeling process should be established in the invariant conditions and the query object in the model.

2 normative reference documents

The following documents are indispensable for the application of this document. For dated references, only the dated edition applies to this article

Pieces. For undated references, the latest edition (including all modifications) applies to this document.

Unified Modeling Language (UML) - Part 1. Infrastructure

Unified Modeling Language (UML) - Part 2. Upper Architecture

3 Object Constraint Language Description

3.1 The role of OCL

UML diagrams (such as class diagrams) are usually not fine enough to provide all aspects related to the specification. Which is missing in the description model

Add constraints on objects. These constraints are often described in natural language. And practice shows that doing so often causes ambiguity. To write

There is no ambiguity of the constraints, has developed several new "formal language". The traditional form of language, the disadvantage is only suitable for a considerable number

It is difficult to use the background staff, the general business or the system modeler.

OCL is to fill this gap and developed. It is a formal language that retains the easy-to-read and easy-to-write features. It's already in IBM's

The insurance division was developed as a business modeling language and was rooted in the Syntropy method.

OCL is a purely regular language, thus ensuring that OCL expressions do not have side effects. When evaluating an OCL expression,

Just return a value. It can not change anything in the model. This means that the state of the system is never evaluated by the OCL expression

And change, even if the OCL expression can be used to specify a state change (for example, in the postcondition).

OCL is not a programming language, so it is not possible to write program logic or flow control in OCL. Within OCL, you can not enable processes or

Activate non-query operation. OCL is a modeling language, so OCL expressions can not be executed directly by definition.

OCL is a typed language, where each OCL expression has a type. OCL expression to be well, it should be

The type of conformity rule of the language. For example, you can not compare Integer with String. Each category defined within the UML model (Classifier), all represent a unique OCL type. In addition, OCL also contains a set of supplemental predefined types (this is in Chapter 7)

"OCL standard library").

As a protocol language, all implementation problems are beyond the scope of OCL and can not be expressed in OCL.

The evaluation of OCL expressions is instantaneous. That is to say, the state of each object in the model can not be changed during the evaluation.

3.1.1 OCL use

OCL can be used for several different purposes.

a) as a query language;

b) specify the invariants of classes and types in class models;

c) specify the type of Stereotype (Stereotype) invariant;

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 108 pages — is available in the English PDF.

Similar standards

How to Download GB/T 28174.3-2011

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
108 pages
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GB/T 28174.3-2011

$1,850.00