Class TestIntegrationItemDetailModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class TestIntegrationItemDetailModel
    extends TestItemType2Model
    Generated model class for type TestIntegrationItemDetail first defined at extension odata2webservicesfeaturetests.

    An item type to simulate various kinds of relationships, i.e. one-to-many (master/detail), one-to-one, etc., between the TestIntegrationItem and TestIntegrationItemDetail.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _TESTINTITEM2TESTINTITEMDETAIL
        Generated relation code constant for relation TestIntItem2testIntItemDetail defining source attribute master in extension odata2webservicesfeaturetests.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of TestIntegrationItemDetail.code attribute defined at extension odata2webservicesfeaturetests.
        See Also:
        Constant Field Values
      • ITEM

        public static final java.lang.String ITEM
        Generated constant - Attribute key of TestIntegrationItemDetail.item attribute defined at extension odata2webservicesfeaturetests.
        See Also:
        Constant Field Values
      • MASTER

        public static final java.lang.String MASTER
        Generated constant - Attribute key of TestIntegrationItemDetail.master attribute defined at extension odata2webservicesfeaturetests.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TestIntegrationItemDetailModel

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

        public TestIntegrationItemDetailModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • TestIntegrationItemDetailModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TestIntegrationItemDetailModel​(java.lang.String _code)
        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 - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type TestIntegrationItemDetail at extension odata2webservicesfeaturetests
      • TestIntegrationItemDetailModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TestIntegrationItemDetailModel​(java.lang.String _code,
                                              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:
        _code - initial attribute declared by type TestIntegrationItemDetail at extension odata2webservicesfeaturetests
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the TestIntegrationItemDetail.code attribute defined at extension odata2webservicesfeaturetests.
        Returns:
        the code - Unique identifier of this detail item.
      • getItem

        @Accessor(qualifier="item",
                  type=GETTER)
        public TestIntegrationItemModel getItem()
        Generated method - Getter of the TestIntegrationItemDetail.item attribute defined at extension odata2webservicesfeaturetests.
        Returns:
        the item - Defines optional one-to-one association between this detail and a TestIntegrationItem.
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of TestIntegrationItemDetail.code attribute defined at extension odata2webservicesfeaturetests.
        Parameters:
        value - the code - Unique identifier of this detail item.
      • setItem

        @Accessor(qualifier="item",
                  type=SETTER)
        public void setItem​(TestIntegrationItemModel value)
        Generated method - Setter of TestIntegrationItemDetail.item attribute defined at extension odata2webservicesfeaturetests.
        Parameters:
        value - the item - Defines optional one-to-one association between this detail and a TestIntegrationItem.
      • setMaster

        @Accessor(qualifier="master",
                  type=SETTER)
        public void setMaster​(TestIntegrationItemModel value)
        Generated method - Setter of TestIntegrationItemDetail.master attribute defined at extension odata2webservicesfeaturetests.
        Parameters:
        value - the master