View Javadoc
1   package de.dlr.shepard.neo4Core.entities;
2   
3   import org.neo4j.ogm.annotation.Index;
4   import org.neo4j.ogm.annotation.NodeEntity;
5   
6   import lombok.Data;
7   import lombok.EqualsAndHashCode;
8   import lombok.NoArgsConstructor;
9   import lombok.ToString;
10  
11  @NodeEntity
12  @Data
13  @ToString(callSuper = true)
14  @EqualsAndHashCode(callSuper = true)
15  @NoArgsConstructor
16  public class VersionableEntity extends BasicEntity {
17  
18  	@Index
19  	private Long shepardId;
20  
21  	/**
22  	 * For testing purposes only
23  	 *
24  	 * @param id identifies the entity
25  	 */
26  	protected VersionableEntity(long id) {
27  		super(id);
28  	}
29  
30  }