Interface ProvenanceFacet
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
ProvenanceFacetImpl
@TypeMetadata(name="ProvenanceFacet",
description="ProvenanceFacet captures information on provenance/lineage of the entire resource. It is mainly used to describe provenance information of a Dataset.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface ProvenanceFacet
extends org.gcube.informationsystem.model.reference.entities.Facet
ProvenanceFacet captures information on provenance/lineage of the entire resource.
It is mainly used to describe provenance information of a Dataset.
https://wiki.gcube-system.org/gcube/GCube_Model#Provenance_Facet
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionstatic ProvenanceFacetReturns a default instance of ProvenanceFacetProvenance Document, e.g., an XML according to the reference schema.The ID of the referenced resource.Relationship with the resource indicated by ID.voidsetDocument(ValueSchema document) Sets the Provenance Document, e.g., an XML according to the reference schema.voidsetReference(String reference) Sets the ID of the referenced resource.voidsetRelationship(String relationship) Sets the Relationship with the resource indicated by ID.Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
NAME
The name associated with this facet- See Also:
-
-
Method Details
-
getDefaultInstance
Returns a default instance of ProvenanceFacet- Returns:
- a default instance of ProvenanceFacet
-
getRelationship
@ISProperty(description="Relationship with the resource indicated by ID. Please note that the provenance has not been modelled as IsRelatedTo specialization, because the source resource is not necessarly in the IS or could be deleted from the IS at any time.") String getRelationship()Relationship with the resource indicated by ID.- Returns:
- the relationship
-
setRelationship
Sets the Relationship with the resource indicated by ID.- Parameters:
relationship- the relationship
-
getReference
The ID of the referenced resource.- Returns:
- the reference
-
setReference
Sets the ID of the referenced resource.- Parameters:
reference- the reference
-
getDocument
@ISProperty(description="Provenance Document, e.g., an XML according to the reference schema.") ValueSchema getDocument()Provenance Document, e.g., an XML according to the reference schema.- Returns:
- the document
-
setDocument
Sets the Provenance Document, e.g., an XML according to the reference schema.- Parameters:
document- the document
-