In my application, I have a Document class and a DocumentFact class. The DocumentFact class contains methods that will receive multiple documents from the database. These documents are stored as data or a data set. Both (datatable, dataset) are private members of the documentfact class. Access to them is possible through properties.
Now my question is: in a sequence diagram it is allowed to call a property like this:
Actor Web interface DocumentFact Database
| | | |
|input | | |
|-------> | GetDocuments | |
| |---------------->| |
| | | ExecuteSelectQuery() |
| | | -------------------->|
| | | |
| | | Bool |
| | | <--------------------|
| | | |
| | | GetDataSet() |
| | | -------------------->|
| | | |
| | | DataSet |
| | |<---------------------|
| | | |
Where GetDataSet is a property. It's right? And if it is not, then what is the right way to do this?
Note: This is only part of my sequence diagram, the rest does not matter.