Interface GenericArtifact

All Superinterfaces:
GovernanceArtifact
All Known Subinterfaces:
DetachedGenericArtifact
All Known Implementing Classes:
DetachedGenericArtifactImpl, GenericArtifactImpl

public interface GenericArtifact extends GovernanceArtifact
  • Method Details

    • getMediaType

      String getMediaType()
      Returns the media type of the artifact.
      Specified by:
      getMediaType in interface GovernanceArtifact
      Returns:
      the media type of the artifact
    • getContent

      byte[] getContent()
      Method to obtain the content of this artifact.
      Returns:
      the content.
    • setContent

      void setContent(byte[] content)
      Method to set the content of this artifact.
      Parameters:
      content - the element.