For example, a shopping cart unit test might test that you can add an item to a cart through the model API.
例如,购物车单元测试可以测试出您可能通过模型API将一件商品添加到购物车中。
购物车对象模型。
Figure 1. Shopping cart object model.
图1.购物车对象模型。
The next example uses a model-less Dialog component (also new in Rational Application Developer V7) to show the description of items in the shopping cart.
下一个例子使用无模型 Dialog组件(RationalApplication DeveloperV7 中的新组件)显示购物车中的条目描述。
The model might represent an address, the contents of a shopping cart, or the description of a product.
该模型可以代表一个地址,一个购物车的内容,或者一个商品的说明。
It's possible that some users might add several items to a shopping cart in a single session but that does not skew the model.
有些用户可能会在单个会话中向购物车添加若干个项,但这不会扭曲模型。
It's possible that some users might add several items to a shopping cart in a single session but that does not skew the model.
有些用户可能会在单个会话中向购物车添加若干个项,但这不会扭曲模型。
应用推荐