78 lines
1.4 KiB
Java
78 lines
1.4 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_2")
|
|
@IdClass(ConceptLevel2PK.class)
|
|
public class ConceptLevel2 extends CtxInfoWithClaim {
|
|
|
|
private static final long serialVersionUID = 906131339592862096L;
|
|
|
|
@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;
|
|
|
|
@Id
|
|
@Column(name = "c1_id")
|
|
private String conceptLevel1Id;
|
|
|
|
@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;
|
|
}
|
|
|
|
public String getConceptLevel1Id() {
|
|
return conceptLevel1Id;
|
|
}
|
|
|
|
public void setConceptLevel1Id(final String conceptLevel1Id) {
|
|
this.conceptLevel1Id = conceptLevel1Id;
|
|
}
|
|
}
|