Class ExpImpForMPMPlantAssignmentLink
java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForLinkObject
com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPlantAssignmentLink
com.ptc.windchill.mpml.ixb.handlers.forclasses.ExpImpForMPMPlantAssignmentLink
- All Implemented Interfaces:
ClassExporter,ClassExporterImporter,ElementImporter
public class ExpImpForMPMPlantAssignmentLink
extends com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPlantAssignmentLink
Export/Import for the MPMPlantAssignmentLink
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Field Summary
Fields inherited from interface wt.ixb.publicforhandlers.ClassExporter
NO_PRIORITYFields inherited from interface wt.ixb.publicforhandlers.ElementImporter
NO_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcreateLinkObject(IxbElement fileXML, Importer importer, Persistable roleAObj, Persistable roleBObj) Create a MPMPlantAssignmentLink based on ufids of its ends (Uses and UsedBy).
Those ufids are retrieved from the MPMPlantAssignmentLink's XML file.importObjectAttributes(Object ob, IxbElement fileXML, Importer importer) Import attributes for a MPMPlantAssignmentLink from its XML file.
Supported API: trueMethods inherited from class wt.ixb.publicforhandlers.ExpImpForLinkObject
importElements, prepareForCheckConflictsMethods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate
_checkConflicts, createFileXMLOnExport, execExportObjectContents, exportAttributes, exportObject, finalizeImportObject, importElement, importObjectAttributesAfterStore, rememberNewObInfo, storeAdditionalInfo, storeElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface wt.ixb.publicforhandlers.ElementImporter
getObjectDisplayIDs
-
Method Details
-
createLinkObject
protected Object createLinkObject(IxbElement fileXML, Importer importer, Persistable roleAObj, Persistable roleBObj) throws WTException Create a MPMPlantAssignmentLink based on ufids of its ends (Uses and UsedBy).
Those ufids are retrieved from the MPMPlantAssignmentLink'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:
createLinkObjectin classExpImpForLinkObject- Parameters:
fileXML- XML file that contains information about the MPMPlantAssignmentLinkimporter- 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 MPMPlantAssignmentLink from its XML file.
Supported API: true- Overrides:
importObjectAttributesin classClassExporterImporterTemplate- Parameters:
ob- The MPMPlantAssignmentLinkfileXML- XML file that contains information about the MPMPlantAssignmentLinkimporter- The instance of the class Importer that calls this handler- Returns:
- the link if its attributes are successfully imported, or null
- Throws:
WTException
-