Class IntegrationObjectItemModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class IntegrationObjectItemModel
    extends ItemModel
    Generated model class for type IntegrationObjectItem first defined at extension integrationservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _INTEGOBJ2INTEGOBJITEM
        Generated relation code constant for relation IntegObj2IntegObjItem defining source attribute integrationObject in extension integrationservices.
        See Also:
        Constant Field Values
      • CODE

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

        public static final java.lang.String INTEGRATIONOBJECT
        Generated constant - Attribute key of IntegrationObjectItem.integrationObject attribute defined at extension integrationservices.
        See Also:
        Constant Field Values
      • TYPE

        public static final java.lang.String TYPE
        Generated constant - Attribute key of IntegrationObjectItem.type attribute defined at extension integrationservices.
        See Also:
        Constant Field Values
      • ROOT

        public static final java.lang.String ROOT
        Generated constant - Attribute key of IntegrationObjectItem.root attribute defined at extension integrationservices.
        See Also:
        Constant Field Values
      • UNIQUEATTRIBUTES

        public static final java.lang.String UNIQUEATTRIBUTES
        Generated constant - Attribute key of IntegrationObjectItem.uniqueAttributes attribute defined at extension integrationservices.
        See Also:
        Constant Field Values
      • KEYATTRIBUTES

        public static final java.lang.String KEYATTRIBUTES
        Generated constant - Attribute key of IntegrationObjectItem.keyAttributes attribute defined at extension integrationservices.
        See Also:
        Constant Field Values
      • ATTRIBUTES

        public static final java.lang.String ATTRIBUTES
        Generated constant - Attribute key of IntegrationObjectItem.attributes attribute defined at extension integrationservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IntegrationObjectItemModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public IntegrationObjectItemModel​(java.lang.String _code,
                                          IntegrationObjectModel _integrationObject,
                                          ComposedTypeModel _type)
        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 IntegrationObjectItem at extension integrationservices
        _integrationObject - initial attribute declared by type IntegrationObjectItem at extension integrationservices
        _type - initial attribute declared by type IntegrationObjectItem at extension integrationservices
      • IntegrationObjectItemModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public IntegrationObjectItemModel​(java.lang.String _code,
                                          IntegrationObjectModel _integrationObject,
                                          ItemModel _owner,
                                          ComposedTypeModel _type)
        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 IntegrationObjectItem at extension integrationservices
        _integrationObject - initial attribute declared by type IntegrationObjectItem at extension integrationservices
        _owner - initial attribute declared by type Item at extension core
        _type - initial attribute declared by type IntegrationObjectItem at extension integrationservices
    • Method Detail

      • getAttributes

        @Accessor(qualifier="attributes",
                  type=GETTER)
        public java.util.Set<IntegrationObjectItemAttributeModel> getAttributes()
        Generated method - Getter of the IntegrationObjectItem.attributes attribute defined at extension integrationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the attributes
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the IntegrationObjectItem.code attribute defined at extension integrationservices.
        Returns:
        the code
      • getIntegrationObject

        @Accessor(qualifier="integrationObject",
                  type=GETTER)
        public IntegrationObjectModel getIntegrationObject()
        Generated method - Getter of the IntegrationObjectItem.integrationObject attribute defined at extension integrationservices.
        Returns:
        the integrationObject
      • getKeyAttributes

        @Accessor(qualifier="keyAttributes",
                  type=GETTER)
        public java.util.Collection<IntegrationObjectItemAttributeModel> getKeyAttributes()
        Generated method - Getter of the IntegrationObjectItem.keyAttributes dynamic attribute defined at extension integrationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the keyAttributes - a collection of all attributes with unique modifier set to true in this item type only. The collection does not contain attributes of the referenced types even if they are included in this item's key. For example, for a Product this collection will contain the 'code' attribute and the 'catalogVersion' attribute, which refers to CatalogVersion only.
      • getRoot

        @Accessor(qualifier="root",
                  type=GETTER)
        public java.lang.Boolean getRoot()
        Generated method - Getter of the IntegrationObjectItem.root attribute defined at extension integrationservices.
        Returns:
        the root
      • getUniqueAttributes

        @Accessor(qualifier="uniqueAttributes",
                  type=GETTER)
        public java.util.Collection<IntegrationObjectItemAttributeModel> getUniqueAttributes()
        Generated method - Getter of the IntegrationObjectItem.uniqueAttributes dynamic attribute defined at extension integrationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the uniqueAttributes - a collection of all attributes with unique modifier set to true, which define a composite key for this item. The collection contains only attributes of primitive types: if a relation attribute is set to 'unique', then key attributes of the referred type will be returned instead of the reference key attribute, e.g. unique key for a Product is the 'code' attribute and the 'catalogVersion' attribute, which refers to CatalogVersion; CatalogVersion in its turn has a unique attribute version and a unique reference attribute to Catalog. So, the result of calling the method will contain Product.code, CatalogVersion.version, and Catalog.id attribute models.
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of IntegrationObjectItem.code attribute defined at extension integrationservices.
        Parameters:
        value - the code
      • setIntegrationObject

        @Accessor(qualifier="integrationObject",
                  type=SETTER)
        public void setIntegrationObject​(IntegrationObjectModel value)
        Generated method - Setter of IntegrationObjectItem.integrationObject attribute defined at extension integrationservices.
        Parameters:
        value - the integrationObject
      • setRoot

        @Accessor(qualifier="root",
                  type=SETTER)
        public void setRoot​(java.lang.Boolean value)
        Generated method - Setter of IntegrationObjectItem.root attribute defined at extension integrationservices.
        Parameters:
        value - the root
      • setType

        @Accessor(qualifier="type",
                  type=SETTER)
        public void setType​(ComposedTypeModel value)
        Generated method - Setter of IntegrationObjectItem.type attribute defined at extension integrationservices.
        Parameters:
        value - the type