Copyright © 2003
2003-05-19
| Revision History | |
|---|---|
| Revision 0.1 | 2003-05-19 |
| Initial public release. | |
Abstract
This document contains the class diagrams and class descriptions that resulted from the static analysis.
Table of Contents
The following diagram depicts the data and meta data structures of the MRMS.
A Resource is composed of its Attributes and is an instance of a ResourceType which specifies which Attributes the Resource may have.
---
A ResourceType specifies (by composition) the Attributes that a Resource of this type has.
name: the name of the ResourceType
Abstract base class for attribute types that a ResourceType aggregates.
name: the name of the AttributeType
onlyPredefinedValuesAllowed: if true, the user may only select the predefined values for an Attribute that has this type; if false, he may enter another value as well
mandatory: if true, the user must enter a value for Attributes of this type
frozen: if true, the user may not change the value of Attributes of this type
Concrete AttributeType for NumericalAttributes.
predefinedValues[]: an array specifying predefined values for Attributes of this type
minValue: the minimum value Attributes of this type may have
maxValue: the maximum value Attributes of this type may have
Concrete AttributeType for TextAttributes.
predefinedValues[]: an array specifying predefined values for Attributes of this type
minSize: the minimum number of characters Attributes of this type may have
maxSize: the maximum number of characters Attributes of this type may have
Abstract base class for attributes that a Resource aggregates.
---
Concrete Attribute for a numerical property characterisation of a Resource.
value: numerical property characterisation of a Resource
Concrete Attribute for a textual property characterisation of a Resource.
value: textual property characterisation of a Resource
A Link references the two Resources that are linked together by it. Its consistency is checked by the LinkRule.
---
A LinkRule defines the characteristics of a consistent Link. It references two ResourceTypes whose instances (Resources) may be linked together and aggregates two CadinalitySpecs that define the allowed cardinalities for links between the two ResourceTypes.
name: name of the LinkRule.
Specifies the minimum and maximum cardinality for one end t1 of a link rule. Example: Two ResourceTypes t1 and t2 are taking part in a LinkRule. If there is the cardinality specification min=1 and max=4 for t1, this means that one specific Resource of type t2 must have at least 1 and may have up to 4 Links to Resources of type t1. In the specification of the cardinality for ResourceType t1 a NumberAttributeType of the ResourceType t1 may be referenced.
minCardinality: value for the minimum cardinality; may be overriden by a reference to a NumberAttributeType
maxCardinality: value for the maximum cardinality; may be overriden by a reference to a NumberAttributeType
The following diagram depicts the classes for user management of the MRMS.
Class for user accounts of the MRMS. Its instances may play Roles in the system.
name: username
password: password of the user
realname: real name of the user
A Role defines which AccessRights its players (Users) have.
name: name of the Role
isAdministratorRole: defines if Users of the Role have administration rights
Abstract base class for access rights. If a Role is associated with an AccessRight we say it owns the AccessRight. Users have the AccessRights which the Roles they play own.
---
Concrete AccessRight that defines owner's authority of working with Resources that are of a specific ResourceType.
canCreate: defines if Resources of the referenced ResourceType may be created
canDelete: defines if Resources of the referenced ResourceType may be deleted
canLink: defines if Resources of the referenced ResourceType may be linked
Concrete AccessRight that defines owner's authority of accessing Atrributes of Resources that are of a specific ResourceType.
canRead: defines if Attributes of the referenced AttributeType may be read
canWrite: defines if Attributes of the referenced AttributeType may be written