1 package de.dlr.shepard.neo4Core.entities;
2
3 import java.util.Map;
4 import lombok.Data;
5 import lombok.EqualsAndHashCode;
6 import lombok.NoArgsConstructor;
7 import lombok.ToString;
8 import org.neo4j.ogm.annotation.Properties;
9
10 @Data
11 @ToString(callSuper = true)
12 @NoArgsConstructor
13 @EqualsAndHashCode(callSuper = true)
14 public abstract class AbstractDataObject extends VersionableEntity {
15
16 private String description;
17
18 @ToString.Exclude
19 @Properties(delimiter = "||")
20 private Map<String, String> attributes;
21
22
23
24
25
26
27 protected AbstractDataObject(long id) {
28 super(id);
29 }
30 }