Class AWorkflowElementSearchTerm<TElement extends IWorkflowElementEntity>

java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.AWorkflowElementSearchTerm<TElement>
Type Parameters:
TElement - Type of the workflow element.
All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
Direct Known Subclasses:
WorkflowNodeSearchTerm, WorkflowTriggerSearchTerm

@MappedSuperclass public abstract class AWorkflowElementSearchTerm<TElement extends IWorkflowElementEntity> extends AbstractLockableEntity
Each workflow element can have one or more search terms that are used in database queries to filter the applicable elements.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Field Details

  • Constructor Details

    • AWorkflowElementSearchTerm

      public AWorkflowElementSearchTerm()
  • Method Details

    • cloneBasics

      public AWorkflowElementSearchTerm<TElement> cloneBasics()
      Returns:
      A new search term instance with all fields that do not reference other entities copied from this instance.
    • getElement

      public TElement getElement()
      Returns:
      The workflow element to which the search term applies.
    • getIndex

      public int getIndex()
      Returns:
      The index of this search term. When multiple search terms have the same key, the index must be different.
    • getKey

      public String getKey()
      Returns:
      The key of the search term.
    • getValue

      public String getValue()
      Returns:
      The value of the search term.
    • setElement

      public void setElement(TElement trigger)
      Parameters:
      trigger - The workflow element to which the search term applies.
    • setIndex

      public void setIndex(int index)
      Parameters:
      index - The index of this search term. When multiple search terms have the same key, the index must be different.
    • setKey

      public void setKey(String key)
      Parameters:
      key - The key of the search term.
    • setValue

      public void setValue(String value)
      Parameters:
      value - The value of the search term.
    • toString

      public String toString()
      Overrides:
      toString in class AbstractLockableEntity