Changes between Version 6 and Version 7 of adapters_composite


Ignore:
Timestamp:
05/05/06 14:55:18 (19 years ago)
Author:
lqu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adapters_composite

    v6 v7  
    88 This adapter services as a wrapper of the other ontology, especially it makes possible to contract and expand subgraphs. There are implementations in this package of all the interfaces from de.dfki.km.phaselib.model.ontology in order to wrap every frame of a ontology. If a frame is wrapped by a wrapper class, it should behave like the being wrapped frame from a point view of the implemented interface. That means, the returned values from the methods belonging to the interface are semantically equal. Objects of CompositeCls, which contract or expand a subgraph, do not obey the rule, because they are semantically different. 
    99 
    10 The most important classes are OntologyWrapper and CompositeCls. OntologyWrapper utilizes a static method to wrap every frame of the given ontology. CompositeCls provides the contract and expand functionalities. After contracting, the name of the new class is given by alphabetically concatenating all names of the classes from the original subgraph. The URL begins with prefix http://km.dfki.de/phaselib/adapters/composite/, followed by the new class name. If the same datatype properties are found in different classes, they are all added to the new class. After contracting, the domain of properites are changed to the new class, any references to the original classes of the subgraph will be redirected to the new class. 
     10 The most important classes are OntologyWrapper and CompositeCls. OntologyWrapper utilizes a static method to wrap every frame of the given ontology. CompositeCls provides the contract and expand functionalities. After contracting, the name of the new class is given by alphabetically concatenating all names of the classes from the original subgraph. The URL begins with prefix http://km.dfki.de/phaselib/adapters/composite/, followed by the new class name. If the same datatype properties are found in different classes, they are all added to the new class. After contracting, the domain of properites are changed to the new class, any references to the original classes of the subgraph will be redirected to the new class. 
    1111 
    1212== Characteristics ==