Class Y2YBatchModel

All Implemented Interfaces:
Serializable

public class Y2YBatchModel extends BatchModel
Generated model class for type Y2YBatch first defined at extension y2ysync.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String FINALIZE
      Generated constant - Attribute key of Y2YBatch.finalize attribute defined at extension y2ysync.
      See Also:
    • RETRIES

      public static final String RETRIES
      Generated constant - Attribute key of Y2YBatch.retries attribute defined at extension y2ysync.
      See Also:
    • ERROR

      public static final String ERROR
      Generated constant - Attribute key of Y2YBatch.error attribute defined at extension y2ysync.
      See Also:
    • CONTEXT

      public static final String CONTEXT
      Generated constant - Attribute key of Y2YBatch.context attribute defined at extension y2ysync.
      See Also:
  • Constructor Details

    • 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(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
    • Y2YBatchModel

      @Deprecated(since="4.1.1", forRemoval=true) public Y2YBatchModel(String _executionId, boolean _finalize, 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
      _finalize - initial attribute declared by type Y2YBatch at extension y2ysync
      _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

    • getContext

      @Accessor(qualifier="context", type=GETTER) public Object getContext()
      Generated method - Getter of the Y2YBatch.context attribute defined at extension y2ysync.
      Returns:
      the context
    • getRetries

      @Accessor(qualifier="retries", type=GETTER) public Integer getRetries()
      Generated method - Getter of the Y2YBatch.retries attribute defined at extension y2ysync.
      Returns:
      the retries
    • isError

      @Accessor(qualifier="error", type=GETTER) public boolean isError()
      Generated method - Getter of the Y2YBatch.error attribute defined at extension y2ysync.
      Returns:
      the error
    • isFinalize

      @Accessor(qualifier="finalize", type=GETTER) public boolean isFinalize()
      Generated method - Getter of the Y2YBatch.finalize attribute defined at extension y2ysync.
      Returns:
      the finalize
    • setContext

      @Accessor(qualifier="context", type=SETTER) public void setContext(Object value)
      Generated method - Setter of Y2YBatch.context attribute defined at extension y2ysync.
      Parameters:
      value - the context
    • setError

      @Accessor(qualifier="error", type=SETTER) public void setError(boolean value)
      Generated method - Setter of Y2YBatch.error attribute defined at extension y2ysync.
      Parameters:
      value - the error
    • setFinalize

      @Accessor(qualifier="finalize", type=SETTER) public void setFinalize(boolean value)
      Generated method - Initial setter of Y2YBatch.finalize attribute defined at extension y2ysync. Can only be used at creation of model - before first save.
      Parameters:
      value - the finalize
    • setRetries

      @Accessor(qualifier="retries", type=SETTER) public void setRetries(Integer value)
      Generated method - Setter of Y2YBatch.retries attribute defined at extension y2ysync.
      Parameters:
      value - the retries