Содержание
- 2. 3 Introduction to the Type System 2. Relations hybris Developer Training Part I - Core Platform
- 3. 4 Java: hybris: Java vs hybris Class Object is a blueprint of is an instance of
- 4. 5 Best of Both Worlds Introduction to the Type System java.lang.Boolean java.lang.Integer java.lang.String java.util.Date java.util.Map java.lang.Enum
- 5. 6 Type System subtype of CarModel.java by runtime, is represented as an instance of ProductModel.java Java
- 6. 7 An attribute in the hybris Multichannel Suite Can be a reference to a basic Java
- 7. 8 product mechanic Nikola Tesla name Ferrari F40 code vehicle01 Atomic type property – value stored
- 8. 9 Create new types: Define a type by extending already existing types, such as: Define “completely
- 9. 10 2.10 (Data Mapping) Car Product ... hybris Type System • Extending Introduction to the Type
- 10. 11 hp kw 300 212 code name catalogVersion vehicle01 Ferrari F40 Online Horse Power Kilowatt attributeHandler="kwPowerAttributeHandler"
- 11. 12 { gasoline | diesel | ethanol } Horse Power Kilowatt attributeHandler="kwPowerAttributeHandler" /> Fuel for this
- 12. 13 { gasoline | diesel | ethanol } mechanic Nikola Tesla fuel gasoline ... mechanic Employee
- 13. 14 Car + hp: int + kw: int + fuel: enumeration { gasoline | diesel |
- 14. 15 code name catalogVersion hp kw vehicle01 Ferrari F40 Online 300 212 mechanic drivers Nikola Tesla
- 15. 16 By default, all items for subtypes are stored in the same database tables as their
- 16. 17 DB tables service layer models DTOs ant build process Resources update initialize items ext-items.xml 1.
- 17. 19 What is the equivalent of a Java object in hybris? What is the difference between
- 18. 20 1. Introduction to the Type System Relations
- 19. 21 Basically, there are two technically different ways of modeling collections in hybris: CollectionTypes RelationTypes Think
- 20. 22 products (List ) Product categories (List ) Category Cat2ProdRelation points to points to products is
- 21. 23 Enhanced flexibility: Create links between all kinds of types Create type-safe n-to-m relations: Only link
- 22. 24 If in doubt: Use relations, do not use CollectionTypes because: Opposite side is not “aware”
- 23. 25 Name the two ways to model a collection in hybris How are collection types stored
- 25. Скачать презентацию