|
|
@ -69,9 +69,6 @@ public class RuleChainEntity extends BaseVersionedEntity<RuleChain> { |
|
|
@Column(name = ModelConstants.ADDITIONAL_INFO_PROPERTY) |
|
|
@Column(name = ModelConstants.ADDITIONAL_INFO_PROPERTY) |
|
|
private JsonNode additionalInfo; |
|
|
private JsonNode additionalInfo; |
|
|
|
|
|
|
|
|
@Column(name = ModelConstants.RULE_CHAIN_NOTES_PROPERTY, columnDefinition = "TEXT") |
|
|
|
|
|
private String notes; |
|
|
|
|
|
|
|
|
|
|
|
@Column(name = ModelConstants.EXTERNAL_ID_PROPERTY) |
|
|
@Column(name = ModelConstants.EXTERNAL_ID_PROPERTY) |
|
|
private UUID externalId; |
|
|
private UUID externalId; |
|
|
|
|
|
|
|
|
@ -90,7 +87,6 @@ public class RuleChainEntity extends BaseVersionedEntity<RuleChain> { |
|
|
this.debugMode = ruleChain.isDebugMode(); |
|
|
this.debugMode = ruleChain.isDebugMode(); |
|
|
this.configuration = ruleChain.getConfiguration(); |
|
|
this.configuration = ruleChain.getConfiguration(); |
|
|
this.additionalInfo = ruleChain.getAdditionalInfo(); |
|
|
this.additionalInfo = ruleChain.getAdditionalInfo(); |
|
|
this.notes = ruleChain.getNotes(); |
|
|
|
|
|
if (ruleChain.getExternalId() != null) { |
|
|
if (ruleChain.getExternalId() != null) { |
|
|
this.externalId = ruleChain.getExternalId().getId(); |
|
|
this.externalId = ruleChain.getExternalId().getId(); |
|
|
} |
|
|
} |
|
|
@ -111,7 +107,6 @@ public class RuleChainEntity extends BaseVersionedEntity<RuleChain> { |
|
|
ruleChain.setDebugMode(debugMode); |
|
|
ruleChain.setDebugMode(debugMode); |
|
|
ruleChain.setConfiguration(configuration); |
|
|
ruleChain.setConfiguration(configuration); |
|
|
ruleChain.setAdditionalInfo(additionalInfo); |
|
|
ruleChain.setAdditionalInfo(additionalInfo); |
|
|
ruleChain.setNotes(notes); |
|
|
|
|
|
if (externalId != null) { |
|
|
if (externalId != null) { |
|
|
ruleChain.setExternalId(new RuleChainId(externalId)); |
|
|
ruleChain.setExternalId(new RuleChainId(externalId)); |
|
|
} |
|
|
} |
|
|
|