public class ProjectPropertiesPOJO extends BasePOJO
Constructor and Description |
---|
ProjectPropertiesPOJO() |
Modifier and Type | Method and Description |
---|---|
void |
addInstanceBasedPropertyDefinition(PropertyDefinitionPOJO pDefinition) |
void |
addProjectEnvironment(EnvironmentDetails pEnvironment) |
void |
addProjectInstance(InstanceDetails pInstance) |
java.util.List<PropertyDataPOJO> |
getActiveProperties() |
PropertyDataPOJO |
getForPropertyId(java.lang.Long pPropertyId) |
java.util.Map<java.lang.String,PropertyDefinitionPOJO> |
getInstanceBasedPropertyDefinitions() |
java.util.Map<java.lang.Long,EnvironmentDetails> |
getProjectEnvironments() |
java.util.Map<java.lang.Long,InstanceDetails> |
getProjectInstances() |
PropertyDataPOJO |
getProjectPropertyForKeyName(java.lang.String pKeyName) |
java.util.List<PropertyDataPOJO> |
getProperties() |
java.util.List<PropertyDataPOJO> |
getPropertiesForDefinitionId(java.lang.Long pDefId)
This would only have one value at this time, but if we implment
more overrides at Project level than there can be more values here
for environment instance scoped properties.
|
java.util.List<PropertyDataPOJO> |
getWorkflowBasedProperties() |
java.util.Set<java.lang.String> |
getWorkflowBasedPropertyKeys() |
boolean |
hasNewPropertyData() |
void |
remove(PropertyDataPOJO pProperty)
we do not delete rows, but just mark them as inactive.
|
void |
setWorkflowBasedPropertyKeys(java.util.Set<java.lang.String> pWorkflowBasedPropertyKeys) |
void |
sortProperties() |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
public void setWorkflowBasedPropertyKeys(java.util.Set<java.lang.String> pWorkflowBasedPropertyKeys)
public java.util.Set<java.lang.String> getWorkflowBasedPropertyKeys()
public java.util.Map<java.lang.Long,InstanceDetails> getProjectInstances()
public java.util.Map<java.lang.Long,EnvironmentDetails> getProjectEnvironments()
public java.util.Map<java.lang.String,PropertyDefinitionPOJO> getInstanceBasedPropertyDefinitions()
public void addProjectEnvironment(EnvironmentDetails pEnvironment)
public void addProjectInstance(InstanceDetails pInstance)
public void addInstanceBasedPropertyDefinition(PropertyDefinitionPOJO pDefinition)
public java.util.List<PropertyDataPOJO> getProperties()
public java.util.List<PropertyDataPOJO> getWorkflowBasedProperties()
public void sortProperties()
public java.util.List<PropertyDataPOJO> getActiveProperties()
public java.util.List<PropertyDataPOJO> getPropertiesForDefinitionId(java.lang.Long pDefId)
pDefId
- public PropertyDataPOJO getProjectPropertyForKeyName(java.lang.String pKeyName)
public PropertyDataPOJO getForPropertyId(java.lang.Long pPropertyId)
pPropertyId
- public java.lang.String toString()
BasePOJO
public void remove(PropertyDataPOJO pProperty)
pProperty
- public boolean hasNewPropertyData()