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:
java.io.Serializable
- Direct Known Subclasses:
ImportBatchModel
,SimpleBatchModel
,Y2YBatchModel
public class BatchModel extends ItemModel
Generated model class for type Batch first defined at extension processing.- 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
_DISTRIBUTEDPROCESS2BATCHRELATION
Generated relation code constant for relationDistributedProcess2BatchRelation
defining source attributeprocess
in extensionprocessing
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
EXECUTIONID
Generated constant - Attribute key ofBatch.executionId
attribute defined at extensionprocessing
.static java.lang.String
ID
Generated constant - Attribute key ofBatch.id
attribute defined at extensionprocessing
.static java.lang.String
PROCESS
Generated constant - Attribute key ofBatch.process
attribute defined at extensionprocessing
.static java.lang.String
REMAININGWORKLOAD
Generated constant - Attribute key ofBatch.remainingWorkLoad
attribute defined at extensionprocessing
.static java.lang.String
TYPE
Generated constant - Attribute key ofBatch.type
attribute defined at extensionprocessing
.-
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 BatchModel()
Generated constructor - Default constructor for generic creation.BatchModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextBatchModel(java.lang.String _executionId, java.lang.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(java.lang.String _executionId, java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExecutionId()
Generated method - Getter of theBatch.executionId
attribute defined at extensionprocessing
.java.lang.String
getId()
Generated method - Getter of theBatch.id
attribute defined at extensionprocessing
.DistributedProcessModel
getProcess()
Generated method - Getter of theBatch.process
attribute defined at extensionprocessing
.long
getRemainingWorkLoad()
Generated method - Getter of theBatch.remainingWorkLoad
attribute defined at extensionprocessing
.BatchType
getType()
Generated method - Getter of theBatch.type
attribute defined at extensionprocessing
.void
setExecutionId(java.lang.String value)
Generated method - Initial setter ofBatch.executionId
attribute defined at extensionprocessing
.void
setId(java.lang.String value)
Generated method - Initial setter ofBatch.id
attribute defined at extensionprocessing
.void
setProcess(DistributedProcessModel value)
Generated method - Initial setter ofBatch.process
attribute defined at extensionprocessing
.void
setRemainingWorkLoad(long value)
Generated method - Initial setter ofBatch.remainingWorkLoad
attribute defined at extensionprocessing
.void
setType(BatchType value)
Generated method - Initial setter ofBatch.type
attribute defined at extensionprocessing
.-
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
-
_DISTRIBUTEDPROCESS2BATCHRELATION
public static final java.lang.String _DISTRIBUTEDPROCESS2BATCHRELATION
Generated relation code constant for relationDistributedProcess2BatchRelation
defining source attributeprocess
in extensionprocessing
.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofBatch.id
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
EXECUTIONID
public static final java.lang.String EXECUTIONID
Generated constant - Attribute key ofBatch.executionId
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofBatch.type
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
REMAININGWORKLOAD
public static final java.lang.String REMAININGWORKLOAD
Generated constant - Attribute key ofBatch.remainingWorkLoad
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
PROCESS
public static final java.lang.String PROCESS
Generated constant - Attribute key ofBatch.process
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BatchModel
public BatchModel()
Generated constructor - Default constructor for generic creation.
-
BatchModel
public BatchModel(ItemModelContext ctx)
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(java.lang.String _executionId, java.lang.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 typeBatch
at extensionprocessing
_id
- initial attribute declared by typeBatch
at extensionprocessing
_process
- initial attribute declared by typeBatch
at extensionprocessing
_type
- initial attribute declared by typeBatch
at extensionprocessing
-
BatchModel
@Deprecated(since="4.1.1", forRemoval=true) public BatchModel(java.lang.String _executionId, java.lang.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 typeBatch
at extensionprocessing
_id
- initial attribute declared by typeBatch
at extensionprocessing
_owner
- initial attribute declared by typeItem
at extensioncore
_process
- initial attribute declared by typeBatch
at extensionprocessing
_type
- initial attribute declared by typeBatch
at extensionprocessing
-
-
Method Detail
-
getExecutionId
@Accessor(qualifier="executionId", type=GETTER) public java.lang.String getExecutionId()
Generated method - Getter of theBatch.executionId
attribute defined at extensionprocessing
.- Returns:
- the executionId
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theBatch.id
attribute defined at extensionprocessing
.- Returns:
- the id
-
getProcess
@Accessor(qualifier="process", type=GETTER) public DistributedProcessModel getProcess()
Generated method - Getter of theBatch.process
attribute defined at extensionprocessing
.- Returns:
- the process
-
getRemainingWorkLoad
@Accessor(qualifier="remainingWorkLoad", type=GETTER) public long getRemainingWorkLoad()
Generated method - Getter of theBatch.remainingWorkLoad
attribute defined at extensionprocessing
.- Returns:
- the remainingWorkLoad
-
getType
@Accessor(qualifier="type", type=GETTER) public BatchType getType()
Generated method - Getter of theBatch.type
attribute defined at extensionprocessing
.- Returns:
- the type
-
setExecutionId
@Accessor(qualifier="executionId", type=SETTER) public void setExecutionId(java.lang.String value)
Generated method - Initial setter ofBatch.executionId
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the executionId
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Generated method - Initial setter ofBatch.id
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the id
-
setProcess
@Accessor(qualifier="process", type=SETTER) public void setProcess(DistributedProcessModel value)
Generated method - Initial setter ofBatch.process
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the process
-
setRemainingWorkLoad
@Accessor(qualifier="remainingWorkLoad", type=SETTER) public void setRemainingWorkLoad(long value)
Generated method - Initial setter ofBatch.remainingWorkLoad
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the remainingWorkLoad
-
-