diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/ProvenanceFacetImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/ProvenanceFacetImpl.java index 27c4c80..1fae72f 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/ProvenanceFacetImpl.java +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/entities/facets/ProvenanceFacetImpl.java @@ -41,21 +41,6 @@ public class ProvenanceFacetImpl extends FacetImpl implements ProvenanceFacet { this.relationship = relationship; } - /** - * @return the reference - */ - @Override - public UUID getReference() { - return reference; - } - - /** - * @param reference the reference to set - */ - @Override - public void setReference(UUID reference) { - this.reference = reference; - } /** * @return the document */ diff --git a/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ProvenanceFacet.java b/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ProvenanceFacet.java index c9c3d90..f930e7f 100644 --- a/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ProvenanceFacet.java +++ b/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/ProvenanceFacet.java @@ -3,8 +3,6 @@ */ package org.gcube.resourcemanagement.model.reference.entities.facets; -import java.util.UUID; - import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.gcube.informationsystem.model.reference.entities.Facet; import org.gcube.informationsystem.types.annotations.ISProperty; @@ -38,16 +36,11 @@ public interface ProvenanceFacet extends Facet { wasDerivedFrom, wasGeneratedBy /* .... */ } - @ISProperty(description = "Relationship with the resource indicated by UUID.") + @ISProperty(description = "Relationship with the resource indicated by ID.") public Relationship getRelationship(); public void setRelationship(Relationship relationship); - @ISProperty(description = "UUID of the referenced resource.") - public UUID getReference(); - - public void setReference(UUID reference); - @ISProperty(description = "Provenance Document, e.g., an XML according to the reference schema.") public ValueSchema getDocument();