Class BatchModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.processing.model.BatchModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ImportBatchModel,SimpleBatchModel,Y2YBatchModel
Generated model class for type Batch first defined at extension processing.
- 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 relation code constant for relationDistributedProcess2BatchRelationdefining source attributeprocessin extensionprocessing.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofBatch.executionIdattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBatch.idattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBatch.processattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBatch.remainingWorkLoadattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBatch.typeattribute defined at extensionprocessing.Fields 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 contextBatchModel(String _executionId, 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 parametersBatchModel(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 theBatch.executionIdattribute defined at extensionprocessing.getId()Generated method - Getter of theBatch.idattribute defined at extensionprocessing.Generated method - Getter of theBatch.processattribute defined at extensionprocessing.longGenerated method - Getter of theBatch.remainingWorkLoadattribute defined at extensionprocessing.getType()Generated method - Getter of theBatch.typeattribute defined at extensionprocessing.voidsetExecutionId(String value) Generated method - Initial setter ofBatch.executionIdattribute defined at extensionprocessing.voidGenerated method - Initial setter ofBatch.idattribute defined at extensionprocessing.voidGenerated method - Initial setter ofBatch.processattribute defined at extensionprocessing.voidsetRemainingWorkLoad(long value) Generated method - Initial setter ofBatch.remainingWorkLoadattribute defined at extensionprocessing.voidGenerated method - Initial setter ofBatch.typeattribute defined at extensionprocessing.Methods 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:
-
_DISTRIBUTEDPROCESS2BATCHRELATION
Generated relation code constant for relationDistributedProcess2BatchRelationdefining source attributeprocessin extensionprocessing.- See Also:
-
ID
Generated constant - Attribute key ofBatch.idattribute defined at extensionprocessing.- See Also:
-
EXECUTIONID
Generated constant - Attribute key ofBatch.executionIdattribute defined at extensionprocessing.- See Also:
-
TYPE
Generated constant - Attribute key ofBatch.typeattribute defined at extensionprocessing.- See Also:
-
REMAININGWORKLOAD
Generated constant - Attribute key ofBatch.remainingWorkLoadattribute defined at extensionprocessing.- See Also:
-
PROCESS
Generated constant - Attribute key ofBatch.processattribute defined at extensionprocessing.- See Also:
-
-
Constructor Details
-
BatchModel
public BatchModel()Generated constructor - Default constructor for generic creation. -
BatchModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
BatchModel
@Deprecated(since="4.1.1", forRemoval=true) public BatchModel(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
-
BatchModel
@Deprecated(since="4.1.1", forRemoval=true) public BatchModel(String _executionId, 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_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
-
getExecutionId
Generated method - Getter of theBatch.executionIdattribute defined at extensionprocessing.- Returns:
- the executionId
-
getId
Generated method - Getter of theBatch.idattribute defined at extensionprocessing.- Returns:
- the id
-
getProcess
Generated method - Getter of theBatch.processattribute defined at extensionprocessing.- Returns:
- the process
-
getRemainingWorkLoad
Generated method - Getter of theBatch.remainingWorkLoadattribute defined at extensionprocessing.- Returns:
- the remainingWorkLoad
-
getType
Generated method - Getter of theBatch.typeattribute defined at extensionprocessing.- Returns:
- the type
-
setExecutionId
Generated method - Initial setter ofBatch.executionIdattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the executionId
-
setId
Generated method - Initial setter ofBatch.idattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the id
-
setProcess
Generated method - Initial setter ofBatch.processattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the process
-
setRemainingWorkLoad
Generated method - Initial setter ofBatch.remainingWorkLoadattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the remainingWorkLoad
-
setType
Generated method - Initial setter ofBatch.typeattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the type
-