Defining collection in items.xml

Collection basically contains the elements of element type. element type means the type of elements we are adding into the collection. Example: Collection of String will contain the elements of String element type. Collection of Integer will contain the elements of Integer type. Collection of Address will contain the elements of Address type. Note: Element […]

Share this article on

Defining Enum and Map types in Hybris

Enum Type Enum types are used to define the set of constant values. Example: Set of Color like Red,Blue and Set of status like Created,InProgress,Submitted etc. Enum for Gender to specify Male or Female <enumtype code="Gender" autocreate="true" generate="true">             <value code="MALE"/>             <value code="FEMALE"/> </enumtype> […]

Share this article on
< Previous Next >