Working with SMWP - Overview |
|
Introduction |
4 Working with SMWP4.1 Starting the SMWP-ConsoleStart the SMWP console by executing following command on the command
shell: javaw -classpath "c:/smwp/console/lib/apache/xalan2.2.D6.jar; 4.2 Using the SMWP-ConsoleThe console user interface is separated into three parts (Figure 2):
![]() Figure 2: SMWP Console
The menu bar contains following structure:
input window output window 4.3 Overview of Elements managed by the SMWP Console4.3.1 ParameterThe creation of fragment classes require the creation of fragment class parameters first. An fragment class parameter can be either from type value parameter or predicate parameter. The value parameter requires one tuple for each valid value while the predicate parameter uses statements, i.e. rank > 15 AND rank <=50. An predicate parameter can be used as substitute for an value parameter by using valid values directly in statements, i.e. name = "Styria". Possible actions:
4.3.2 Fragment ClassThe fragment class defines the parameters which are used for fragmentation of application realations. The fragment class wineries<region> states that the applicatoin relation wineries is fragmented by the parameter region. Tuples from an application relation can exist in one, more or no fragments at all. Possible actions:
4.3.3 FragmentFragment classes define everything which is required to generate fragments. An resulting fragment wineries<styria> contains all valid tuples of application relation wineries whose column region contains the value styria. Possible actions:
4.3.4 Page ClassFragment classes are used to structure the data itself by defining which tuple is contained in which fragment. Page classes are used to display the data which is structured by fragment classes. A page class contains at least the fragment class it is defined upon (which is being called foundation fragment class) and more fragment classes which are at least parameterized by the same parameters as the foundation fragment class. Possible actions:
4.3.5 PageA page class is a single instance of an page class. The page class pc_wineries<region> which uses the fragment class wineries<region> as foundation fragment class Possible actions:
|