Package com.ptc.windchill.mpml.nc
Class DefaultNCFileStepsParserDelegate
java.lang.Object
com.ptc.windchill.mpml.nc.AbstractNCFileParser
com.ptc.windchill.mpml.nc.DefaultNCFileOperationsParserDelegate
com.ptc.windchill.mpml.nc.DefaultNCFileStepsParserDelegate
- All Implemented Interfaces:
com.ptc.windchill.mpml.nc.NCFileOperationsParser,com.ptc.windchill.mpml.nc.NCFileParser
This is the default parser for NC steps. In an NC/XML file, the Steps are the children of an operation.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class com.ptc.windchill.mpml.nc.AbstractNCFileParser
RESOURCE_BUNDLE -
Method Summary
Modifier and TypeMethodDescriptiongetFixtures(String iOperationID, Element iElement, NCFileHelperData iHelperData, NCFileLog iLog, List<NCFileResouceData> resourceDatas) Retrieve the fixture allocations declared in the XML for this operation.getNamePrefix(Element iElement) Get the name prefix for this operation.getWorkCenter(MPMOperation iOperation, Element iElement, NCFileHelperData iHelperData, NCFileLog iLog) Retrieve the work center allocation declared in the XML for this operation.Methods inherited from class com.ptc.windchill.mpml.nc.DefaultNCFileOperationsParserDelegate
attributeValueToCompareWithXmlValue, createToolingAllocations, equals, equals, getAllFixturesFromElement, getAllNotesFromElement, getAllStepsFromElement, getAllToolingsFromElement, getAllWorkCentersFromElement, getFixtures, getLongDescription, getProcessingTime, getProcessingTime, getSetupTime, getSetupTime, getToolings, getToolings, getToolingsAllocation, getToolingsAllocationWithSpecifiedPropertyValue, getWorkCenterAllocation, importOperationsAndStepsUserOption, parse, parse, removeToolingAllocations, replaceLongDescription, replaceProcessingTime, replaceSetupTime, replaceWorkCenter, updateFixtureAllocations, updateLongDescription, updateOperationWithInformationFomXML, updateProcessingTime, updateSetupTimeFromFixture, updateTimeCostAndFormulaValuesUserOption, updateToolingAllocations, updateWorkCenterAllocationMethods inherited from class com.ptc.windchill.mpml.nc.AbstractNCFileParser
getAttributeForCadDocumentUniqueId, getAttributeForUniqueId, getElementName, getId, getId, getId, getId, getId, getLatestIterationForCADDocument, getLatestIterations, isNullOrBlank, logAdd, logError, logRemove, logReplaced, logSuccess, logUpdate, queryFromDB
-
Method Details
-
getNamePrefix
Get the name prefix for this operation.
Supported API: true- Overrides:
getNamePrefixin classDefaultNCFileOperationsParserDelegate- Parameters:
iElement- The XML element containing the declaration of the operation.- Returns:
- The name prefix.
- See Also:
-
getWorkCenter
public MPMWorkCenterMaster getWorkCenter(MPMOperation iOperation, Element iElement, NCFileHelperData iHelperData, NCFileLog iLog) Retrieve the work center allocation declared in the XML for this operation.
Supported API: true- Overrides:
getWorkCenterin classDefaultNCFileOperationsParserDelegate- Parameters:
iElement- The element inside the XML file containing the declaration of this operation.iHelperData- The client info and data for parsing (user options, locales, database objects).iLog- The log to fill.- Returns:
- The work center referenced by the operation or
nullif no work center was found or if the operation does not reference any work centers. - See Also:
-
getFixtures
public WTSet getFixtures(String iOperationID, Element iElement, NCFileHelperData iHelperData, NCFileLog iLog, List<NCFileResouceData> resourceDatas) throws WTException Retrieve the fixture allocations declared in the XML for this operation.
Supported API: true- Overrides:
getFixturesin classDefaultNCFileOperationsParserDelegate- Parameters:
iOperationID- The ID of the current operation.iElement- The element inside the XML file containing the declaration of this operation.iHelperData- The client info and data for parsing (user options, locales, database objects).iLog- The log to fill.- Returns:
- The set of fixtures referenced by the operation or
nullif no fixture was found or if the operation does not reference any fixtures. - Throws:
WTException- See Also:
-