Class BatchModel

All Implemented Interfaces:
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:
  • 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(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