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