Class PolicyDefinitionEntityImpl

java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.policy.engine.impl.persistence.entity.AbstractPolicyEngineEntity
com.flowable.policy.engine.impl.persistence.entity.PolicyDefinitionEntityImpl
All Implemented Interfaces:
PolicyDefinition, PolicyDefinitionEntity, org.flowable.common.engine.api.repository.FlowableDefinition, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.impl.persistence.entity.Entity

public class PolicyDefinitionEntityImpl extends AbstractPolicyEngineEntity implements PolicyDefinitionEntity
  • Field Details

    • key

      protected String key
    • version

      protected int version
    • deploymentId

      protected String deploymentId
    • tenantId

      protected String tenantId
    • type

      protected String type
    • name

      protected String name
    • resourceName

      protected String resourceName
    • creationTime

      protected Date creationTime
    • creatorId

      protected String creatorId
    • policyDefinitionLinksInitialized

      protected boolean policyDefinitionLinksInitialized
  • Constructor Details

    • PolicyDefinitionEntityImpl

      public PolicyDefinitionEntityImpl()
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface org.flowable.common.engine.api.repository.FlowableDefinition
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface PolicyDefinitionEntity
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface org.flowable.common.engine.api.repository.FlowableDefinition
    • setVersion

      public void setVersion(int version)
      Specified by:
      setVersion in interface PolicyDefinitionEntity
    • getDeploymentId

      public String getDeploymentId()
      Specified by:
      getDeploymentId in interface org.flowable.common.engine.api.repository.FlowableDefinition
    • setDeploymentId

      public void setDeploymentId(String deploymentId)
      Specified by:
      setDeploymentId in interface PolicyDefinitionEntity
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface org.flowable.common.engine.api.repository.FlowableDefinition
    • setTenantId

      public void setTenantId(String tenantId)
      Specified by:
      setTenantId in interface PolicyDefinitionEntity
    • getType

      public String getType()
      Specified by:
      getType in interface PolicyDefinition
    • setType

      public void setType(String type)
      Specified by:
      setType in interface PolicyDefinitionEntity
    • getName

      public String getName()
      Specified by:
      getName in interface org.flowable.common.engine.api.repository.FlowableDefinition
    • setName

      public void setName(String name)
      Specified by:
      setName in interface PolicyDefinitionEntity
    • getResourceName

      public String getResourceName()
      Specified by:
      getResourceName in interface org.flowable.common.engine.api.repository.FlowableDefinition
    • setResourceName

      public void setResourceName(String resourceName)
      Specified by:
      setResourceName in interface PolicyDefinitionEntity
    • getCreationTime

      public Date getCreationTime()
      Description copied from interface: PolicyDefinition
      Returns the creation timestamp of this data object.
      Specified by:
      getCreationTime in interface PolicyDefinition
      Returns:
      the creation timestamp
    • setCreationTime

      public void setCreationTime(Date creationTime)
      Specified by:
      setCreationTime in interface PolicyDefinitionEntity
    • getCreatorId

      public String getCreatorId()
      Description copied from interface: PolicyDefinition
      Returns the id of the user creating this data object.
      Specified by:
      getCreatorId in interface PolicyDefinition
      Returns:
      the id of the creation user
    • setCreatorId

      public void setCreatorId(String creatorId)
      Specified by:
      setCreatorId in interface PolicyDefinitionEntity
    • getPolicyDefinitionLinks

      public List<PolicyDefinitionLink> getPolicyDefinitionLinks()
      Description copied from interface: PolicyDefinition
      Returns the policy definition links that are linked to the policy definition.
      Specified by:
      getPolicyDefinitionLinks in interface PolicyDefinition
      Returns:
      the optional list of policy definition links
    • setPolicyDefinitionLinks

      public void setPolicyDefinitionLinks(List<PolicyDefinitionLink> policyDefinitionLinks)
      Specified by:
      setPolicyDefinitionLinks in interface PolicyDefinitionEntity
    • getQueryPolicyDefinitionLinks

      public List<PolicyDefinitionLink> getQueryPolicyDefinitionLinks()
      Getter used by MyBatis when querying policy definitions with policy definition links.
    • setQueryPolicyDefinitionLinks

      public void setQueryPolicyDefinitionLinks(List<PolicyDefinitionLink> policyDefinitionLinks)
      Setter used by MyBatis when querying policy definitions with policy definition links.
    • getPersistentState

      public Object getPersistentState()
      Specified by:
      getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity