Package de.hybris.platform.catalog.model
Class ProductCatalogVersionDifferenceModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.catalog.model.CatalogVersionDifferenceModel
-
- de.hybris.platform.catalog.model.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringMODEGenerated constant - Attribute key ofProductCatalogVersionDifference.modeattribute defined at extensioncatalog.static java.lang.StringSOURCEPRODUCTGenerated constant - Attribute key ofProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.static java.lang.StringSOURCEPRODUCTAPPROVALSTATUSGenerated constant - Attribute key ofProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.static java.lang.StringTARGETPRODUCTGenerated constant - Attribute key ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.static java.lang.StringTARGETPRODUCTAPPROVALSTATUSGenerated constant - Attribute key ofProductCatalogVersionDifference.targetProductApprovalStatusattribute defined at extensioncatalog.-
Fields inherited from class de.hybris.platform.catalog.model.CatalogVersionDifferenceModel
CRONJOB, DIFFERENCETEXT, DIFFERENCEVALUE, SOURCEVERSION, TARGETVERSION
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ProductCatalogVersionDifferenceModel()Generated constructor - Default constructor for generic creation.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 parametersProductCatalogVersionDifferenceModel(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 parametersProductCatalogVersionDifferenceModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductDifferenceModegetMode()Generated method - Getter of theProductCatalogVersionDifference.modeattribute defined at extensioncatalog.ProductModelgetSourceProduct()Generated method - Getter of theProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.ArticleApprovalStatusgetSourceProductApprovalStatus()Generated method - Getter of theProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.ProductModelgetTargetProduct()Generated method - Getter of theProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.ArticleApprovalStatusgetTargetProductApprovalStatus()Generated method - Getter of theProductCatalogVersionDifference.targetProductApprovalStatusattribute defined at extensioncatalog.voidsetMode(ProductDifferenceMode value)Generated method - Initial setter ofProductCatalogVersionDifference.modeattribute defined at extensioncatalog.voidsetSourceProduct(ProductModel value)Generated method - Initial setter ofProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.voidsetTargetProduct(ProductModel value)Generated method - Initial setter ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.-
Methods inherited from class de.hybris.platform.catalog.model.CatalogVersionDifferenceModel
getCronJob, getDifferenceText, getDifferenceValue, getSourceVersion, getTargetVersion, setCronJob, setDifferenceText, setDifferenceValue, setSourceVersion, setTargetVersion
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
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 ofProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
TARGETPRODUCT
public static final java.lang.String TARGETPRODUCT
Generated constant - Attribute key ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
MODE
public static final java.lang.String MODE
Generated constant - Attribute key ofProductCatalogVersionDifference.modeattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
SOURCEPRODUCTAPPROVALSTATUS
public static final java.lang.String SOURCEPRODUCTAPPROVALSTATUS
Generated constant - Attribute key ofProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
TARGETPRODUCTAPPROVALSTATUS
public static final java.lang.String TARGETPRODUCTAPPROVALSTATUS
Generated constant - Attribute key ofProductCatalogVersionDifference.targetProductApprovalStatusattribute defined at extensioncatalog.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_cronJob- initial attribute declared by typeCatalogVersionDifferenceat extensioncatalog_mode- initial attribute declared by typeProductCatalogVersionDifferenceat extensioncatalog_sourceVersion- initial attribute declared by typeCatalogVersionDifferenceat extensioncatalog_targetVersion- initial attribute declared by typeCatalogVersionDifferenceat extensioncatalog
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_cronJob- initial attribute declared by typeCatalogVersionDifferenceat extensioncatalog_mode- initial attribute declared by typeProductCatalogVersionDifferenceat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore_sourceProduct- initial attribute declared by typeProductCatalogVersionDifferenceat extensioncatalog_sourceVersion- initial attribute declared by typeCatalogVersionDifferenceat extensioncatalog_targetProduct- initial attribute declared by typeProductCatalogVersionDifferenceat extensioncatalog_targetVersion- initial attribute declared by typeCatalogVersionDifferenceat extensioncatalog
-
-
Method Detail
-
getMode
@Accessor(qualifier="mode", type=GETTER) public ProductDifferenceMode getMode()
Generated method - Getter of theProductCatalogVersionDifference.modeattribute defined at extensioncatalog.- Returns:
- the mode
-
getSourceProduct
@Accessor(qualifier="sourceProduct", type=GETTER) public ProductModel getSourceProduct()
Generated method - Getter of theProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.- Returns:
- the sourceProduct
-
getSourceProductApprovalStatus
@Accessor(qualifier="sourceProductApprovalStatus", type=GETTER) public ArticleApprovalStatus getSourceProductApprovalStatus()
Generated method - Getter of theProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.- Returns:
- the sourceProductApprovalStatus
-
getTargetProduct
@Accessor(qualifier="targetProduct", type=GETTER) public ProductModel getTargetProduct()
Generated method - Getter of theProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.- Returns:
- the targetProduct
-
getTargetProductApprovalStatus
@Accessor(qualifier="targetProductApprovalStatus", type=GETTER) public ArticleApprovalStatus getTargetProductApprovalStatus()
Generated method - Getter of theProductCatalogVersionDifference.targetProductApprovalStatusattribute defined at extensioncatalog.- Returns:
- the targetProductApprovalStatus
-
setMode
@Accessor(qualifier="mode", type=SETTER) public void setMode(ProductDifferenceMode value)
Generated method - Initial setter ofProductCatalogVersionDifference.modeattribute defined at extensioncatalog. 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 ofProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog. 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 ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog. Can only be used at creation of model - before first save.- Parameters:
value- the targetProduct
-
-