diff options
Diffstat (limited to 'src/main/java/org/openecomp/datarouter/entity')
-rw-r--r-- | src/main/java/org/openecomp/datarouter/entity/AaiEventEntity.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/java/org/openecomp/datarouter/entity/AaiEventEntity.java b/src/main/java/org/openecomp/datarouter/entity/AaiEventEntity.java index 12400ad..5f44fe1 100644 --- a/src/main/java/org/openecomp/datarouter/entity/AaiEventEntity.java +++ b/src/main/java/org/openecomp/datarouter/entity/AaiEventEntity.java @@ -138,7 +138,7 @@ public class AaiEventEntity implements DocumentStoreDataEntity, Serializable { } public void deriveFields() throws NoSuchAlgorithmException { - this.id = NodeUtils.generateUniqueShaDigest(this.getLink()); + this.id = NodeUtils.generateUniqueShaDigest(link); this.searchTags = concatArray(searchTagCollection, ';'); this.searchTagIds = concatArray(searchTagIdCollection, ';'); this.crossReferenceEntityValues = concatArray(crossEntityReferenceCollection, ';'); @@ -274,6 +274,14 @@ public class AaiEventEntity implements DocumentStoreDataEntity, Serializable { * } */ + public String getCrossReferenceEntityValues() { + return crossReferenceEntityValues; + } + + public void setCrossReferenceEntityValues(String crossReferenceEntityValues) { + this.crossReferenceEntityValues = crossReferenceEntityValues; + } + @Override public String toString() { return "AAIEventEntity [" + (entityType != null ? "entityType=" + entityType + ", " : "") |