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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

destruction, by invoking respectively the create, set, execute, and destroy methods defined in the<br />

UML classes defining the parts.<br />

Also in this case, we graphically depict the remove components only with the UML<br />

compositions modeling deletion con<strong>di</strong>tions.<br />

3.1.15 Remove Class component<br />

The Remove Class Component deletes axioms in the knowledge base regar<strong>di</strong>ng UML classes.<br />

The deletion con<strong>di</strong>tions: ClassOfName (specifying the mandatory name of the class of the class<br />

that should be deleted in the knowledge base), ClassDisjointOfClass (for deleting the class of the<br />

component as being <strong>di</strong>sjoint to the given values), ClassSubOfClass (for deleting the class of the<br />

component as specific of the given values), and ClassSuperOfClass (for deleting the class of the<br />

component as generic of the given values).<br />

Remove Class Component<br />

+ execute(s: String[]) : Boolean<br />

1<br />

1<br />

ClassOfName<br />

- Name : String<br />

create(): void<br />

destroy(): void<br />

set(s:String): void<br />

execute(): Boolean<br />

1<br />

1<br />

1<br />

0..1<br />

ClassSubOfClass<br />

- SuperClass [1..*] : String<br />

- Class : String<br />

create(): void<br />

destroy(): void<br />

set(s:String, c:String[]): void<br />

execute(): Boolean<br />

0..1<br />

0..1<br />

ClassDisjointOfClass<br />

- DisjointClass [1..*] : String<br />

- Class : String<br />

create(): void<br />

destroy(): void<br />

set(s:String, c:String[]): void<br />

execute(): Boolean<br />

ClassSuperOfClass<br />

- SubClass [1..*] : String<br />

- Class : String<br />

create(): void<br />

destroy(): void<br />

set(s:String, c:String[]): void<br />

execute(): Boolean<br />

Figure 3.16: Remove Class Component<br />

3.1.16 Remove Datatype component<br />

The Remove Datatype Component deletes axioms in the knowledge base regar<strong>di</strong>ng UML<br />

datatypes.<br />

42

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

Saved successfully!

Ooh no, something went wrong!