com.ptc.edadata
Class ResponseItem

java.lang.Object
  extended bycom.ptc.edadata.ExchangeItem
      extended bycom.ptc.edadata.ResponseItem
Direct Known Subclasses:
BOMResponseItem, CleanupResponseItem, ECADTypeResponseItem, EDAViewableResponseItem, ExtraOptionsNeededResponseItem, FileListResponseItem, VerifyDesignResponseItem

public abstract class ResponseItem
extends ExchangeItem

Title: ResponseItem

Description: This is the base class for all response objects.

Copyright: Copyright (c) 2004

Company: PTC


Field Summary
private  ECADType m_ecadType
           
 
Constructor Summary
ResponseItem()
          Default constructor.
ResponseItem(ECADType ecadType)
           
 
Method Summary
 ECADType getEcadType()
          This method will get the eCAD type of response object.
abstract  ResponseType getType()
           
 void setEcadType(ECADType ecadType)
          This method will set the eCAD type of response object.
 
Methods inherited from class com.ptc.edadata.ExchangeItem
getID, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ecadType

private ECADType m_ecadType
Constructor Detail

ResponseItem

public ResponseItem()
Default constructor.


ResponseItem

public ResponseItem(ECADType ecadType)
Method Detail

getEcadType

public ECADType getEcadType()
This method will get the eCAD type of response object. As we plan to be able to handle assemblies having scematic and board designed by different ECADs, both request and response items must have a "ECAD type" attribute

Returns:
Design's ECAD type string.

setEcadType

public void setEcadType(ECADType ecadType)
This method will set the eCAD type of response object. As we plan to be able to handle assemblies having scematic and board designed by different ECADs, both request and response items must have a "ECAD type" attribute


getType

public abstract ResponseType getType()