Changes

Jump to navigation Jump to search
Line 135: Line 135:  
* isRemoved to show if another ingredient has been removed;
 
* isRemoved to show if another ingredient has been removed;
   −
==== Domain / Range ====
+
==== Domain / Range ====
 
As these object properties are defined outside the classes, it is not upfront clear to what classes they apply The use of domains and ranges helps with this. The domains specify the subject and the range the object, for instance: Butter isDerivedFrom Butterfat. As we will have multiple isDerivedFrom object properties, it is better to name these in full, like:
 
As these object properties are defined outside the classes, it is not upfront clear to what classes they apply The use of domains and ranges helps with this. The domains specify the subject and the range the object, for instance: Butter isDerivedFrom Butterfat. As we will have multiple isDerivedFrom object properties, it is better to name these in full, like:
 
  Class: Butter
 
  Class: Butter
3,393

edits

Navigation menu