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:
java.io.Serializable
public class Y2YBatchModel extends BatchModel
Generated model class for type Y2YBatch first defined at extension y2ysync.- 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
_TYPECODE
Generated model type code constant.static java.lang.String
CONTEXT
Generated constant - Attribute key ofY2YBatch.context
attribute defined at extensiony2ysync
.static java.lang.String
ERROR
Generated constant - Attribute key ofY2YBatch.error
attribute defined at extensiony2ysync
.static java.lang.String
FINALIZE
Generated constant - Attribute key ofY2YBatch.finalize
attribute defined at extensiony2ysync
.static java.lang.String
RETRIES
Generated constant - Attribute key ofY2YBatch.retries
attribute defined at extensiony2ysync
.-
Fields inherited from class de.hybris.platform.processing.model.BatchModel
_DISTRIBUTEDPROCESS2BATCHRELATION, EXECUTIONID, ID, PROCESS, REMAININGWORKLOAD, TYPE
-
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 Y2YBatchModel()
Generated constructor - Default constructor for generic creation.Y2YBatchModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextY2YBatchModel(java.lang.String _executionId, boolean _finalize, 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 parametersY2YBatchModel(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.Object
getContext()
Generated method - Getter of theY2YBatch.context
attribute defined at extensiony2ysync
.java.lang.Integer
getRetries()
Generated method - Getter of theY2YBatch.retries
attribute defined at extensiony2ysync
.boolean
isError()
Generated method - Getter of theY2YBatch.error
attribute defined at extensiony2ysync
.boolean
isFinalize()
Generated method - Getter of theY2YBatch.finalize
attribute defined at extensiony2ysync
.void
setContext(java.lang.Object value)
Generated method - Setter ofY2YBatch.context
attribute defined at extensiony2ysync
.void
setError(boolean value)
Generated method - Setter ofY2YBatch.error
attribute defined at extensiony2ysync
.void
setFinalize(boolean value)
Generated method - Initial setter ofY2YBatch.finalize
attribute defined at extensiony2ysync
.void
setRetries(java.lang.Integer value)
Generated method - Setter ofY2YBatch.retries
attribute defined at extensiony2ysync
.-
Methods inherited from class de.hybris.platform.processing.model.BatchModel
getExecutionId, getId, getProcess, getRemainingWorkLoad, getType, setExecutionId, setId, setProcess, setRemainingWorkLoad, setType
-
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
-
FINALIZE
public static final java.lang.String FINALIZE
Generated constant - Attribute key ofY2YBatch.finalize
attribute defined at extensiony2ysync
.- See Also:
- Constant Field Values
-
RETRIES
public static final java.lang.String RETRIES
Generated constant - Attribute key ofY2YBatch.retries
attribute defined at extensiony2ysync
.- See Also:
- Constant Field Values
-
ERROR
public static final java.lang.String ERROR
Generated constant - Attribute key ofY2YBatch.error
attribute defined at extensiony2ysync
.- See Also:
- Constant Field Values
-
CONTEXT
public static final java.lang.String CONTEXT
Generated constant - Attribute key ofY2YBatch.context
attribute defined at extensiony2ysync
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Y2YBatchModel
public Y2YBatchModel()
Generated constructor - Default constructor for generic creation.
-
Y2YBatchModel
public Y2YBatchModel(ItemModelContext ctx)
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(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
-
Y2YBatchModel
@Deprecated(since="4.1.1", forRemoval=true) public Y2YBatchModel(java.lang.String _executionId, boolean _finalize, 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
_finalize
- initial attribute declared by typeY2YBatch
at extensiony2ysync
_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
-
getContext
@Accessor(qualifier="context", type=GETTER) public java.lang.Object getContext()
Generated method - Getter of theY2YBatch.context
attribute defined at extensiony2ysync
.- Returns:
- the context
-
getRetries
@Accessor(qualifier="retries", type=GETTER) public java.lang.Integer getRetries()
Generated method - Getter of theY2YBatch.retries
attribute defined at extensiony2ysync
.- Returns:
- the retries
-
isError
@Accessor(qualifier="error", type=GETTER) public boolean isError()
Generated method - Getter of theY2YBatch.error
attribute defined at extensiony2ysync
.- Returns:
- the error
-
isFinalize
@Accessor(qualifier="finalize", type=GETTER) public boolean isFinalize()
Generated method - Getter of theY2YBatch.finalize
attribute defined at extensiony2ysync
.- Returns:
- the finalize
-
setContext
@Accessor(qualifier="context", type=SETTER) public void setContext(java.lang.Object value)
Generated method - Setter ofY2YBatch.context
attribute defined at extensiony2ysync
.- Parameters:
value
- the context
-
setError
@Accessor(qualifier="error", type=SETTER) public void setError(boolean value)
Generated method - Setter ofY2YBatch.error
attribute defined at extensiony2ysync
.- Parameters:
value
- the error
-
setFinalize
@Accessor(qualifier="finalize", type=SETTER) public void setFinalize(boolean value)
Generated method - Initial setter ofY2YBatch.finalize
attribute defined at extensiony2ysync
. Can only be used at creation of model - before first save.- Parameters:
value
- the finalize
-
-