Class TestIntegrationItemDetailModel

All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

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

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

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

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

      public static final String MASTER
      Generated constant - Attribute key of TestIntegrationItemDetail.master attribute defined at extension odata2webservicesfeaturetests.
      See Also:
  • Constructor Details

    • 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(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(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 Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the TestIntegrationItemDetail.code attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the code - Unique identifier of this detail item.
    • 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.
    • getMaster

      @Accessor(qualifier="master", type=GETTER) public TestIntegrationItemModel getMaster()
      Generated method - Getter of the TestIntegrationItemDetail.master attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the master
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(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