Skip to Content
author's profile photo Former Member
Former Member

Difference between Type and Item in Data Model?

Explanation

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 08:22 PM

    Hi Rama,

    A type is a template for objects. Every object stored in the platform is a type instance.Types may define attributes, which is the equivalent of Java classes having fields.

    An object instance of a type is called an item. To differentiate between normal object instances and type definitions, non-type objects in the platform are referred to as items. The lower case spelling item refers to an object in the platform; the upper case spelling Item refers to the type definition i.e. Item type, which is the supertype of all types in the hybris Commerce Suite.

    Please have a look into this link:
    https://wiki.hybris.com/display/release5/Type+System+Documentation

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2016 at 03:41 PM

    Hi Rama,

    Sourav is correct, when you go through the link he shares with you , you will see the following image which is more clear: alt text

    Thanks

    Yan


    Add a comment
    10|10000 characters needed characters exceeded