3.2 - Exemplo de xADL

A seguir vamos listar um exemplo de uma especificação de uma arquitetura utilizando o xADL:

id = "userinterface"; 
description = "UserInterface"; 
interface{ 
id = "userinterface.getValues"; 
description = "User Interface obter valores 
Interface"; 
direction = "out"; 
} 
interface{ 
ID = "userinterface.calculate"; 
description = "User Interface Calcular Interface"; 
direction = "out"; 
} 
} 
ligação{ 
id = "cálculo-to-datastore-GetValues"; 
description = "Cálculo para armazenar dados de obter valores" 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# calculation.getValues"; 
} 
} 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# datastore.getValues"; 
} 
} 
} 
ligação{ 
id = "cálculo-to-datastore-storevalues"; 
description = "Cálculo para armazenar dados loja 
Valores " 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# calculation.storeValues"; 
} 
} 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# datastore.storeValues"; 
} 
} 
} ligação{ 
id = "ui-to-cálculo-Calculate"; 
description = "UI para calcular Cálculo" 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# userinterface.calculate"; 
} 
} 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# calculation.calculate"; 
} 
} 
} 
ligação{ 
id = "ui-to-datastore-GetValues"; 
description = "toto UI Data Store Obter Valores" 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# userinterface.getValues"; 
} 
} 
ponto{ 
anchorOnInterface { 
type = "simples"; 
href = "# datastore.getValues"; 
} 
} 
} 
} 
} 

Copyright © 2016 AIEC.