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