-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from farshidtz/info-model-refine
Refine the information model
- Loading branch information
Showing
5 changed files
with
194 additions
and
137 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@startuml directory-class-diagram | ||
/' global configurations '/ | ||
hide methods | ||
|
||
class Directory <<service>> | ||
hide Directory members | ||
|
||
class TD as "td:Thing" | ||
hide TD members | ||
note left: Thing Description (TD) | ||
|
||
class RI as "tdd:RegistrationInfo" { | ||
tdd:created {readOnly} | ||
' tdd:expires | ||
tdd:id {readOnly} | ||
tdd:modified {readOnly} | ||
' tdd:ttl | ||
} | ||
|
||
Directory "1" o-- "0..*" TD: contains | ||
TD "1" *-- "0..1" RI | ||
|
||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,31 @@ | ||
@startuml exploration-class-diagram | ||
/' global configurations '/ | ||
hide methods | ||
hide members | ||
|
||
class Thing <<service>> | ||
together { | ||
class SelfDesc as "Self-describing Thing" <<service>> | ||
class Directory <<service>> | ||
} | ||
|
||
class TD as "td:Thing" | ||
class DD as "discovery:DirectoryDescription" | ||
class LD as "discovery:LinkDescription" | ||
class RI as "tdd:RegistrationInfo" | ||
note right: Thing Description (TD) | ||
together { | ||
class DD as "discovery:DirectoryDescription" | ||
' note bottom: TD that describes\na Directory | ||
|
||
class LD as "discovery:LinkDescription" | ||
' note bottom: TD that describes\na reference to another TD | ||
} | ||
|
||
/' relations '/ | ||
Thing "1" --> "0..1 " TD: exposes | ||
Directory "1 " --> "0..*" TD: contains | ||
TD *-right- RI | ||
Thing <|-- SelfDesc | ||
Thing <|-- Directory | ||
SelfDesc "1" o-- "0..1 " TD: provides | ||
TD <|-- DD | ||
TD <|-- LD | ||
Directory "1" o-- "0..*" TD: contains | ||
|
||
/' classes and notes '/ | ||
class Thing << service >> | ||
class Directory << service >> | ||
class TD { | ||
tdd:registration | ||
... | ||
} | ||
note left: Thing Description (TD) | ||
class RI { | ||
tdd:created {readOnly} | ||
' tdd:expires | ||
tdd:id {readOnly} | ||
tdd:modified {readOnly} | ||
' tdd:ttl | ||
} | ||
together { | ||
class DD { | ||
... | ||
} | ||
note bottom: TD that describes\na Directory | ||
|
||
class LD { | ||
... | ||
} | ||
note bottom: TD that describes\na reference to another TD | ||
} | ||
|
||
/' configurations '/ | ||
hide Directory members | ||
hide Thing members | ||
' hide members | ||
hide methods | ||
@enduml |
Oops, something went wrong.