Hybris Learning Note: Trail ~ Testing the Facades

Source: Internet
Author: User
Tags definition class definition

First, generate the data Transfer objects class definition by writing it

Write the Cuppytrail/resources/cuppytrail-beans.xml file to add the bean definition, including the fields, such as Stadiumdata

< bean class = "De.hybris.platform.cuppytrail.data.StadiumData" > < description >data object Represen Ting a stadium</description > < property name = ' name ' type = ' String '/> < property nam E = "capacity" type = "String"/> < property name = "matches" type= "java.util.list&lt;de.hybris.platfor M.cuppytrail.data.matchsummarydata> "/> </Bean > Note that the second-to-last line of &lt; means the left angle bracket <

The Stadiumdata.java code location that is automatically generated after you execute the ant clean all

Hybris\bin\platform\bootstrap\gensrc\de\hybris\platform\cuppytrail\data



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.