Class TestIntegrationItemModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ComplexTestIntegrationItemModel

public class TestIntegrationItemModel extends TestItemType2Model
Generated model class for type TestIntegrationItem first defined at extension odata2webservicesfeaturetests.

An item type for testing different scenarios around integration objects. This type has attributes of numerous types available in the type system and enables conditions, which otherwise would be possible only by picking hard-to-find modeling scenarios available in multiple types across possibly multiple *-items.xml.

See Also:
  • Field Details

    • _TYPECODE

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

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

      public static final String OTHERITEM
      Generated constant - Attribute key of TestIntegrationItem.otherItem attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • ITEM3

      public static final String ITEM3
      Generated constant - Attribute key of TestIntegrationItem.item3 attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • DETAIL

      public static final String DETAIL
      Generated constant - Attribute key of TestIntegrationItem.detail attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • BIGDECIMAL

      public static final String BIGDECIMAL
      Generated constant - Attribute key of TestIntegrationItem.bigDecimal attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • DATECOLLECTION

      public static final String DATECOLLECTION
      Generated constant - Attribute key of TestIntegrationItem.dateCollection attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • BIGINTEGER

      public static final String BIGINTEGER
      Generated constant - Attribute key of TestIntegrationItem.bigInteger attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • ENUMLIST

      public static final String ENUMLIST
      Generated constant - Attribute key of TestIntegrationItem.enumList attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • DETAILS

      public static final String DETAILS
      Generated constant - Attribute key of TestIntegrationItem.details attribute defined at extension odata2webservicesfeaturetests.
      See Also:
    • TESTENUMS

      public static final String TESTENUMS
      Generated constant - Attribute key of TestIntegrationItem.testEnums attribute defined at extension odata2webservicesfeaturetests.
      See Also:
  • Constructor Details

    • TestIntegrationItemModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public TestIntegrationItemModel(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 TestIntegrationItem at extension odata2webservicesfeaturetests
    • TestIntegrationItemModel

      @Deprecated(since="4.1.1", forRemoval=true) public TestIntegrationItemModel(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 TestIntegrationItem at extension odata2webservicesfeaturetests
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getBigDecimal

      @Accessor(qualifier="bigDecimal", type=GETTER) public BigDecimal getBigDecimal()
      Generated method - Getter of the TestIntegrationItem.bigDecimal attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the bigDecimal
    • getBigInteger

      @Accessor(qualifier="bigInteger", type=GETTER) public BigInteger getBigInteger()
      Generated method - Getter of the TestIntegrationItem.bigInteger attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the bigInteger
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the TestIntegrationItem.code attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the code - Unique identifier of the item because TestItemType2 does not have a unique identifier.
    • getDateCollection

      @Accessor(qualifier="dateCollection", type=GETTER) public Collection<Date> getDateCollection()
      Generated method - Getter of the TestIntegrationItem.dateCollection attribute defined at extension odata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the dateCollection - Defines an optional date collection.
    • getDetail

      Generated method - Getter of the TestIntegrationItem.detail attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the detail - Defines optional one-to-one association between this item and a TestIntegrationItemDetail.
    • getDetails

      Generated method - Getter of the TestIntegrationItem.details attribute defined at extension odata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the details
    • getEnumList

      @Accessor(qualifier="enumList", type=GETTER) public List<HttpMethod> getEnumList()
      Generated method - Getter of the TestIntegrationItem.enumList attribute defined at extension odata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the enumList
    • getItem3

      Generated method - Getter of the TestIntegrationItem.item3 attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the item3
    • getOtherItem

      @Accessor(qualifier="otherItem", type=GETTER) public TestIntegrationItemModel getOtherItem()
      Generated method - Getter of the TestIntegrationItem.otherItem attribute defined at extension odata2webservicesfeaturetests.
      Returns:
      the otherItem - Reference to another TestIntegrationItem, which can be used for testing conditions when the integration object references itself (same instance) or another item (different instance).
    • getTestEnums

      Generated method - Getter of the TestIntegrationItem.testEnums attribute defined at extension odata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the testEnums
    • setBigDecimal

      @Accessor(qualifier="bigDecimal", type=SETTER) public void setBigDecimal(BigDecimal value)
      Generated method - Setter of TestIntegrationItem.bigDecimal attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the bigDecimal
    • setBigInteger

      @Accessor(qualifier="bigInteger", type=SETTER) public void setBigInteger(BigInteger value)
      Generated method - Setter of TestIntegrationItem.bigInteger attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the bigInteger
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of TestIntegrationItem.code attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the code - Unique identifier of the item because TestItemType2 does not have a unique identifier.
    • setDateCollection

      @Accessor(qualifier="dateCollection", type=SETTER) public void setDateCollection(Collection<Date> value)
      Generated method - Setter of TestIntegrationItem.dateCollection attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the dateCollection - Defines an optional date collection.
    • setDetail

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

      @Accessor(qualifier="details", type=SETTER) public void setDetails(List<TestIntegrationItemDetailModel> value)
      Generated method - Setter of TestIntegrationItem.details attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the details
    • setEnumList

      @Accessor(qualifier="enumList", type=SETTER) public void setEnumList(List<HttpMethod> value)
      Generated method - Setter of TestIntegrationItem.enumList attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the enumList
    • setItem3

      @Accessor(qualifier="item3", type=SETTER) public void setItem3(TestIntegrationItem3Model value)
      Generated method - Setter of TestIntegrationItem.item3 attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the item3
    • setOtherItem

      @Accessor(qualifier="otherItem", type=SETTER) public void setOtherItem(TestIntegrationItemModel value)
      Generated method - Setter of TestIntegrationItem.otherItem attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the otherItem - Reference to another TestIntegrationItem, which can be used for testing conditions when the integration object references itself (same instance) or another item (different instance).
    • setTestEnums

      @Accessor(qualifier="testEnums", type=SETTER) public void setTestEnums(Set<OData2webservicesFeatureTestPropertiesTypes> value)
      Generated method - Setter of TestIntegrationItem.testEnums attribute defined at extension odata2webservicesfeaturetests.
      Parameters:
      value - the testEnums