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:
Serializable
Generated model class for type ProductCatalogVersionDifference first defined at extension catalog.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofProductCatalogVersionDifference.modeattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductCatalogVersionDifference.targetProductApprovalStatusattribute defined at extensioncatalog.Fields inherited from class de.hybris.platform.catalog.model.CatalogVersionDifferenceModel
CRONJOB, DIFFERENCETEXT, DIFFERENCEVALUE, SOURCEVERSION, TARGETVERSIONFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetMode()Generated method - Getter of theProductCatalogVersionDifference.modeattribute defined at extensioncatalog.Generated method - Getter of theProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.Generated method - Getter of theProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.Generated method - Getter of theProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.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, setTargetVersionMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SOURCEPRODUCT
Generated constant - Attribute key ofProductCatalogVersionDifference.sourceProductattribute defined at extensioncatalog.- See Also:
-
TARGETPRODUCT
Generated constant - Attribute key ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog.- See Also:
-
MODE
Generated constant - Attribute key ofProductCatalogVersionDifference.modeattribute defined at extensioncatalog.- See Also:
-
SOURCEPRODUCTAPPROVALSTATUS
Generated constant - Attribute key ofProductCatalogVersionDifference.sourceProductApprovalStatusattribute defined at extensioncatalog.- See Also:
-
TARGETPRODUCTAPPROVALSTATUS
Generated constant - Attribute key ofProductCatalogVersionDifference.targetProductApprovalStatusattribute defined at extensioncatalog.- See Also:
-
-
Constructor Details
-
ProductCatalogVersionDifferenceModel
public ProductCatalogVersionDifferenceModel()Generated constructor - Default constructor for generic creation. -
ProductCatalogVersionDifferenceModel
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 Details
-
getMode
Generated method - Getter of theProductCatalogVersionDifference.modeattribute defined at extensioncatalog.- Returns:
- the mode
-
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
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
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
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
Generated method - Initial setter ofProductCatalogVersionDifference.targetProductattribute defined at extensioncatalog. Can only be used at creation of model - before first save.- Parameters:
value- the targetProduct
-