Functional parts of the KnowledgeObjects.

The most important KnowledgeObjects in the base system support a common set of functions, which are represented by objects found in this package. Its much easier to use existing functions, in order to have the same behavior every time.

The Most Simple Interface is the {@link com.top_logic.knowledge.wrap.Wrapper}. A default Implemenation of this interface is the {@link com.top_logic.knowledge.wrap.AbstractWrapper}. The next step is the {@link com.top_logic.knowledge.wrap.ContainerWrapper}, asumming that some Wrapper may contain others, this is usually implemented by using a special Association. A good starting point is the {@link com.top_logic.knowledge.wrap.AbstractContainerWrapper}. The default Container used in Top-Logic is the {@link com.top_logic.knowledge.wrap.WebFolder} and its default contents is of type {@link com.top_logic.knowledge.wrap.Document} and {@link com.top_logic.knowledge.wrap.WebFolder}.

WrapperFactory

All objects must be subclassabale and behave reasonable in this case. They should be configurable to use something else than their default Objects. To do so the (widly configurable) {@link com.top_logic.knowledge.wrap.WrapperFactory} should be used.

Caching

All Wrappers are cached in the {@link com.top_logic.knowledge.wrap.WrapperFactory}.

Problems

The caching is not handled correctly and consistenly everywhere: Should every CTor put the Object in the cache? When must objects be removed from the cache?

How are Contained Items removed from their container?


Copyright © 2002-2003 Business Operation Systems GmbH