2021-11-24 14:47:59 +01:00
|
|
|
package org.gcube.application.geoportal.common.model.document;
|
|
|
|
|
2022-02-23 17:13:22 +01:00
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
2021-11-24 14:47:59 +01:00
|
|
|
import lombok.*;
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@ToString
|
|
|
|
public class Relationship {
|
2021-12-01 11:13:34 +01:00
|
|
|
|
2022-02-18 18:12:02 +01:00
|
|
|
public static final String RELATIONSHIP_NAME="_relationshipName";
|
|
|
|
public static final String TARGET_ID="_targetID";
|
2022-04-11 17:23:27 +02:00
|
|
|
public static final String TARGET_UCD="_targetUCD";
|
2022-01-14 12:31:11 +01:00
|
|
|
|
2022-02-23 17:13:22 +01:00
|
|
|
@JsonProperty(RELATIONSHIP_NAME)
|
2021-12-01 11:13:34 +01:00
|
|
|
private String relationshipName;
|
2022-02-23 17:13:22 +01:00
|
|
|
@JsonProperty(TARGET_ID)
|
2021-12-01 11:13:34 +01:00
|
|
|
private String targetID;
|
2022-04-11 17:23:27 +02:00
|
|
|
@JsonProperty(TARGET_ID)
|
|
|
|
private String targetUCD;
|
2021-12-01 11:13:34 +01:00
|
|
|
|
2021-11-24 14:47:59 +01:00
|
|
|
}
|