Class ExpImpForMPMOperationUsageLink

java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForLinkObject
com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationUsageLink
com.ptc.windchill.mpml.ixb.handlers.forclasses.ExpImpForMPMOperationUsageLink
All Implemented Interfaces:
ClassExporter, ClassExporterImporter, ElementImporter

public class ExpImpForMPMOperationUsageLink extends com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationUsageLink
Export/Import for the MPMOperationUsageLink

Supported API: true

Extendable: false
  • Method Details

    • createLinkObject

      protected Object createLinkObject(IxbElement fileXML, Importer importer, Persistable roleAObj, Persistable roleBObj) throws WTException
      Create a MPMOperationUsageLink based on ufids of its ends (Uses and UsedBy).
      Those ufids are retrieved from the MPMOperationUsageLink'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 MPMOperationUsageLink
      importer - The instance of the class Importer that calls this handler
      Returns:
      the link if it is successfully created, or null
      Throws:
      WTException
    • importObjectAttributes

      public Object importObjectAttributes(Object ob, IxbElement fileXML, Importer importer) throws WTException
      Import attributes for a MPMOperationUsageLink from its XML file.


      Supported API: true
      Overrides:
      importObjectAttributes in class ClassExporterImporterTemplate
      Parameters:
      ob - The MPMOperationUsageLink
      fileXML - XML file that contains information about the MPMOperationUsageLink
      importer - The instance of the class Importer that calls this handler
      Returns:
      the link if its attributes are successfully imported, or null
      Throws:
      WTException
    • importObjectAttributesAfterStore

      public Object importObjectAttributesAfterStore(Object ob, IxbElement fileXML, Importer importer) throws WTException
      Import attributes for a MPMOperationUsageLink from its XML file after it is stored.


      Supported API: true
      Overrides:
      importObjectAttributesAfterStore in class ClassExporterImporterTemplate
      Parameters:
      ob - The MPMOperationUsageLink
      fileXML - XML file that contains information about the MPMOperationUsageLink
      importer - The instance of the class Importer that calls this handler
      Returns:
      the link if its attributes are successfully imported, or null
      Throws:
      WTException