added first constraint
This commit is contained in:
parent
d31edd28c3
commit
d8c7210c6e
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ attributes
|
||||||
type: TypeBateau
|
type: TypeBateau
|
||||||
longueur: Integer
|
longueur: Integer
|
||||||
Etat: EtatBateau
|
Etat: EtatBateau
|
||||||
|
constraints
|
||||||
|
inv longueur: type = TypeBateau::Torpilleur implies longueur = 2
|
||||||
end
|
end
|
||||||
|
|
||||||
association Utilise between
|
association Utilise between
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue