通过会员类,你可以创建用户并管理他们,每一个用户都由一个会员类的实例所代表。
From the Membership class, you can create and manage users, each of whom is represented by an instance of the MembershipUser class.
在此例中,你将会在你的图表中为此前建模的每个工具类创建一个用例,以后它们就代表我们系统的主要功能。
In this example, you will create a use case in your diagram for each of the previously modeled utility classes, since they represent the main functionality of our system.
你可以把这个类想象成代表了一个实际的文档,比如一个html页面,一个PD f文档,或者一个文本文件。
You can think of this class as a virtual document, such as an HTML page, a PDF file, or a text file.
这个原则代表你应该可以扩展一个类的行为而避免去修改这个类。
The principle states that you should be able to extend a classes behavior, without modifying it.
这儿有一个很好的检验方法:你能否用一个简短的、明了的名词短语描述这个类的实例所代表的东西?
There's a great litmus test: can you, in one short, clear noun phrase, describe what an instance of the class represents?
这儿有一个很好的检验方法:你能否用一个简短的、明了的名词短语描述这个类的实例所代表的东西?
There's a great litmus test: can you, in one short, clear noun phrase, describe what an instance of the class represents?
应用推荐