Class TestItemType2Model

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TestItemType3Model

public class TestItemType2Model extends TestItemModel
Generated model class for type TestItemType2 first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • TESTPROPERTY1

      public static final String TESTPROPERTY1
      Generated constant - Attribute key of TestItemType2.testProperty1 attribute defined at extension core.
      See Also:
    • TESTPROPERTY2

      public static final String TESTPROPERTY2
      Generated constant - Attribute key of TestItemType2.testProperty2 attribute defined at extension core.
      See Also:
    • FOO

      public static final String FOO
      Generated constant - Attribute key of TestItemType2.foo attribute defined at extension core.
      See Also:
    • BAR

      public static final String BAR
      Generated constant - Attribute key of TestItemType2.bar attribute defined at extension core.
      See Also:
    • FOOBAR

      public static final String FOOBAR
      Generated constant - Attribute key of TestItemType2.fooBar attribute defined at extension core.
      See Also:
    • INTBAR

      public static final String INTBAR
      Generated constant - Attribute key of TestItemType2.intBar attribute defined at extension core.
      See Also:
    • GENDER

      public static final String GENDER
      Generated constant - Attribute key of TestItemType2.gender attribute defined at extension core.
      See Also:
    • LOCALIZEDFOOBAR

      public static final String LOCALIZEDFOOBAR
      Generated constant - Attribute key of TestItemType2.localizedFooBar attribute defined at extension core.
      See Also:
  • Constructor Details

    • TestItemType2Model

      public TestItemType2Model()
      Generated constructor - Default constructor for generic creation.
    • TestItemType2Model

      public TestItemType2Model(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • TestItemType2Model

      @Deprecated(since="4.1.1", forRemoval=true) public TestItemType2Model(ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getBar

      @Accessor(qualifier="bar", type=GETTER) public String getBar()
      Generated method - Getter of the TestItemType2.bar attribute defined at extension core.
      Returns:
      the bar
    • getFoo

      @Accessor(qualifier="foo", type=GETTER) public String getFoo()
      Generated method - Getter of the TestItemType2.foo attribute defined at extension core.
      Returns:
      the foo
    • getFooBar

      @Accessor(qualifier="fooBar", type=GETTER) public String getFooBar()
      Generated method - Getter of the TestItemType2.fooBar dynamic attribute defined at extension core.
      Returns:
      the fooBar
    • getGender

      @Accessor(qualifier="gender", type=GETTER) public Gender getGender()
      Generated method - Getter of the TestItemType2.gender dynamic attribute defined at extension core.
      Returns:
      the gender
    • getIntBar

      @Accessor(qualifier="intBar", type=GETTER) public int getIntBar()
      Generated method - Getter of the TestItemType2.intBar dynamic attribute defined at extension core.
      Returns:
      the intBar
    • getLocalizedFooBar

      @Accessor(qualifier="localizedFooBar", type=GETTER) public String getLocalizedFooBar()
      Generated method - Getter of the TestItemType2.localizedFooBar dynamic attribute defined at extension core.
      Returns:
      the localizedFooBar
    • getLocalizedFooBar

      @Accessor(qualifier="localizedFooBar", type=GETTER) public String getLocalizedFooBar(Locale loc)
      Generated method - Getter of the TestItemType2.localizedFooBar dynamic attribute defined at extension core.
      Parameters:
      loc - the value localization key
      Returns:
      the localizedFooBar
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getTestProperty1

      @Accessor(qualifier="testProperty1", type=GETTER) public Integer getTestProperty1()
      Generated method - Getter of the TestItemType2.testProperty1 attribute defined at extension core.
      Returns:
      the testProperty1
    • getTestProperty2

      @Accessor(qualifier="testProperty2", type=GETTER) public String getTestProperty2()
      Generated method - Getter of the TestItemType2.testProperty2 attribute defined at extension core.
      Returns:
      the testProperty2
    • getTestProperty2

      @Accessor(qualifier="testProperty2", type=GETTER) public String getTestProperty2(Locale loc)
      Generated method - Getter of the TestItemType2.testProperty2 attribute defined at extension core.
      Parameters:
      loc - the value localization key
      Returns:
      the testProperty2
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setBar

      @Accessor(qualifier="bar", type=SETTER) public void setBar(String value)
      Generated method - Setter of TestItemType2.bar attribute defined at extension core.
      Parameters:
      value - the bar
    • setFoo

      @Accessor(qualifier="foo", type=SETTER) public void setFoo(String value)
      Generated method - Setter of TestItemType2.foo attribute defined at extension core.
      Parameters:
      value - the foo
    • setFooBar

      @Accessor(qualifier="fooBar", type=SETTER) public void setFooBar(String value)
      Generated method - Setter of TestItemType2.fooBar dynamic attribute defined at extension core.
      Parameters:
      value - the fooBar
    • setIntBar

      @Accessor(qualifier="intBar", type=SETTER) public void setIntBar(int value)
      Generated method - Setter of TestItemType2.intBar dynamic attribute defined at extension core.
      Parameters:
      value - the intBar
    • setLocalizedFooBar

      @Accessor(qualifier="localizedFooBar", type=SETTER) public void setLocalizedFooBar(String value)
      Generated method - Setter of TestItemType2.localizedFooBar dynamic attribute defined at extension core.
      Parameters:
      value - the localizedFooBar
    • setLocalizedFooBar

      @Accessor(qualifier="localizedFooBar", type=SETTER) public void setLocalizedFooBar(String value, Locale loc)
      Generated method - Setter of TestItemType2.localizedFooBar dynamic attribute defined at extension core.
      Parameters:
      value - the localizedFooBar
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setTestProperty1

      @Accessor(qualifier="testProperty1", type=SETTER) public void setTestProperty1(Integer value)
      Generated method - Setter of TestItemType2.testProperty1 attribute defined at extension core.
      Parameters:
      value - the testProperty1
    • setTestProperty2

      @Accessor(qualifier="testProperty2", type=SETTER) public void setTestProperty2(String value)
      Generated method - Setter of TestItemType2.testProperty2 attribute defined at extension core.
      Parameters:
      value - the testProperty2
    • setTestProperty2

      @Accessor(qualifier="testProperty2", type=SETTER) public void setTestProperty2(String value, Locale loc)
      Generated method - Setter of TestItemType2.testProperty2 attribute defined at extension core.
      Parameters:
      value - the testProperty2
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language