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 Summary
ConstructorsConstructorDescriptionPropertyDataPOJO(Long pDefinitionId, Long pProjectId, Long pInstanceId, Long pEnvironmentId) -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidvoidinitializeFromDefaults(PropertyDefinitionPOJO pKeyDefinition) This method should be called to initialize value based on defaults configurations.booleanisActive()booleanbooleanbooleanbooleanisNew()booleanbooleanbooleanbooleanbooleanbooleanvoidsetAutoSubmit(boolean pAutoSubmit) voidsetCredentialId(Long pCredentialId) voidsetIsActive(String pIsActive) voidsetIsValueExpression(String pIsValueExpression) voidsetKeyDefinition(PropertyDefinitionPOJO pKeyDefinition) voidsetPropertyDisplayValue(String pPropertyValue) voidsetPropertyDisplayValueFromDatabase(String pPropertyValue) voidsetPropertyId(Long pPropertyId) voidsetRendered(boolean pRendered) voidsetShowRequired(boolean pShowRequired) voidsetUpdatedBy(String pUpdatedBy) voidsetUpdatedOn(Date pUpdatedOn) voidsetValueModified(boolean flag) voidUsed from UI to make sure that encrypted value is not exposed in clear text.toString()
-
Constructor Details
-
PropertyDataPOJO
-
-
Method Details
-
setCredentialId
-
getCredentialId
-
getDummySequence
-
getDisplayName
-
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
-
getPropertyId
-
getProjectId
-
getInstanceId
-
getEnvironmentId
-
setIsActive
-
getIsActive
-
isActive
public boolean isActive() -
setPropertyDisplayValueFromDatabase
-
setPropertyDisplayValue
-
getPropertyDisplayValue
-
setUpdatedBy
-
getUpdatedBy
-
setUpdatedOn
-
getUpdatedOn
-
setKeyDefinition
-
getKeyDefinition
-
toString
-
inactivate
public void inactivate() -
activate
public void activate() -
setIsValueExpression
-
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
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()
-