Table of Contents

Theory

AttrRep

The class attribute "AttrRep" controls the availability and structure of the ADOxx-Notebook. If it has no value then the class will have no Notebook.

The following elements are available to define the Notebook:

  • Chapter: Each Notebook must have at least one chapter to show some attributes. Chapters of a Notebook are shown as tabs on the right side.
  • Attributes: Attributes are embedded in a chapter where they should be shown. The distribution and sequence of the attributes is also defined in the AttrRep.
  • Groups: Attributes can be combined to groups inside of a chapter.

 

AttrRep-Commands

NOTEBOOK

The Notebook-Definition must start with this command to be valid. It has no parameters.

CHAPTER "chapterName"

Chapters can be started with this command. The chapter will have the name (Hint: A command ENDCHAPTER is not necessary)

ATTRIBUTE "AttrName"

The attribute with the name will be shown in the notebook on this position. Some attribute types also allow different parameters to adapt the actual display.

GROUP "groupName" / ENDGROUP

The attributes listed between GROUP and ENDGROUP will be enclosed by a group-box with the name

SET_ACCESS usergroup: userGroupSpec

Attributes following this command will only be shown to the user group . This restriction can be revoked using „SET_ACCESS usergroup: all"
   

AttrRep Description

Classattribute "AttrRep" is of type long string, hence the text entered as value is interpreted as configuration script of the so-called NOTEBOOK.

Each NOTEBOOK has CHAPTERS, which contains a list of attributes that may be grouped.

Relations that are allowed for this class can be automatically created as an own chapter.

Appearance of attributes is defined by lines, dialog, control types (ctrltype), width or format.

Access rights per attribute can be defined.

 

AttrRep Syntax Reference

Notebook :

NOTEBOOK [ with-relations | move-relations:intValue ]
{NBElement | SetAccess | Language | ModelType | Mode }

NBElement : Chapter | NBField | Set | AVal
Chapter : CHAPTER chapterName [ color:ColorSpec ]
Group : GROUP groupName [ color:ColorSpec ] { Attribute } ENDGROUP
NBField : Group | VSpace | Attribute
VSpace : VSPACE h:intValue
Attribute : ATTR attrName [ write-protected ] [ only-rows ] [ format:strValue ] [ dialog:Dialog ] [ lines:intValue ] [ font-family:FontFamily ] [ color:ColorSpec ] [ ctrltype:ControlType ] [
    unchecked-value:strValue ] [ checked-value:strValue ] [ no-auto ] [ no-param ] [ push-button ] [ formula-visible ] [align:Alignment] [ enabled:boolExpr ] [ mandatory:boolValue ] [ notitle ] [ width:realValue ] [ h:measureValue ]
FontFamily : decorative | modern | roman | script | swiss | system
Dialog : time | date | datetime | distribution | actor | subprocess | person-calendar | processstart-calendar | resource | color | transcond | acfilter | wizard | attachment
ControlType : radio | dropdown | check | graphrep | attachment
Set : SET var:expression
AVal : AVAL { AvalAssignment }
AValAssignment : [ set-format:strValue ] [ set-sep:strValue ] [ as-original-type ] [ set-count-rows ] var:attrName
SetAccess : SET_ACCESS usergroup:UserGroupSpec mode:AccessMode
UserGroupSpec : userGroupName | all
AccessMode : blocked | protected | full
Alignment : l | c | r
Language : LANG langSpec
LangSpec : langName | all
ModelType : MODELTYPE ModelTypeSpec
ModelTypeSpec : modelTypeName | modelTypeNameArray | all
Mode : MODE ModeSpec
ModeSpec : modeName | modeNameArray | all

 

Example for a AttrRep Definition in ALL - Programming Style

CLASSATTRIBUTE <AttrRep>
TYPE STRING
VALUE "NOTEBOOK with-relations
CHAPTER \"Description\"
ATTR \"Name\"
ATTR \"Presentation\"
ATTR \"Description\" lines:5
ATTR \"Comment\" lines:5
ATTR \"Color\" dialog:color
"
FACET <MultiLineString>
VALUE 0
FACET <AttributeHelpText>
VALUE ""
FACET <AttributeRegularExpression>
VALUE ""

Keyword

    Attributename: "AttrRep" is a special attribute which defines what other attributes are processed by the ADOxx documentation function

Type definition

Value: The string of the "AttrRep" attributes is
    defined as a "Notebook". Therefore a specific syntax is used.

A help text can be provided for the
    attribute.

 

Average (0 Votes)
The average rating is 0.0 stars out of 5.

Scenarios

There are no results.

Development Tools

About

Imprint

This website is organized by

BOC Asset Management GmbH
Operngasse 20b
1040 Wien
Austria

Tel.: +43-1-905 10 56-0
Fax.: +43-1-905 10 56-3007
Email: info@adoxx.org
Web: www.boc-group.com

Court of Jurisdiction: Handelsgericht Vienna
Commercial Register Number: FN 135702m
VAT ID-Nr.: ATU 39218002
Member of the Wirtschaftskammer Vienna

Managing Director:
o. Univ. Prof. Dr. Dimitris Karagiannis

Type of business
BOC Group is a consulting and software company specialised in IT based management solutions.

Basics
The website of BOC serves predominantly as an information source for interested parties.

Equal treatment of gender
As far as male descriptions are used on this website, we mean to refer to women and men similarly.

Copyright © BOC, 1996 - 2014
All rights reserved.
The content of this document is copyrighted. The usage as well as changes, cutbacks, enhancements and amendments need to be agreed by BOC, Vienna, in writing. Every duplication is only allowed in condition that the note of copyright will still exist on the document. Every publication or every translation is subject to a written acceptance by BOC, Vienna.

Trademarks
BOC, the BOC logo and all products, product names and product logos of BOC are registered trademarks of BOC Information Technologies Consulting AG. © BOC Information Technologies Consulting AG 1996-2013 All rights reserved.

All other trademarks are property of the particular owner.