Class AllocationExecutionReport

java.lang.Object
com.ptc.windchill.baseserver.bll.AbstractExecutionReport
com.ptc.windchill.mpml.bll.AllocationExecutionReport
All Implemented Interfaces:
ExecutionReport

public class AllocationExecutionReport extends com.ptc.windchill.baseserver.bll.AbstractExecutionReport
Report of a resource allocation. It may contain information regarding multiple resources being allocated to multiple operations.

Supported API: true

Extendable: false
  • Method Details

    • getLinkByOperationMap

      public Map<ObjectReference,Set<ObjectReference>> getLinkByOperationMap()
      Returns the references to the operation-to-resource links, keyed by the operation reference.

      Supported API: true
      Returns:
      map of link references keyed by operation reference
    • getAllocationResults

      public Set<ResourceAllocationResult> getAllocationResults()
      Returns the resource allocation results produced by the allocation.

      Supported API: true
      Returns:
      resource allocation results
    • addAllocationResult

      public void addAllocationResult(ResourceAllocationResult aResult)
      Adds the specified allocation result object to the result collection.

      Supported API: true
      Parameters:
      aResult - allocation result to be added
    • addLink

      public void addLink(ObjectReference aLink) throws WTException
      Adds the specified link to the map of link references.

      Supported API: true
      Parameters:
      aLink - link for which a reference must be added
      Throws:
      WTException - if unable to create an ObjectReference based on the specified link