In my app i have a Document class and a DocumentFact class. The DocumentFact class contains methods which will get multiple Documents from the database. These documents are stored in a datatable or dataset. Both (datatable, dataset) are private members of the documentfact class. They can be accessed via properties.
Now my question is: in a sequence diagram, is it allowed to call a property like this:
Actor Web interface DocumentFact Database
| | | |
|input | | |
|-------> | GetDocuments | |
| |---------------->| |
| | | ExecuteSelectQuery() |
| | | -------------------->|
| | | |
| | | Bool |
| | | <--------------------|
| | | |
| | | GetDataSet() |
| | | -------------------->|
| | | |
| | | DataSet |
| | |<---------------------|
| | | |
Where GetDataSet is a property. Is this correct? And if it is not, what is the correct way to do this?
Note: This is just a part of my sequence diagram, the rest is not relevant.