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

public class BatchModel extends ItemModel
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

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation DistributedProcess2BatchRelation defining source attribute process in extension processing.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Batch.executionId attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Batch.id attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Batch.process attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Batch.remainingWorkLoad attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Batch.type attribute defined at extension processing.

    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
    Generated constructor - Default constructor for generic creation.
    BatchModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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 parameters
    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 parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Batch.executionId attribute defined at extension processing.
    Generated method - Getter of the Batch.id attribute defined at extension processing.
    Generated method - Getter of the Batch.process attribute defined at extension processing.
    long
    Generated method - Getter of the Batch.remainingWorkLoad attribute defined at extension processing.
    Generated method - Getter of the Batch.type attribute defined at extension processing.
    void
    Generated method - Initial setter of Batch.executionId attribute defined at extension processing.
    void
    setId(String value)
    Generated method - Initial setter of Batch.id attribute defined at extension processing.
    void
    Generated method - Initial setter of Batch.process attribute defined at extension processing.
    void
    Generated method - Initial setter of Batch.remainingWorkLoad attribute defined at extension processing.
    void
    Generated method - Initial setter of Batch.type attribute defined at extension processing.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _DISTRIBUTEDPROCESS2BATCHRELATION

      public static final String _DISTRIBUTEDPROCESS2BATCHRELATION
      Generated relation code constant for relation DistributedProcess2BatchRelation defining source attribute process in extension processing.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of Batch.id attribute defined at extension processing.
      See Also:
    • EXECUTIONID

      public static final String EXECUTIONID
      Generated constant - Attribute key of Batch.executionId attribute defined at extension processing.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of Batch.type attribute defined at extension processing.
      See Also:
    • REMAININGWORKLOAD

      public static final String REMAININGWORKLOAD
      Generated constant - Attribute key of Batch.remainingWorkLoad attribute defined at extension processing.
      See Also:
    • PROCESS

      public static final String PROCESS
      Generated constant - Attribute key of Batch.process attribute defined at extension processing.
      See Also:
  • Constructor Details

    • BatchModel

      public BatchModel()
      Generated constructor - Default constructor for generic creation.
    • BatchModel

      public BatchModel(de.hybris.platform.servicelayer.model.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(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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _executionId - initial attribute declared by type Batch at extension processing
      _id - initial attribute declared by type Batch at extension processing
      _process - initial attribute declared by type Batch at extension processing
      _type - initial attribute declared by type Batch at extension processing
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _executionId - initial attribute declared by type Batch at extension processing
      _id - initial attribute declared by type Batch at extension processing
      _owner - initial attribute declared by type Item at extension core
      _process - initial attribute declared by type Batch at extension processing
      _type - initial attribute declared by type Batch at extension processing
  • Method Details

    • getExecutionId

      @Accessor(qualifier="executionId", type=GETTER) public String getExecutionId()
      Generated method - Getter of the Batch.executionId attribute defined at extension processing.
      Returns:
      the executionId
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the Batch.id attribute defined at extension processing.
      Returns:
      the id
    • getProcess

      @Accessor(qualifier="process", type=GETTER) public DistributedProcessModel getProcess()
      Generated method - Getter of the Batch.process attribute defined at extension processing.
      Returns:
      the process
    • getRemainingWorkLoad

      @Accessor(qualifier="remainingWorkLoad", type=GETTER) public long getRemainingWorkLoad()
      Generated method - Getter of the Batch.remainingWorkLoad attribute defined at extension processing.
      Returns:
      the remainingWorkLoad
    • getType

      @Accessor(qualifier="type", type=GETTER) public BatchType getType()
      Generated method - Getter of the Batch.type attribute defined at extension processing.
      Returns:
      the type
    • setExecutionId

      @Accessor(qualifier="executionId", type=SETTER) public void setExecutionId(String value)
      Generated method - Initial setter of Batch.executionId attribute defined at extension processing. Can only be used at creation of model - before first save.
      Parameters:
      value - the executionId
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of Batch.id attribute defined at extension processing. 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 of Batch.process attribute defined at extension processing. 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 of Batch.remainingWorkLoad attribute defined at extension processing. Can only be used at creation of model - before first save.
      Parameters:
      value - the remainingWorkLoad
    • setType

      @Accessor(qualifier="type", type=SETTER) public void setType(BatchType value)
      Generated method - Initial setter of Batch.type attribute defined at extension processing. Can only be used at creation of model - before first save.
      Parameters:
      value - the type