本文介绍了View和Controller可以调用getter和setter方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一堆序列图,并想知道如果视图和控制器对象生命线调用getters方法是否可以,尽管它们包含在模型中。



你能告诉我一些例子吗?

I am writing a bunch of sequence diagrams and was wondering if it's okay if the Views and Controller Object lifelines call the getters methods, although they are contained in the Model.

Can you show me some examples?

推荐答案


这篇关于View和Controller可以调用getter和setter方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 08:30
查看更多