wt.epm.clients.relateditems
Class RelatedItemsSelector
java.lang.Object
wt.epm.clients.relateditems.RelatedItemsSelector
- Direct Known Subclasses:
- DocCentricSelector, PartCentricSelector
- public abstract class RelatedItemsSelector
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELECTED
public static RelatedItemsSelector.IncludeType SELECTED
REQUIRED
public static RelatedItemsSelector.IncludeType REQUIRED
OPTIONAL
public static RelatedItemsSelector.IncludeType OPTIONAL
DRAWING
public static RelatedItemsSelector.IncludeType DRAWING
SECONDARY
public static RelatedItemsSelector.IncludeType SECONDARY
INSTANCE
public static RelatedItemsSelector.IncludeType INSTANCE
ASSOCIATED
public static RelatedItemsSelector.IncludeType ASSOCIATED
INCLUDE_DELIM
public static String INCLUDE_DELIM
RelatedItemsSelector
public RelatedItemsSelector()
isIncluded
public boolean isIncluded(RelatedItemsSelector.ItemInfo itemInfo)
- Returns whether or not this related item is included given the options selected.
- Returns:
- whether or not this related item is included
getIncludedAs
public IncludedAs getIncludedAs(RelatedItemsSelector.ItemInfo itemInfo)
- Returns what this related item is included as (required dependent, related drawing,
associated object, ...) given the options selected.
- Returns:
- IncludedAs that describes what this related item is included as or null if the related item is not included
getIncludedAs
protected abstract IncludedAs getIncludedAs(String code)
- Given a code that describes how this object is related to a selected object,
return what this object is included as (required dependent, related drawing,
associated object, ...).
- Returns:
- IncludedAs that describes what this object is included as or null if the object is not included
toIncludedAs
protected IncludedAs toIncludedAs(char code)
isIncluded
protected boolean isIncluded(RelatedItemsOption option,
boolean requiresAll)
- Based upon the given option, returns whether to include or exclude the
object. Depending upon how this object is related to a selected object,
the given option may need to be set to ALL in order to include this object.
- Returns:
- true or false depending upon whether to include or exclude the object
toString
protected String toString(EnumeratedType type)