Removed information which can be get by navigating ConsistsOf

This commit is contained in:
Luca Frosini 2023-04-28 11:41:53 +02:00
parent 3a5839dde5
commit 971ab9005b
2 changed files with 1 additions and 23 deletions

View File

@ -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
*/

View File

@ -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();