Commit 2c436b9b authored by Sai Sathvik's avatar Sai Sathvik
Browse files

propertyId + property = propertyURI

Showing with 6 additions and 17 deletions
+6 -17
......@@ -154,11 +154,9 @@ public class Claim {
public static Claim fromDTO(ClaimDTO claimDTO) {
Claim claim = new Claim();
claim.setPropertyId(claimDTO.getPropertyId());
claim.setProperty(claimDTO.getProperty());
claim.setProperty(claimDTO.getPropertyURI());
claim.setEntity(claimDTO.getEntity());
claim.setEntityId(claimDTO.getEntityId());
claim.setPropertyId(claimDTO.getPropertyId());
claim.setConditions(claimDTO.getConditions());
claim.setAttestorEntity(claimDTO.getAttestorEntity());
claim.setStatus(ClaimStatus.OPEN.name());
......
......@@ -4,8 +4,7 @@ package io.opensaber.pojos.dto;
public class ClaimDTO {
private String entity;
private String entityId;
private String property;
private String propertyId;
private String propertyURI;
private String notes;
private String status;
private String conditions;
......@@ -26,20 +25,12 @@ public class ClaimDTO {
this.entityId = entityId;
}
public String getProperty() {
return property;
public String getPropertyURI() {
return propertyURI;
}
public void setProperty(String property) {
this.property = property;
}
public String getPropertyId() {
return propertyId;
}
public void setPropertyId(String propertyId) {
this.propertyId = propertyId;
public void setPropertyURI(String propertyURI) {
this.propertyURI = propertyURI;
}
public String getNotes() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment