Class ExpImpForWTDocumentDependencyLink

java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForLinkObject
wt.ixb.handlers.forclasses._ExpImpForWTDocumentDependencyLink
wt.ixb.handlers.forclasses.ExpImpForWTDocumentDependencyLink
All Implemented Interfaces:
ClassExporter, ClassExporterImporter, ElementImporter

public class ExpImpForWTDocumentDependencyLink extends wt.ixb.handlers.forclasses._ExpImpForWTDocumentDependencyLink


Supported API: true

Extendable: false
  • Method Details

    • createLinkObject

      protected Object createLinkObject(IxbElement fileXML, Importer importer, Persistable roleAObj, Persistable roleBObj) throws WTException
      Create a WTDocumentDependencyLink based on ufids of its ends (Describes and DescribedBy).
      Those ufids are retrieved from the WTDocumentDependencyLink's XML file.
      If the ufids of the ends of the link are modified when they are imported, their new ufids will be retrieved from the Hashtable htModifiedObject defined in the class Importer.

      Supported API: true
      Specified by:
      createLinkObject in class ExpImpForLinkObject
      Parameters:
      fileXML - XML file that contains information about the WTDocumentDependencyLink
      impoter - The instance of the class Importer that calls this handler
      Returns:
      The link if it is successfully created, or null
      Throws:
      WTException