25.10.2014 Views

Thesis full text (PDF) - Politecnico di Milano

Thesis full text (PDF) - Politecnico di Milano

Thesis full text (PDF) - Politecnico di Milano

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

first-class citizens, we have more than one parameter values for the con<strong>di</strong>tion in the mandatory<br />

UML composition in order to identify the main element. We depict the rest of UML<br />

compositions modeling the relations of the main element with other UML elements.<br />

Figure 3.15: Remove Component<br />

Whenever a Remove component is used, it is properly configured: the mandatory UML<br />

composition is always present, only the optional compositions necessary for the use of the<br />

component in the specific con<strong>text</strong> are being added. We call these configured compositions<br />

necessary parts for the specific component.<br />

Whenever a configured Remove component is invoked, a new object of the Remove Name<br />

Component UML class is created. The invocation of the component functionalities for the<br />

created object is made with the execute(s: String[][]) method defined in the main class. Upon the<br />

method’s invocation, the object communicates with the defined parts in order to update the<br />

knowledge base. In particular, the object of the Remove Name Component UML class is<br />

responsible for the objects of the necessary parts: (i) their creation, (ii) the initialization of their<br />

con<strong>di</strong>tion values, (iii) the creation of their axioms in the knowledge base, and (iv) their<br />

41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!