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_DISTRIBUTEDPROCESS2BATCHRELATIONGenerated relation code constant for relationDistributedProcess2BatchRelationdefining source attributeprocessin extensionprocessing.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringEXECUTIONIDGenerated constant - Attribute key ofBatch.executionIdattribute defined at extensionprocessing.static java.lang.StringIDGenerated constant - Attribute key ofBatch.idattribute defined at extensionprocessing.static java.lang.StringPROCESSGenerated constant - Attribute key ofBatch.processattribute defined at extensionprocessing.static java.lang.StringREMAININGWORKLOADGenerated constant - Attribute key ofBatch.remainingWorkLoadattribute defined at extensionprocessing.static java.lang.StringTYPEGenerated 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, 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.StringgetExecutionId()Generated method - Getter of theBatch.executionIdattribute defined at extensionprocessing.java.lang.StringgetId()Generated method - Getter of theBatch.idattribute defined at extensionprocessing.DistributedProcessModelgetProcess()Generated method - Getter of theBatch.processattribute defined at extensionprocessing.longgetRemainingWorkLoad()Generated method - Getter of theBatch.remainingWorkLoadattribute defined at extensionprocessing.BatchTypegetType()Generated method - Getter of theBatch.typeattribute defined at extensionprocessing.voidsetExecutionId(java.lang.String value)Generated method - Initial setter ofBatch.executionIdattribute defined at extensionprocessing.voidsetId(java.lang.String value)Generated method - Initial setter ofBatch.idattribute defined at extensionprocessing.voidsetProcess(DistributedProcessModel value)Generated method - Initial setter ofBatch.processattribute defined at extensionprocessing.voidsetRemainingWorkLoad(long value)Generated method - Initial setter ofBatch.remainingWorkLoadattribute defined at extensionprocessing.voidsetType(BatchType value)Generated 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, 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 relationDistributedProcess2BatchRelationdefining source attributeprocessin extensionprocessing.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofBatch.idattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
EXECUTIONID
public static final java.lang.String EXECUTIONID
Generated constant - Attribute key ofBatch.executionIdattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofBatch.typeattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
REMAININGWORKLOAD
public static final java.lang.String REMAININGWORKLOAD
Generated constant - Attribute key ofBatch.remainingWorkLoadattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
PROCESS
public static final java.lang.String PROCESS
Generated constant - Attribute key ofBatch.processattribute 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 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(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 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 Detail
-
getExecutionId
@Accessor(qualifier="executionId", type=GETTER) public java.lang.String getExecutionId()
Generated method - Getter of theBatch.executionIdattribute defined at extensionprocessing.- Returns:
- the executionId
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theBatch.idattribute defined at extensionprocessing.- Returns:
- the id
-
getProcess
@Accessor(qualifier="process", type=GETTER) public DistributedProcessModel getProcess()
Generated method - Getter of theBatch.processattribute defined at extensionprocessing.- Returns:
- the process
-
getRemainingWorkLoad
@Accessor(qualifier="remainingWorkLoad", type=GETTER) public long getRemainingWorkLoad()
Generated method - Getter of theBatch.remainingWorkLoadattribute defined at extensionprocessing.- Returns:
- the remainingWorkLoad
-
getType
@Accessor(qualifier="type", type=GETTER) public BatchType getType()
Generated method - Getter of theBatch.typeattribute defined at extensionprocessing.- Returns:
- the type
-
setExecutionId
@Accessor(qualifier="executionId", type=SETTER) public void setExecutionId(java.lang.String value)
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
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
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
@Accessor(qualifier="process", type=SETTER) public void setProcess(DistributedProcessModel value)
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
@Accessor(qualifier="remainingWorkLoad", type=SETTER) public void setRemainingWorkLoad(long value)
Generated method - Initial setter ofBatch.remainingWorkLoadattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the remainingWorkLoad
-
-