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