SemanticRepository.java
package de.dlr.shepard.neo4Core.entities;
import de.dlr.shepard.semantics.SemanticRepositoryType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.neo4j.ogm.annotation.NodeEntity;
@NodeEntity
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SemanticRepository extends BasicEntity {
private SemanticRepositoryType type;
private String endpoint;
/**
* For testing purposes only
*
* @param id identifies the entity
*/
public SemanticRepository(long id) {
super(id);
}
}