Let's start by creating a simple model that represents a product.
我们从创建一个表示产品的简单模型开始。
Adding JAXB customizations to a business domain object model, represented in XML schema, is rather simple once the hard work of creating the schema is accomplished.
在完成了创建schema的艰苦工作后,把JAXB自定义添加到业务范围对象模型中(用XML Schema表示)就很简单了。
This defines elements specific to the product type, and values for those elements can be provided when creating a product of that type. A simple view of this model is shown in Figure 3.
这将定义特定于产品类型的元素,并且在创建该类型的产品时提供这些元素的值。
Next, creating a simple class to represent the colors coming from the model.
下一步,创建一个类,用来表示model中的颜色。
Next, creating a simple class to represent the colors coming from the model.
下一步,创建一个类,用来表示model中的颜色。
应用推荐