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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetElement()field.static final StringJPA attribute name for thegetIndex()field.static final StringJPA attribute name for thegetKey()field.static final StringJPA attribute name for thegetValue()field.static final StringDatabase column name for thegetElement()field.static final StringDatabase column name for thegetIndex()field.static final StringDatabase column name for thegetKey()field.static final StringDatabase column name for thegetValue()field.protected TElementprotected @NotEmpty @Size(max=100) Stringprotected @NotNull @Size(max=100) StringFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_ID -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
getId, isPersisted, setId
-
Field Details
-
ATTR_ELEMENT
-
ATTR_INDEX
-
ATTR_KEY
-
ATTR_VALUE
-
COL_ELEMENT
-
COL_INDEX
-
COL_KEY
-
COL_VALUE
-
element
-
key
-
value
-
-
Constructor Details
-
AWorkflowElementSearchTerm
public AWorkflowElementSearchTerm()
-
-
Method Details
-
cloneBasics
- Returns:
- A new search term instance with all fields that do not reference other entities copied from this instance.
-
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
- Returns:
- The key of the search term.
-
getValue
- Returns:
- The value of the search term.
-
setElement
- 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
- Parameters:
key- The key of the search term.
-
setValue
- Parameters:
value- The value of the search term.
-
toString
- Overrides:
toStringin classAbstractLockableEntity
-