Class LinkInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class LinkInfo
    extends Description
    Holds the information about a document link.
    Extends the Description with the link id (HDoc).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkInfo​(java.lang.String ddcName, java.lang.String linkId, java.util.Map<java.lang.String,​java.lang.Object> nameValuePairs, java.lang.String versionComment)
      Creates a new document link.
    • Constructor Detail

      • LinkInfo

        public LinkInfo​(java.lang.String ddcName,
                        java.lang.String linkId,
                        java.util.Map<java.lang.String,​java.lang.Object> nameValuePairs,
                        java.lang.String versionComment)
        Creates a new document link.
        Parameters:
        ddcName - The name of the database definition
        linkId - The ID of the document (HDOC) to link
        nameValuePairs - A map containing the metadata. Only the contained properties will be updated.
        versionComment - The comment for the version
    • Method Detail

      • getLinkId

        public java.lang.String getLinkId()
        Gets the id (Hdoc) of linked document.
        Returns:
        the link id
      • setLinkId

        public void setLinkId​(java.lang.String xhdoc)
        Sets the id (Hdoc) of linked document.
        Parameters:
        xhdoc - the new document link id