Class Cconfig
java.lang.Object
org.chenile.jpautils.entity.BaseJpaEntity
org.chenile.cconfig.model.Cconfig
- All Implemented Interfaces:
ChenileEntity
This entity allows modification to a config key 'k" in module m for a specific customAttribute
or for all customAttributes if the customAtttibute value is set to
GLOBAL_CUSTOMIZATION_ATTRIBUTE
The whole key can be mutated or part of the key - as specified in path can be mutated.
The key can be mutated for all trajectories or for specific trajectories only. (if trajectoryId
is set to GLOBAL_CUSTOMIZATION_ATTRIBUTE)-
Field Summary
FieldsModifier and TypeFieldDescriptionThe attribute allows for overrides for specific requests.static final StringValue of customAttribute for everyone.For what trajectory id should this value be set?Fields inherited from class BaseJpaEntity
createdBy, createdTime, id, tenant, testEntity, version -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BaseJpaEntity
getCreatedBy, getCreatedTime, getId, getLastModifiedBy, getLastModifiedTime, getPrefix, getVersion, setCreatedBy, setCreatedTime, setId, setLastModifiedBy, setLastModifiedTime, setVersion
-
Field Details
-
GLOBAL_CUSTOMIZATION_ATTRIBUTE
Value of customAttribute for everyone. This will work for all requests.- See Also:
-
moduleName
-
keyName
-
avalue
-
customAttribute
The attribute allows for overrides for specific requests. For example, in a SaaS application it is possible to change the config only for specific tenants. custom Attribute is used to allow for overrides on the basis of specific tenants etc. -
path
-
trajectoryId
For what trajectory id should this value be set? Make itGLOBAL_CUSTOMIZATION_ATTRIBUTEto affect mainstream trajectory.
-
-
Constructor Details
-
Cconfig
public Cconfig()
-
CHENILE