In an object oriented computer system, a framework mechanism defines an
infrastructure for allowing a user to flexibly define keys and their
corresponding attributes. A special type of key called a specification key
allows combinations of attributes to be specified, as well as set and
range capabilities. An attribute retrieval policy is defined by a
programmer to specify an algorithm or criteria that is used to calculating
the desired attribute value. An attribute key controller contains
key/value pairings for the attribute, contains the attribute retrieval
policy, provides a maintenance interface for changing the attribute
values; and provides a client interface for retrieving the attribute
according to the attribute retrieval policy. The framework thus allows a
user great flexibility in defining a suitable key/attribute retrieval
mechanism by defining a suitable policy, defining one or more
specification keys, and defining an associated controller.
Dans un objet orienté le système informatique, un mécanisme de cadre définit une infrastructure pour permettre à un utilisateur de définir avec souplesse des clefs et leurs attributs correspondants. Un type spécial de clef appelé une clef de spécifications permet à des combinaisons des attributs d'être indiquées, comme a placé et s'étend des possibilités. Une politique de récupération d'attribut est définie par un programmeur pour indiquer un algorithme ou des critères qui est employé à calculer la valeur désirée d'attribut. Un contrôleur de clef d'attribut contient des pairings de key/value pour l'attribut, contient la politique de récupération d'attribut, fournit une interface d'entretien pour changer les valeurs d'attribut ; et fournit une interface de client pour rechercher l'attribut selon la politique de récupération d'attribut. Le cadre permet ainsi à un utilisateur la grande flexibilité en définissant un mécanisme approprié de récupération de key/attribute en définissant une politique appropriée, en définissant une ou plusieurs clefs de spécifications, et en définissant un contrôleur associé.