Class PropertyDataPOJO

java.lang.Object
StringsKeyPOJO
flexagon.fd.model.pojos.properties.PropertyDataPOJO

public class PropertyDataPOJO extends StringsKeyPOJO
POJO class that represents one property value with all it's definition details. Caller can update Display value and Active Flag. That will be considered for update when data is saved. If this is a new instance, then obviously new row is created.
  • Constructor Details

    • PropertyDataPOJO

      public PropertyDataPOJO(Long pDefinitionId, Long pProjectId, Long pInstanceId, Long pEnvironmentId)
  • Method Details

    • setCredentialId

      public void setCredentialId(Long pCredentialId)
    • getCredentialId

      public Long getCredentialId()
    • getDummySequence

      public Long getDummySequence()
    • getDisplayName

      public String getDisplayName()
    • getPropertyKeyName

      public String getPropertyKeyName()
    • setAutoSubmit

      public void setAutoSubmit(boolean pAutoSubmit)
    • isAutoSubmit

      public boolean isAutoSubmit()
    • setRendered

      public void setRendered(boolean pRendered)
    • isRendered

      public boolean isRendered()
    • setShowRequired

      public void setShowRequired(boolean pShowRequired)
    • isShowRequired

      public boolean isShowRequired()
    • isNew

      public boolean isNew()
    • setValueModified

      public void setValueModified(boolean flag)
    • isValueModified

      public boolean isValueModified()
    • setPropertyId

      public void setPropertyId(Long pPropertyId)
    • getPropertyId

      public Long getPropertyId()
    • getProjectId

      public Long getProjectId()
    • getInstanceId

      public Long getInstanceId()
    • getEnvironmentId

      public Long getEnvironmentId()
    • setIsActive

      public void setIsActive(String pIsActive)
    • getIsActive

      public String getIsActive()
    • isActive

      public boolean isActive()
    • setPropertyDisplayValueFromDatabase

      public void setPropertyDisplayValueFromDatabase(String pPropertyValue)
    • setPropertyDisplayValue

      public void setPropertyDisplayValue(String pPropertyValue)
    • getPropertyDisplayValue

      public String getPropertyDisplayValue()
    • setUpdatedBy

      public void setUpdatedBy(String pUpdatedBy)
    • getUpdatedBy

      public String getUpdatedBy()
    • setUpdatedOn

      public void setUpdatedOn(Date pUpdatedOn)
    • getUpdatedOn

      public Date getUpdatedOn()
    • setKeyDefinition

      public void setKeyDefinition(PropertyDefinitionPOJO pKeyDefinition)
    • getKeyDefinition

      public PropertyDefinitionPOJO getKeyDefinition()
    • toString

      public String toString()
    • inactivate

      public void inactivate()
    • activate

      public void activate()
    • setIsValueExpression

      public void setIsValueExpression(String pIsValueExpression)
    • getIsValueExpression

      public String getIsValueExpression()
    • toggleValueExpressionFlag

      public void toggleValueExpressionFlag()
      Used from UI to make sure that encrypted value is not exposed in clear text.
    • isDefinitionEncrypted

      public boolean isDefinitionEncrypted()
    • isValueExpression

      public boolean isValueExpression()
    • initializeFromDefaults

      public void initializeFromDefaults(PropertyDefinitionPOJO pKeyDefinition)
      This method should be called to initialize value based on defaults configurations. It will inialize mIsValueExpression mPropertyDisplayValue mDisplayValueModified
      Parameters:
      pKeyDefinition -
    • isProjectPropertyOverride

      public boolean isProjectPropertyOverride()
    • isProjectScoped

      public boolean isProjectScoped()
    • isEnvironmentInstanceScoped

      public boolean isEnvironmentInstanceScoped()