wt.epm.clients.relateditems
Class DocCentricSelector
java.lang.Object
wt.epm.clients.relateditems.RelatedItemsSelector
wt.epm.clients.relateditems.DocCentricSelector
- public class DocCentricSelector
- extends RelatedItemsSelector
The DocCentricSelector class works with the DocCentricProcessor class
to perform document-centric "dependency" processing. The selector determines
what kinds of related objects to return.
The selector supports the following options:
dependents -- REQUIRED, ALL
related drawings -- NONE, SELECTED, ALL
associated parts -- NONE, SELECTED, ALL
included instances -- NONE, SELECTED, ALL
Constructor Summary |
DocCentricSelector()
Constructs a DocCentricSelector, where all of its options are set to ALL. |
dependents
private DependencyOption dependents
drawings
private RelatedItemsOption drawings
associatedParts
private RelatedItemsOption associatedParts
instances
private RelatedItemsOption instances
DocCentricSelector
public DocCentricSelector()
- Constructs a DocCentricSelector, where all of its options are set to ALL.
getDependents
public DependencyOption getDependents()
getDrawings
public RelatedItemsOption getDrawings()
getAssociatedParts
public RelatedItemsOption getAssociatedParts()
getInstances
public RelatedItemsOption getInstances()
setDependents
public void setDependents(DependencyOption option)
setDrawings
public void setDrawings(RelatedItemsOption option)
setAssociatedParts
public void setAssociatedParts(RelatedItemsOption option)
setInstances
public void setInstances(RelatedItemsOption option)
toString
public String toString()
getIncludedAs
protected IncludedAs getIncludedAs(String code)
- Given a code, return what this object is included as (required dependent,
related drawing, associated object, ...).
The code describes how an object is related to a selected CAD document.
For example, SD means the object is a Drawing of a Selected object. SRA
means the object is the Associated object of a Required dependent of a
Selected object.
- Specified by:
getIncludedAs
in class RelatedItemsSelector
- Returns:
- IncludedAs that describes what this object is included as or null if the object is not included