产品模型
类型名称:ProductModel
扩展 Product
名称 |
类型 |
说明 |
isVariantOf |
产品模型 |
指向基础产品(此产品是其变体)的指针。可以放心地推断变体(除非在本地定义),否则变体会继承基本模型的所有产品功能。此字段不可传递。 |
前身 |
产品模型 |
一个从先前经常停止使用的款式/规格指向较新款式的指针。 |
成功者 |
产品模型 |
从较新的产品变体指向其先前的旧版本(通常不再提供)的指针。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-04。
[null,null,["最后更新时间 (UTC):2024-09-04。"],[[["The `ProductModel` type extends the basic `Product` type and includes specific properties for defining product variants and their relationships."],["`isVariantOf` denotes a product's base model, implying inheritance of features unless explicitly overridden."],["`predecessorOf` and `successorOf` indicate the relationship between older and newer variants, typically used for discontinued and replacement products."]]],["The `ProductModel` type extends `Product` and includes relationships between product variants. `isVariantOf` links a variant to its base product, inheriting features. `predecessorOf` points from an older variant to its newer successor. Conversely, `successorOf` points from a newer variant to its older predecessor. These relationships are non-transitive, indicating direct connections between specific product models. Each property is represented by a `ProductModel` type.\n"]]