com.ptc.epm.commands.XMLutil
Class ECADAbstractContent

java.lang.Object
  extended bycom.ptc.epm.commands.XMLutil.ECADXMLAbstractObject
      extended bycom.ptc.epm.commands.XMLutil.ECADAbstractContent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ECADEmbeddedContent, ECADFileGroupContent

public abstract class ECADAbstractContent
extends ECADXMLAbstractObject

ECADContent holds the data read from the defining XML file necessary for adding an content to an EPMDocument. If the "fileGroupName" field is null or has no data, the content will be added directly to the "parentNode". Otherwise a "filegroup" document will be created which will be linked to the EPMDocument held by "parentNode". "fileNames" contains the path name for each content item.

See Also:
Serialized Form

Field Summary
static String CONTENT_TAG
           
protected static String FILENAME_ATTR
           
protected  Vector fileNames
           
private  ECADDocument parentNode
           
 
Fields inherited from class com.ptc.epm.commands.XMLutil.ECADXMLAbstractObject
CHECKIN_COMMENT_ATTR, DESCRIPTION_ATTR, NAME_ATTR, NUMBER_ATTR, REVISION_ATTR
 
Constructor Summary
ECADAbstractContent(Element node)
           
 
Method Summary
 Vector getFileNames()
           
 ECADDocument getParentNode()
           
private  void initECADContent()
           
 void setParentNode(ECADDocument _owner)
           
 String toString()
           
 
Methods inherited from class com.ptc.epm.commands.XMLutil.ECADXMLAbstractObject
getCheckInComment, getDescription, getName, getNode, getNumber, getRevision, setAttribute, setCheckInComment, setDescription, setName, setNumber, setRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTENT_TAG

public static final String CONTENT_TAG
See Also:
Constant Field Values

FILENAME_ATTR

protected static final String FILENAME_ATTR
See Also:
Constant Field Values

fileNames

protected Vector fileNames

parentNode

private ECADDocument parentNode
Constructor Detail

ECADAbstractContent

public ECADAbstractContent(Element node)
                    throws WTException
Method Detail

setParentNode

public void setParentNode(ECADDocument _owner)

getParentNode

public ECADDocument getParentNode()

getFileNames

public Vector getFileNames()

toString

public String toString()

initECADContent

private void initECADContent()