Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Attribute Model"
(→Definition) |
(→Attribute Value Model (AVM) (e.g. directory string)) |
||
Line 8: | Line 8: | ||
=== Attribute Value Model (AVM) (e.g. directory string)=== | === Attribute Value Model (AVM) (e.g. directory string)=== | ||
− | * | + | * An AVM MAY specialize: |
** a base XML Schema type (e.g. String) for literal AVMs | ** a base XML Schema type (e.g. String) for literal AVMs | ||
** OR a complex AVM | ** OR a complex AVM | ||
** OR another AVM | ** OR another AVM | ||
− | * | + | * An AVM defines a set of constraints on its value(s) including: |
** Value must be one of {"red", "green", "blue"} | ** Value must be one of {"red", "green", "blue"} | ||
** Syntax constraints (e.g. regular expression) | ** Syntax constraints (e.g. regular expression) |
Revision as of 21:32, 31 January 2008
Contents
Introduction
This page describes the Higgins concept of Attribute Model
Definition
- Defines the type(s) of the value(s) of an Attribute (e.g. "string" or "calendar-event")
- May define the minimum cardinality of an Attribute--the minimum number of values that are allowed (e.g. >=3 values)
- May define the maximum cardinality of an Attribute--the minimum number of values that are allowed (e.g. <=100 values)
Attribute Value Model (AVM) (e.g. directory string)
- An AVM MAY specialize:
- a base XML Schema type (e.g. String) for literal AVMs
- OR a complex AVM
- OR another AVM
- An AVM defines a set of constraints on its value(s) including:
- Value must be one of {"red", "green", "blue"}
- Syntax constraints (e.g. regular expression)
- ranges (e.g. less than 5, more than 100)
- matching rules
- THIS SECTION NEEDS WORK