|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.hli.ecad.ECADDocument
The ECADDocument class represents an individual CAD document within an assembly. It may be of type "ASSEMBLY", "BOARD", "COMPONENT", "SCHEMATIC", "SOURCE". or "CONTENT".
Supported API: true
Extendable: false
Field Summary | |
private HashMap |
assemblies
|
static String |
ASSEMBLY
Label for the ECAD Document Type attribute "ASSEMBLY" Supported API: true |
static EPMDocumentType |
ASSEMBLY_TYPE
|
static String |
BOARD
Label for the ECAD Document Type attribute "BOARD" Supported API: true |
static EPMDocumentType |
BOARD_TYPE
|
static String |
CADENCE
Label for the Authoring Application attribute Cadence Supported API: true |
static String |
COMPONENT
Label for the ECAD Document Type attribute "COMPONENT" Supported API: true |
static EPMDocumentType |
COMPONENT_TYPE
|
static String |
CONTENT
Label for the ECAD Document Type attribute "CONTENT" Supported API: true |
static EPMDocumentType |
CONTENT_TYPE
|
private Vector |
describeBy
|
private ECADDesign |
design
|
private EPMDocument |
document
|
private static String |
ECADHLIRESOURCE
|
private Folder |
folderCache
|
private HashMap |
links
|
static String |
MENTORB
Label for the Authoring Application attribute Mentor Board Station Supported API: true |
static String |
MENTORE
Label for the Authoring Application attribute Mentor Expedition Supported API: true |
static String |
SCHEMATIC
Label for the ECAD Document Type attribute "SCHEMATIC" Supported API: true |
static EPMDocumentType |
SCHEMATIC_TYPE
|
static String |
SOURCE
Label for the ECAD Document Type attribute "SOURCE" Supported API: true |
static EPMDocumentType |
SOURCE_TYPE
|
private String |
targetRevision
|
Constructor Summary | |
ECADDocument(EPMDocument document)
Construst an ECADDocument with the given EPMDocument Supported API: false |
Method Summary | |
void |
addAssembly(ECADAssembly assembly)
Associate an ECADAssembly with this ECADDocument Supported API: false |
void |
addLink(String number,
EPMDependencyLink link)
|
void |
deleteAttrValue(String attrDefName)
Delete the value(s) of the named Attribute associated with this ECADDocument Supported API: true |
Collection |
getAssemblies()
Get a collection of all ECADAssemblies associated with this ECADDocument Supported API: false |
ECADAssembly |
getAssembly(String assemblyNumber)
Get the numbered ECADAssembly associated with this ECADDocument Supported API: false |
Object |
getAttrValue(String attrDefName)
Get the value of the named Attribute associated with this ECADDocument Supported API: true |
String |
getAuthoringApplication()
Return the Authoring Application of the ECADDocument Supported API: true |
long |
getBranch()
Get the Branch ID associated with this ECADDocument Supported API: false |
String |
getContext()
|
Vector |
getDescribeBy()
|
String |
getDescription()
Return the description of the ECADDocument Supported API: true |
ECADDesign |
getDesign()
Get the ECADDesign for this assembly Supported API: false |
String |
getDocFolderPath()
Path of folder holding EPM documents. |
static ECADDocument |
getDocument(String number,
String version,
WTContainerRef containerRef)
Static method to return the ECADDocument with the given number, version. |
String |
getDocumentType()
Return the Document Type of the ECADDocument Supported API: true |
EPMDocument |
getEPMDocument()
Get the EPMDocument associated with this ECADDocument Supported API: false |
Folder |
getFolder()
Return the Folder of the ECADDocument Supported API: true |
String |
getIteration()
Return the iteration of the ECADDocument Supported API: true |
String |
getLifeCycleName()
Return the LifeCycle name of the ECADDocument Supported API: true |
EPMDependencyLink |
getLink(String number)
|
Iterator |
getLinkIterator()
|
Collection |
getLinks()
|
String |
getName()
Return the name of the ECADDocument Supported API: true |
String |
getNumber()
Return the number of the ECADDocument Supported API: true |
private static Folder |
getOriginalFolder(EPMDocument doc)
Path of design's superfolder. |
String |
getProjectName()
Return the project name of the ECADDocument Supported API: true |
String |
getSolution()
|
String |
getTargetRevision()
Return the target Revision for the CADDocument Supported API: true |
protected String |
getTeamTemplateName()
Return the name of the Team Template for this ECADDocument Supported API: false |
String |
getTopFolderPath()
|
String |
getVersion()
Return the version of the ECADDocument Supported API: true |
static boolean |
isLatestDocument(String number,
String version,
WTContainerRef containerRef)
|
boolean |
isPersistent()
Check the persisted status of the EPMDocument underlying the ECADDocument. |
protected void |
loadFileGroups(HashSet hSet)
|
static EPMDocument |
lookupDocument(String number,
String version,
WTContainerRef containerRef)
Static method to return the EPMDocument with the given number, version. |
static ECADDocument |
newECADDocument(String number,
String name,
String authoringApp,
String type,
String revision,
WTContainerRef containerRef)
Factory method to construct a new ECADDocument from the number, name, authoringApplication, type and revision. |
static ECADDocument |
newECADDocument(String number,
String name,
String authoringApp,
String type,
WTContainerRef containerRef)
Factory method to construct a new ECADDocument from the number, name, authoringApplication and type. |
void |
removeAssembly(String assemblyNumber)
Remove the association between an ECADAssembly and this ECADDocument Supported API: false |
void |
removeLink(EPMDependencyLink link)
|
void |
removeLink(String number)
|
void |
setAttrValue(String attrDefName,
Object newValue)
Set the value of the named Attribute associated with this ECADDocument Supported API: true |
void |
setDescribeBy(Vector describeByLinks)
|
void |
setDescription(String newDescription)
Set the description of the ECADDocument Supported API: true |
void |
setDesign(ECADDesign _design)
Set the ECADDesign for this assembly Supported API: false |
void |
setLifeCycle(String lifeCycleName,
WTContainerRef containerRef)
|
void |
setTargetRevision(String _targetRevision)
Set the target Revision of the CADDocument Supported API: true |
protected void |
setTeamTemplate(String templateName)
|
String |
toString()
Override of the toString method for outputting the ECADDocument Supported API: false |
void |
update(EPMDocument document)
Update the EPMDocument associated with this ECADDocument Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String MENTORB
public static final String MENTORE
public static final String CADENCE
public static final String ASSEMBLY
public static final String BOARD
public static final String COMPONENT
public static final String SCHEMATIC
public static final String SOURCE
public static final String CONTENT
public static final EPMDocumentType ASSEMBLY_TYPE
public static final EPMDocumentType BOARD_TYPE
public static final EPMDocumentType COMPONENT_TYPE
public static final EPMDocumentType SCHEMATIC_TYPE
public static final EPMDocumentType SOURCE_TYPE
public static final EPMDocumentType CONTENT_TYPE
private static final String ECADHLIRESOURCE
private ECADDesign design
private EPMDocument document
private HashMap assemblies
private HashMap links
private String targetRevision
private Folder folderCache
private Vector describeBy
Constructor Detail |
public ECADDocument(EPMDocument document)
Method Detail |
public void setDesign(ECADDesign _design)
public ECADDesign getDesign()
public String getNumber()
public String getName()
public String getDescription()
public void setDescription(String newDescription) throws WTPropertyVetoException
WTPropertyVetoException
public String getVersion()
public String getIteration()
public String getDocumentType()
public String getAuthoringApplication()
public String getProjectName()
public String getLifeCycleName()
public Folder getFolder()
public boolean isPersistent()
public static ECADDocument newECADDocument(String number, String name, String authoringApp, String type, WTContainerRef containerRef) throws WTException
IllegalArgumentException,
- WTException
WTException
public static ECADDocument newECADDocument(String number, String name, String authoringApp, String type, String revision, WTContainerRef containerRef) throws WTException
IllegalArgumentException,
- WTException
WTException
public static ECADDocument getDocument(String number, String version, WTContainerRef containerRef) throws WTException
IllegalArgumentException,
- WTException
WTException
public String toString()
public EPMDocument getEPMDocument()
public void addAssembly(ECADAssembly assembly)
public void removeAssembly(String assemblyNumber)
public ECADAssembly getAssembly(String assemblyNumber)
public Collection getAssemblies()
public void addLink(String number, EPMDependencyLink link)
public void removeLink(String number)
public void removeLink(EPMDependencyLink link)
public EPMDependencyLink getLink(String number)
public Collection getLinks()
public Iterator getLinkIterator()
public Vector getDescribeBy()
public void setDescribeBy(Vector describeByLinks)
public void update(EPMDocument document)
public long getBranch()
public static EPMDocument lookupDocument(String number, String version, WTContainerRef containerRef) throws WTException
WTException
public static boolean isLatestDocument(String number, String version, WTContainerRef containerRef) throws WTException
WTException
public Object getAttrValue(String attrDefName) throws WTException
IllegalArgumentException,
- WTException
WTException
public void setAttrValue(String attrDefName, Object newValue) throws WTException
IllegalArgumentException,
- WTException
WTException
public void deleteAttrValue(String attrDefName) throws WTException
IllegalArgumentException,
- WTException
WTException
protected void loadFileGroups(HashSet hSet) throws WTException
WTException
protected String getTeamTemplateName()
protected void setTeamTemplate(String templateName) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
public void setLifeCycle(String lifeCycleName, WTContainerRef containerRef) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
public String getTargetRevision()
public void setTargetRevision(String _targetRevision)
public String getDocFolderPath()
private static Folder getOriginalFolder(EPMDocument doc)
public String getTopFolderPath()
public String getSolution()
public String getContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |