XBUP - eXtensible Binary Universal Protocol - Documentation
[Up]

# Documentation: Relations Between the Blocks

This document is part of the eXtensible Binary Universal Protocol project documentation. Provides description …

## Introduction

In the development process it proved to be appropriate to consider the relationship of individual data realisations, for example, from the perspective of object representation.

## Considered Relations

Blocks are probably not isolated to each other, but there exists mutual relations between them.

For example: Extension of, to determine the type, be a part of, be the same as, be a complement of… (todo)

#### Type - Instance of the Type

This relationship says that one block determines the type and the second is an instance of this type. Types will probably form a tree hierarchy by extension relation.

#### Parent - Child

This relationship reflects that one block is an extension of the second block and provides additional features.

#### Whole - Part

This relationship indicates that one of the blocks is a part of another, or that the block was founded as composition of other blocks.

### Equivalence

This relationship says that blocks, which posse this relationship, express the equivalent information, and are fully interchangeable. (For example: RGB, CMY)

#### Interface - Implementation

This relationship of the interface to the block, was taken from programming languages. Probably is confused with the type of relationship type - instance of type.

Homepage: http://xbup.org
License: GNU Free Documentation License (FDL)