-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move drafting:fileLocalPath to PathRelationshipFacet, updating class …
…hierarchy A prior patch in this series tried updating a non-existent property `uco-observable:fileLocalPath` to a `FileFacet` attached to the subject file within the SD card. This highlighted that the property is not defined in the ontology, and this patch was written to describe why it should not be. "Local" is a confusing term, due to absence of context - to what directory is this path local? Is that directory through the user interface on the phone, which would confuse in details from a running operating system? Or is the directory local to the extraction computer, which would confuse in details from the investigation? This patch removes the ambiguity inherent in `drafting:fileLocalPath` and moves the path to a `PathRelationFacet`, which attaches to an `ObservableRelationship` that can define the basis of "local". This patch adds a guess that the path's new spelling suggested an extraction directory special to the investigation. Chain of custody details are left for a future patch to implement. A side-effect of this patch is that some of the API usage was found to not make use of the subclass hierarchy. `super()` and anonymous argument & parameter forwarding is now used to delegate handling generic properties to their originating superclasses. E.g., note how a `uco-observable:File` picked up a `core:description` property by the property's addition as a keyword parameter on `base.ObjectEntity`. A follow-on patch will regenerate Make-managed files. Signed-off-by: Alex Nelson <[email protected]>
- Loading branch information
1 parent
7c99c9d
commit 40a08c5
Showing
4 changed files
with
157 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters