Class TestItemType2Model

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • TESTPROPERTY1

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

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

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

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

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

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

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

        public static final java.lang.String LOCALIZEDFOOBAR
        Generated constant - Attribute key of TestItemType2.localizedFooBar attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TestItemType2Model

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

        public TestItemType2Model​(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 Detail

      • getBar

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

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

        @Accessor(qualifier="fooBar",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.String getLocalizedFooBar​(java.util.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:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getTestProperty1

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

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

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

        @Accessor(qualifier="bar",
                  type=SETTER)
        public void setBar​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.String value,
                                       java.util.Locale loc)
        Generated method - Setter of TestItemType2.localizedFooBar dynamic attribute defined at extension core.
        Parameters:
        value - the localizedFooBar
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setTestProperty1

        @Accessor(qualifier="testProperty1",
                  type=SETTER)
        public void setTestProperty1​(java.lang.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​(java.lang.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​(java.lang.String value,
                                     java.util.Locale loc)
        Generated method - Setter of TestItemType2.testProperty2 attribute defined at extension core.
        Parameters:
        value - the testProperty2
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language