Class BatchModel

    • 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 java.lang.String _DISTRIBUTEDPROCESS2BATCHRELATION
      Generated relation code constant for relation DistributedProcess2BatchRelation defining source attribute process in extension processing.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String EXECUTIONID
      Generated constant - Attribute key of Batch.executionId attribute defined at extension processing.
      static java.lang.String ID
      Generated constant - Attribute key of Batch.id attribute defined at extension processing.
      static java.lang.String PROCESS
      Generated constant - Attribute key of Batch.process attribute defined at extension processing.
      static java.lang.String REMAININGWORKLOAD
      Generated constant - Attribute key of Batch.remainingWorkLoad attribute defined at extension processing.
      static java.lang.String TYPE
      Generated constant - Attribute key of Batch.type attribute defined at extension processing.
      • 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​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      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 parameters
      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 parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getExecutionId()
      Generated method - Getter of the Batch.executionId attribute defined at extension processing.
      java.lang.String getId()
      Generated method - Getter of the Batch.id attribute defined at extension processing.
      DistributedProcessModel getProcess()
      Generated method - Getter of the Batch.process attribute defined at extension processing.
      long getRemainingWorkLoad()
      Generated method - Getter of the Batch.remainingWorkLoad attribute defined at extension processing.
      BatchType getType()
      Generated method - Getter of the Batch.type attribute defined at extension processing.
      void setExecutionId​(java.lang.String value)
      Generated method - Initial setter of Batch.executionId attribute defined at extension processing.
      void setId​(java.lang.String value)
      Generated method - Initial setter of Batch.id attribute defined at extension processing.
      void setProcess​(DistributedProcessModel value)
      Generated method - Initial setter of Batch.process attribute defined at extension processing.
      void setRemainingWorkLoad​(long value)
      Generated method - Initial setter of Batch.remainingWorkLoad attribute defined at extension processing.
      void setType​(BatchType value)
      Generated method - Initial setter of Batch.type attribute defined at extension processing.
      • 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 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 relation DistributedProcess2BatchRelation defining source attribute process in extension processing.
        See Also:
        Constant Field Values
      • ID

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

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

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

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

        public static final java.lang.String PROCESS
        Generated constant - Attribute key of Batch.process attribute defined at extension processing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(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
        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​(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 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 Detail

      • getExecutionId

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

        @Accessor(qualifier="id",
                  type=GETTER)
        public java.lang.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​(java.lang.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​(java.lang.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