Class ProductCatalogVersionDifferenceModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProductCatalogVersionDifferenceModel
    extends CatalogVersionDifferenceModel
    Generated model class for type ProductCatalogVersionDifference first defined at extension catalog.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String SOURCEPRODUCT
        Generated constant - Attribute key of ProductCatalogVersionDifference.sourceProduct attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • TARGETPRODUCT

        public static final java.lang.String TARGETPRODUCT
        Generated constant - Attribute key of ProductCatalogVersionDifference.targetProduct attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • MODE

        public static final java.lang.String MODE
        Generated constant - Attribute key of ProductCatalogVersionDifference.mode attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • SOURCEPRODUCTAPPROVALSTATUS

        public static final java.lang.String SOURCEPRODUCTAPPROVALSTATUS
        Generated constant - Attribute key of ProductCatalogVersionDifference.sourceProductApprovalStatus attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • TARGETPRODUCTAPPROVALSTATUS

        public static final java.lang.String TARGETPRODUCTAPPROVALSTATUS
        Generated constant - Attribute key of ProductCatalogVersionDifference.targetProductApprovalStatus attribute defined at extension catalog.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProductCatalogVersionDifferenceModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductCatalogVersionDifferenceModel​(CompareCatalogVersionsCronJobModel _cronJob,
                                                    ProductDifferenceMode _mode,
                                                    CatalogVersionModel _sourceVersion,
                                                    CatalogVersionModel _targetVersion)
        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:
        _cronJob - initial attribute declared by type CatalogVersionDifference at extension catalog
        _mode - initial attribute declared by type ProductCatalogVersionDifference at extension catalog
        _sourceVersion - initial attribute declared by type CatalogVersionDifference at extension catalog
        _targetVersion - initial attribute declared by type CatalogVersionDifference at extension catalog
      • ProductCatalogVersionDifferenceModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductCatalogVersionDifferenceModel​(CompareCatalogVersionsCronJobModel _cronJob,
                                                    ProductDifferenceMode _mode,
                                                    ItemModel _owner,
                                                    ProductModel _sourceProduct,
                                                    CatalogVersionModel _sourceVersion,
                                                    ProductModel _targetProduct,
                                                    CatalogVersionModel _targetVersion)
        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:
        _cronJob - initial attribute declared by type CatalogVersionDifference at extension catalog
        _mode - initial attribute declared by type ProductCatalogVersionDifference at extension catalog
        _owner - initial attribute declared by type Item at extension core
        _sourceProduct - initial attribute declared by type ProductCatalogVersionDifference at extension catalog
        _sourceVersion - initial attribute declared by type CatalogVersionDifference at extension catalog
        _targetProduct - initial attribute declared by type ProductCatalogVersionDifference at extension catalog
        _targetVersion - initial attribute declared by type CatalogVersionDifference at extension catalog
    • Method Detail

      • getSourceProduct

        @Accessor(qualifier="sourceProduct",
                  type=GETTER)
        public ProductModel getSourceProduct()
        Generated method - Getter of the ProductCatalogVersionDifference.sourceProduct attribute defined at extension catalog.
        Returns:
        the sourceProduct
      • getSourceProductApprovalStatus

        @Accessor(qualifier="sourceProductApprovalStatus",
                  type=GETTER)
        public ArticleApprovalStatus getSourceProductApprovalStatus()
        Generated method - Getter of the ProductCatalogVersionDifference.sourceProductApprovalStatus attribute defined at extension catalog.
        Returns:
        the sourceProductApprovalStatus
      • getTargetProduct

        @Accessor(qualifier="targetProduct",
                  type=GETTER)
        public ProductModel getTargetProduct()
        Generated method - Getter of the ProductCatalogVersionDifference.targetProduct attribute defined at extension catalog.
        Returns:
        the targetProduct
      • getTargetProductApprovalStatus

        @Accessor(qualifier="targetProductApprovalStatus",
                  type=GETTER)
        public ArticleApprovalStatus getTargetProductApprovalStatus()
        Generated method - Getter of the ProductCatalogVersionDifference.targetProductApprovalStatus attribute defined at extension catalog.
        Returns:
        the targetProductApprovalStatus
      • setMode

        @Accessor(qualifier="mode",
                  type=SETTER)
        public void setMode​(ProductDifferenceMode value)
        Generated method - Initial setter of ProductCatalogVersionDifference.mode attribute defined at extension catalog. Can only be used at creation of model - before first save.
        Parameters:
        value - the mode
      • setSourceProduct

        @Accessor(qualifier="sourceProduct",
                  type=SETTER)
        public void setSourceProduct​(ProductModel value)
        Generated method - Initial setter of ProductCatalogVersionDifference.sourceProduct attribute defined at extension catalog. Can only be used at creation of model - before first save.
        Parameters:
        value - the sourceProduct
      • setTargetProduct

        @Accessor(qualifier="targetProduct",
                  type=SETTER)
        public void setTargetProduct​(ProductModel value)
        Generated method - Initial setter of ProductCatalogVersionDifference.targetProduct attribute defined at extension catalog. Can only be used at creation of model - before first save.
        Parameters:
        value - the targetProduct