View Javadoc
1   package de.dlr.shepard.context.semantic.entities;
2   
3   import de.dlr.shepard.common.neo4j.entities.BasicEntity;
4   import de.dlr.shepard.context.semantic.SemanticRepositoryType;
5   import lombok.Data;
6   import lombok.EqualsAndHashCode;
7   import lombok.NoArgsConstructor;
8   import org.neo4j.ogm.annotation.NodeEntity;
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  }