Class BaseArtifact

    • Constructor Detail

      • BaseArtifact

        public BaseArtifact​(org.eclipse.rdf4j.model.IRI parentIri)
      • BaseArtifact

        public BaseArtifact​(org.eclipse.rdf4j.model.IRI parentIri,
                            Artifact src)
    • Method Detail

      • getIri

        public org.eclipse.rdf4j.model.IRI getIri()
        Description copied from interface: Artifact
        Gets a unique artifact ID
        Specified by:
        getIri in interface Artifact
        Returns:
        the ID
      • setIri

        public void setIri​(org.eclipse.rdf4j.model.IRI iri)
        Description copied from interface: Artifact
        Sets the IRI of the artifact.
        Specified by:
        setIri in interface Artifact
        Parameters:
        iri - the new artifact IRI
      • getParentIri

        public org.eclipse.rdf4j.model.IRI getParentIri()
        Description copied from interface: Artifact
        Gets the IRI of the parent artifact - the artifact this one was created from.
        Specified by:
        getParentIri in interface Artifact
        Returns:
        the parent artifact IRI or null when this is an initial artifact.
      • setParentIri

        public void setParentIri​(org.eclipse.rdf4j.model.IRI parentIri)
      • getLabel

        public String getLabel()
        Description copied from interface: Artifact
        Gets the element label when it is defined.
        Specified by:
        getLabel in interface Artifact
        Returns:
        the label or null when no label is defined
      • setLabel

        public void setLabel​(String label)
      • getCreatedOn

        public Date getCreatedOn()
        Description copied from interface: Artifact
        The artifact creation date.
        Specified by:
        getCreatedOn in interface Artifact
        Returns:
        the date/time of the artifact creation.
      • setCreatedOn

        public void setCreatedOn​(Date createdOn)
      • getCreator

        public String getCreator()
        Description copied from interface: Artifact
        An identification of the service that created the artifact.
        Specified by:
        getCreator in interface Artifact
        Returns:
        a service ID string
      • setCreator

        public void setCreator​(String creator)
      • getCreatorParams

        public String getCreatorParams()
        Description copied from interface: Artifact
        The parametres of the service used for creating the artifact.
        Specified by:
        getCreatorParams in interface Artifact
        Returns:
        a service parameter string
      • setCreatorParams

        public void setCreatorParams​(String creatorParams)
      • getMetadata

        public Collection<Metadata> getMetadata()
        Description copied from interface: Artifact
        Metadata provided for the entire artifact.
        Specified by:
        getMetadata in interface Artifact
        Returns:
        A metadata collection or null when no metadata is provided.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object