Skip to content

Commit c937266

Browse files
committed
Reverted Item::isSolid redefinable
1 parent 1bb6d92 commit c937266

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

sysml.library/Systems Library/Items.sysml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ standard library package Items {
2020
private import SequenceFunctions::includes;
2121
private import SequenceFunctions::union;
2222
private import ControlFunctions::forAll;
23-
private import ScalarValues::Boolean;
2423

2524
abstract item def Item :> Object {
2625
doc
@@ -101,12 +100,11 @@ standard library package Items {
101100
*/
102101
}
103102

104-
attribute isSolid: Boolean {
103+
attribute isSolid = isEmpty(voids) {
105104
doc
106105
/*
107106
* An Item is solid if it has no voids.
108107
*/
109-
attribute :>> self: Boolean = isEmpty((that as Item).voids);
110108
}
111109

112110
abstract item subitems: Item[0..*] :> items, subobjects {

0 commit comments

Comments
 (0)