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
,HasRevision
,Entity
public class PolicyDefinitionEntityImpl extends AbstractPolicyEngineEntity implements PolicyDefinitionEntity
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
creationTime
protected String
creatorId
protected String
deploymentId
protected String
key
protected String
name
protected List<PolicyDefinitionLink>
policyDefinitionLinks
protected boolean
policyDefinitionLinksInitialized
protected String
resourceName
protected String
tenantId
protected String
type
protected int
version
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description PolicyDefinitionEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreationTime()
Returns the creation timestamp of this data object.String
getCreatorId()
Returns the id of the user creating this data object.String
getDeploymentId()
String
getKey()
String
getName()
Object
getPersistentState()
List<PolicyDefinitionLink>
getPolicyDefinitionLinks()
Returns the policy definition links that are linked to the policy definition.List<PolicyDefinitionLink>
getQueryPolicyDefinitionLinks()
Getter used by MyBatis when querying policy definitions with policy definition links.String
getResourceName()
String
getTenantId()
String
getType()
int
getVersion()
void
setCreationTime(Date creationTime)
void
setCreatorId(String creatorId)
void
setDeploymentId(String deploymentId)
void
setKey(String key)
void
setName(String name)
void
setPolicyDefinitionLinks(List<PolicyDefinitionLink> policyDefinitionLinks)
void
setQueryPolicyDefinitionLinks(List<PolicyDefinitionLink> policyDefinitionLinks)
Setter used by MyBatis when querying policy definitions with policy definition links.void
setResourceName(String resourceName)
void
setTenantId(String tenantId)
void
setType(String type)
void
setVersion(int version)
-
Methods inherited from class com.flowable.policy.engine.impl.persistence.entity.AbstractPolicyEngineEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface com.flowable.policy.api.repository.PolicyDefinition
getId
-
-
-
-
Field Detail
-
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
-
policyDefinitionLinks
protected List<PolicyDefinitionLink> policyDefinitionLinks
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKey
in interfacePolicyDefinition
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfacePolicyDefinitionEntity
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfacePolicyDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersion
in interfacePolicyDefinitionEntity
-
getDeploymentId
public String getDeploymentId()
- Specified by:
getDeploymentId
in interfacePolicyDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentId
in interfacePolicyDefinitionEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfacePolicyDefinition
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfacePolicyDefinitionEntity
-
getType
public String getType()
- Specified by:
getType
in interfacePolicyDefinition
-
setType
public void setType(String type)
- Specified by:
setType
in interfacePolicyDefinitionEntity
-
getName
public String getName()
- Specified by:
getName
in interfacePolicyDefinition
-
setName
public void setName(String name)
- Specified by:
setName
in interfacePolicyDefinitionEntity
-
getResourceName
public String getResourceName()
- Specified by:
getResourceName
in interfacePolicyDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceName
in interfacePolicyDefinitionEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:PolicyDefinition
Returns the creation timestamp of this data object.- Specified by:
getCreationTime
in interfacePolicyDefinition
- Returns:
- the creation timestamp
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTime
in interfacePolicyDefinitionEntity
-
getCreatorId
public String getCreatorId()
Description copied from interface:PolicyDefinition
Returns the id of the user creating this data object.- Specified by:
getCreatorId
in interfacePolicyDefinition
- Returns:
- the id of the creation user
-
setCreatorId
public void setCreatorId(String creatorId)
- Specified by:
setCreatorId
in interfacePolicyDefinitionEntity
-
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 interfacePolicyDefinition
- Returns:
- the optional list of policy definition links
-
setPolicyDefinitionLinks
public void setPolicyDefinitionLinks(List<PolicyDefinitionLink> policyDefinitionLinks)
- Specified by:
setPolicyDefinitionLinks
in interfacePolicyDefinitionEntity
-
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 interfaceEntity
-
-