In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "Hybris DDIC type and its corresponding model class is what", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "Hybris DDIC type and its corresponding model class is what" it!
In ABAP, we create data type or transparent table in SE11, and then consume these DDIC object directly in ABAP code.
While Hybris is based on Java, we all know that in Java, except primitive type such as int and boolean, everything is an object. The data type is a Java Class, and the specific item (transaction data) of these data types are instances of Java Class:
Every object stored in SAP Hybris Commerce is an instance of a type.
Example:
I defined a data type catalog in the extension of catalog with a field id:
Then after using ant clean all build, the corresponding Model class is automatically generated under this folder, following the naming convention Model.java:
Generated Model class-this pattern can be seen everywhere in ABAP, for example, we do Odata model in SEGW, and then directly activate to generate DPC MPC.
Because I specified read=true and write=true in xml, the corresponding getter and setter methods are generated:
The usage is simple: get model instance in Java code and directly call setter / getter:
Thank you for reading, the above is the content of "what is the Hybris DDIC type and its corresponding model class". After the study of this article, I believe you have a deeper understanding of what the Hybris DDIC type and its corresponding model class is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.