Package de.hybris.y2ysync.model
Class Y2YBatchModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.processing.model.BatchModel
de.hybris.y2ysync.model.Y2YBatchModel
- All Implemented Interfaces:
Serializable
Generated model class for type Y2YBatch first defined at extension y2ysync.
- 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 ofY2YBatch.contextattribute defined at extensiony2ysync.static final StringGenerated constant - Attribute key ofY2YBatch.errorattribute defined at extensiony2ysync.static final StringGenerated constant - Attribute key ofY2YBatch.finalizeattribute defined at extensiony2ysync.static final StringGenerated constant - Attribute key ofY2YBatch.retriesattribute defined at extensiony2ysync.Fields inherited from class de.hybris.platform.processing.model.BatchModel
_DISTRIBUTEDPROCESS2BATCHRELATION, EXECUTIONID, ID, PROCESS, REMAININGWORKLOAD, TYPEFields 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.Generated constructor - Default constructor for creation with existing contextY2YBatchModel(String _executionId, boolean _finalize, String _id, ItemModel _owner, DistributedProcessModel _process, BatchType _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 parametersY2YBatchModel(String _executionId, String _id, DistributedProcessModel _process, BatchType _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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theY2YBatch.contextattribute defined at extensiony2ysync.Generated method - Getter of theY2YBatch.retriesattribute defined at extensiony2ysync.booleanisError()Generated method - Getter of theY2YBatch.errorattribute defined at extensiony2ysync.booleanGenerated method - Getter of theY2YBatch.finalizeattribute defined at extensiony2ysync.voidsetContext(Object value) Generated method - Setter ofY2YBatch.contextattribute defined at extensiony2ysync.voidsetError(boolean value) Generated method - Setter ofY2YBatch.errorattribute defined at extensiony2ysync.voidsetFinalize(boolean value) Generated method - Initial setter ofY2YBatch.finalizeattribute defined at extensiony2ysync.voidsetRetries(Integer value) Generated method - Setter ofY2YBatch.retriesattribute defined at extensiony2ysync.Methods inherited from class de.hybris.platform.processing.model.BatchModel
getExecutionId, getId, getProcess, getRemainingWorkLoad, getType, setExecutionId, setId, setProcess, setRemainingWorkLoad, setTypeMethods 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:
-
FINALIZE
Generated constant - Attribute key ofY2YBatch.finalizeattribute defined at extensiony2ysync.- See Also:
-
RETRIES
Generated constant - Attribute key ofY2YBatch.retriesattribute defined at extensiony2ysync.- See Also:
-
ERROR
Generated constant - Attribute key ofY2YBatch.errorattribute defined at extensiony2ysync.- See Also:
-
CONTEXT
Generated constant - Attribute key ofY2YBatch.contextattribute defined at extensiony2ysync.- See Also:
-
-
Constructor Details
-
Y2YBatchModel
public Y2YBatchModel()Generated constructor - Default constructor for generic creation. -
Y2YBatchModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
Y2YBatchModel
@Deprecated(since="4.1.1", forRemoval=true) public Y2YBatchModel(String _executionId, String _id, DistributedProcessModel _process, BatchType _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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_executionId- initial attribute declared by typeBatchat extensionprocessing_id- initial attribute declared by typeBatchat extensionprocessing_process- initial attribute declared by typeBatchat extensionprocessing_type- initial attribute declared by typeBatchat extensionprocessing
-
Y2YBatchModel
@Deprecated(since="4.1.1", forRemoval=true) public Y2YBatchModel(String _executionId, boolean _finalize, String _id, ItemModel _owner, DistributedProcessModel _process, BatchType _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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_executionId- initial attribute declared by typeBatchat extensionprocessing_finalize- initial attribute declared by typeY2YBatchat extensiony2ysync_id- initial attribute declared by typeBatchat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_process- initial attribute declared by typeBatchat extensionprocessing_type- initial attribute declared by typeBatchat extensionprocessing
-
-
Method Details
-
getContext
Generated method - Getter of theY2YBatch.contextattribute defined at extensiony2ysync.- Returns:
- the context
-
getRetries
Generated method - Getter of theY2YBatch.retriesattribute defined at extensiony2ysync.- Returns:
- the retries
-
isError
Generated method - Getter of theY2YBatch.errorattribute defined at extensiony2ysync.- Returns:
- the error
-
isFinalize
Generated method - Getter of theY2YBatch.finalizeattribute defined at extensiony2ysync.- Returns:
- the finalize
-
setContext
Generated method - Setter ofY2YBatch.contextattribute defined at extensiony2ysync.- Parameters:
value- the context
-
setError
Generated method - Setter ofY2YBatch.errorattribute defined at extensiony2ysync.- Parameters:
value- the error
-
setFinalize
Generated method - Initial setter ofY2YBatch.finalizeattribute defined at extensiony2ysync. Can only be used at creation of model - before first save.- Parameters:
value- the finalize
-
setRetries
Generated method - Setter ofY2YBatch.retriesattribute defined at extensiony2ysync.- Parameters:
value- the retries
-