67 lines
1.2 KiB
Java
67 lines
1.2 KiB
Java
package eu.dnetlib.is.context.model;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.IdClass;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@Table(name = "context_cat_concepts_lvl_1")
|
|
@IdClass(ConceptLevel1PK.class)
|
|
public class ConceptLevel1 extends CtxInfoWithClaim {
|
|
|
|
private static final long serialVersionUID = -759398689766245784L;
|
|
|
|
@Id
|
|
@Column(name = "id")
|
|
private String id;
|
|
|
|
@Id
|
|
@Column(name = "ctx_id")
|
|
private String contextId;
|
|
|
|
@Id
|
|
@Column(name = "cat_id")
|
|
private String categoryId;
|
|
|
|
@Id
|
|
@Column(name = "c0_id")
|
|
private String conceptLevel0Id;
|
|
|
|
@Override
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
@Override
|
|
public void setId(final String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getContextId() {
|
|
return contextId;
|
|
}
|
|
|
|
public void setContextId(final String contextId) {
|
|
this.contextId = contextId;
|
|
}
|
|
|
|
public String getCategoryId() {
|
|
return categoryId;
|
|
}
|
|
|
|
public void setCategoryId(final String categoryId) {
|
|
this.categoryId = categoryId;
|
|
}
|
|
|
|
public String getConceptLevel0Id() {
|
|
return conceptLevel0Id;
|
|
}
|
|
|
|
public void setConceptLevel0Id(final String conceptLevel0Id) {
|
|
this.conceptLevel0Id = conceptLevel0Id;
|
|
};
|
|
|
|
}
|