Package wt.fc

Interface Link

All Superinterfaces:
wt.fc._Link, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
_AcceptedStrategyIfc, _ArchitectureTraceLinkIfc, wt.fc._BinaryLink, _ChangeRecordIfc, _DetailedByIfc, wt.folder._FolderMembership, _IncludedInIfc, _IssueImplementedByIfc, wt.mpm.history._MfgHistoryManageable, _OccurrenceableLink, _RequirementTraceLinkIfc, _ResearchedByIfc, wt.folder._Shortcut, _TraceLinkIfc, AcceptedStrategyIfc, ArchitectureTraceLinkIfc, BinaryLink, ChangeRecordIfc, DetailedByIfc, FolderMembership, IncludedInIfc, IssueImplementedByIfc, MfgHistoryManageable, OccurrenceableLink, RequirementTraceLinkIfc, ResearchedByIfc, Shortcut, TraceLinkIfc
All Known Implementing Classes:
_AcceptedStrategy, wt.associativity.accountability._AccountabilityEntry, _Action, _AddressesDirective, _AffectedActivityData, _AlternateItemGroup, _ArchitectureO2OTraceLink, _ArchitectureV2VTraceLink, _AssociativeToSCCLink, com.ptc.windchill.option.model._ATONavigationFilterChoiceLink, _BaselineMember, wt.build._BuildHistory, wt.businessRules._BusinessRuleLink, _CAPAIncludedIn, _ChangeProcessLink, _ChangeRecord2, _ChangeReferenceLink, wt.change2._ChangeReviewItemLink, _CheckoutLink, com.ptc.windchill.option.model._ChoiceMappableChoiceLink, _CombinedPathOccurrence, _ConfigurableDescribeLink, _ConfigurableMastersLink, _ConfigurableReferenceLink, _ConfigurableRevisionLink, wt.associativity._ConsumptionLink, _CoProduceLink, _CoProduceMemberLink, _CoProduceMgmtLink, _CoProduceUsageLink, _DetailedBy, _DriverLink, _EffEffContext, _EnterpriseDataDocumentDescribeLink, _EnterpriseDataDocumentReferenceLink, _EnterpriseDataEPMDocumentDescribeLink, com.ptc.windchill.enterprise.data._EnterpriseDataLink, com.ptc.windchill.enterprise.data._EnterpriseDataMasterLink, wt.epm.build._EPMBuildHistory, _EPMBuildRule, _EPMBuildRuleAssociationLink, _EPMContainedIn, wt.epm.build._EPMDerivedRepHistory, _EPMDerivedRepRule, _EPMDescribeLink, _EPMMemberLink, _EPMReferenceLink, wt.epm.structure._EPMVariantLink, _EquivalenceLink, _ERPMaterialDocumentDescribeLink, _ERPMaterialDocumentReferenceLink, _ERPMaterialLink, _ERPPartSpecificPlantDataLink, com.ptc.windchill.esi.txn._ESIRelatedTransaction, _ESIReleaseObjectLink, _ESIReleaseTransactionLink, _ESITargetAssignmentLink, com.ptc.windchill.esi.tgt._ESITargetOrganizationLink, _ESITransactionObjectLink, com.ptc.windchill.esi.txn._ESITransactionRelease, _ESITransactionTargetLink, wt.option._ExpressionMemberLink, _FlexibleChangeLink, wt.vc.baseline._FloatingBaselineMember, wt.folder._FolderMemberLink, wt.fc._ForeignKeyLink, com.ptc.windchill.mpml.formula._FormulaSetSelectorLink, _FormulaValuatedLink, wt.fv._FvMount, _HangingChangeLink, _ImpactLink, _Impacts, _IncludedIn2, _IssueImplementedBy, _IteratedDescribeLink, wt.folder._IteratedFolderMemberLink, _IteratedReferenceLink, wt.folder._IteratedShortcutLink, _IteratedUsageLink, wt.change2._LegacyChangeLink, _MergeInfoLink, _MfgHistoryLink, _MissingRepObjectLinkTarget, wt.epm.modelitems._ModelItemLink, com.ptc.windchill.option.model._ModuleVariantInformationLink, _MPMAbstractPlantAssignmentLink, _MPMCompatibilityLink, _MPMConfigContextLink, _MPMDescribeMfgProcessLink, _MPMDocumentDescribeLink, _MPMDocumentReferenceLink, _MPMEPMDocumentDescribeLink, _MPMMfgStandardUsageLink, _MPMOperationProcessLink, _MPMOperationRefLink, _MPMOperationRefLinkQuantity, _MPMOperationToConsumableLink, _MPMOperationToOperatedPartLink, _MPMOperationToPartLink, _MPMOperationToStandardCCLink, _MPMOperationToWorkCenterLink, _MPMOperationUsageLink, wt.mpm._MPMPartMgmtLink, com.ptc.windchill.mpml.processplan.operation._MPMPartPathOccurrenceLink, _MPMPartQualityLink, _MPMPartToPlantAssignmentLink, _MPMPartToProcessPlanLink, _MPMPlantAssignmentLink, _MPMPlantLocalizationLink, _MPMPrecedenceConstraintLink, _MPMProcessPlanLocalizationLink, _MPMProcessQualityLink, com.ptc.windchill.mpml.pmi._MPMQualityLink, _MPMSequenceUsageLink, com.ptc.windchill.mpml.pmi._MPMStandardCCRefLink, _MPMStandardCCToProcessPlanLink, _MPMStandardCCToResourceLink, _MPMStandardCCUsageToDDLink, _MPMStandardCCUsageToDRLink, _MPMStandardCCUsageToEPMDDLink, _MPMStandardOperationLink, _MPMStandardProcedureLink, _MPMStdCCUsageToProcessPlanLink, _MPMStdCCUsageToResourceLink, wt.mpm.configuration._MPMVariantRecipeLink, _MPMWTPartToEPMDocumentLink, wt.filter._NavFilterDesignationLink, wt.fc._ObjectToObjectLink, _ObjectToObjectTraceLink, wt.vc._ObjectToVersionLink, _OperationToPartAllocationLink, _OptionSetAssignmentHistory, _OptionSetChoiceRuleLink, _OptionSetIgnoreChoiceRuleLink, _OptionSetMemberLink, wt.part._PartCombinedPathOccurrence, _PartListItem, _PartListItemSubstituteLink, _PartListMasterToPartListMasterLink, com.ptc.windchill.enterprise.data._PlantDataLink, com.ptc.projectmanagement.plannable._PrecedenceConstraint, wt.change2._ProblemProduct, wt.maturity._PromotionSeed, wt.maturity._PromotionTarget, _RawMaterialLink, _ReleaseActivity, _RelevantAnalysisData, _RelevantRequestData2, _ReportedAgainst, wt.query.template._ReportTemplateViewLink, _RequirementO2OTraceLink, _RequirementV2VTraceLink, _ResearchedBy, com.ptc.projectmanagement.assignment._ResourceAssignment, _RMAlternateLink, wt.mpm.rawmaterial._RMAssociationLink, wt.folder._ShortcutLink, wt.folder._SubFolderLink, _SubjectLink, _SubjectProduct, _SupplementaryReplacementLink, _SupportingDataFor, _UDISubjectLink, wt.vc._VersionToObjectLink, wt.vc._VersionToVersionLink, _VersionToVersionTraceLink, wt.workflow.engine._WfLink, _WTDocumentDependencyLink, wt.doc._WTDocumentUsageLink, _WTPartAlternateLink, _WTPartDescribeLink, _WTPartReferenceLink, _WTPartSubstituteLink, _WTPartUsageLink, _WTProductInstanceDescribeLink, _WTProductInstanceReferenceLink, AcceptedStrategy, AccountabilityEntry, AddressesDirective, AffectedActivityData, AlternateItemGroup, ArchitectureO2OTraceLink, ArchitectureV2VTraceLink, AssociativeToSCCLink, ATONavigationFilterChoiceLink, BaselineMember, wt.build.BuildHistory, BusinessRuleLink, CAPAIncludedIn, ChangeProcessLink, ChangeRecord2, ChangeReferenceLink, ChangeReviewItemLink, CheckoutLink, ChoiceMappableChoiceLink, CombinedPathOccurrence, ConfigurableDescribeLink, ConfigurableMastersLink, ConfigurableReferenceLink, ConfigurableRevisionLink, ConsumptionLink, CoProduceLink, CoProduceMemberLink, CoProduceMgmtLink, CoProduceUsageLink, DetailedBy, DriverLink, EffEffContext, EnterpriseDataDocumentDescribeLink, EnterpriseDataDocumentReferenceLink, EnterpriseDataEPMDocumentDescribeLink, EnterpriseDataLink, EnterpriseDataMasterLink, EPMBuildHistory, EPMBuildRule, EPMBuildRuleAssociationLink, EPMContainedIn, EPMDerivedRepHistory, EPMDerivedRepRule, EPMDescribeLink, EPMMemberLink, EPMReferenceLink, EPMVariantLink, EquivalenceLink, ERPMaterialDocumentDescribeLink, ERPMaterialDocumentReferenceLink, ERPMaterialLink, ERPPartSpecificPlantDataLink, ESIRelatedTransaction, ESIReleaseObjectLink, ESIReleaseTransactionLink, ESITargetAssignmentLink, ESITargetOrganizationLink, ESITransactionActivity, ESITransactionObjectLink, ESITransactionRelease, ESITransactionTargetLink, ExpressionMemberLink, FlexibleChangeLink, FloatingBaselineMember, FolderMemberLink, ForeignKeyLink, FormulaSetSelectorLink, FormulaValuatedLink, FvMount, HangingChangeLink, ImpactLink, Impacts, IncludedIn2, IssueImplementedBy, IteratedDescribeLink, IteratedFolderMemberLink, IteratedReferenceLink, IteratedShortcutLink, IteratedUsageLink, LegacyChangeLink, MergeInfoLink, MfgHistoryLink, MissingRepObjectLinkTarget, ModelItemLink, ModuleVariantInformationLink, MPMAbstractPlantAssignmentLink, MPMCompatibilityLink, MPMConfigContextLink, MPMDescribeMfgProcessLink, MPMDocumentDescribeLink, MPMDocumentReferenceLink, MPMEPMDocumentDescribeLink, MPMMfgStandardUsageLink, MPMOperationProcessLink, MPMOperationRefLink, MPMOperationRefLinkQuantity, MPMOperationToConsumableLink, MPMOperationToOperatedPartLink, MPMOperationToPartLink, MPMOperationToStandardCCLink, MPMOperationToWorkCenterLink, MPMOperationUsageLink, MPMPartMgmtLink, MPMPartPathOccurrenceLink, MPMPartQualityLink, MPMPartToPlantAssignmentLink, MPMPartToProcessPlanLink, MPMPlantAssignmentLink, MPMPlantLocalizationLink, MPMPrecedenceConstraintLink, MPMProcessPlanLocalizationLink, MPMProcessQualityLink, com.ptc.windchill.mpml.pmi.MPMQualityLink, MPMSequenceUsageLink, com.ptc.windchill.mpml.pmi.MPMStandardCCRefLink, MPMStandardCCToProcessPlanLink, MPMStandardCCToResourceLink, MPMStandardCCUsageToDDLink, MPMStandardCCUsageToDRLink, MPMStandardCCUsageToEPMDDLink, MPMStandardOperationLink, MPMStandardProcedureLink, MPMStdCCUsageToProcessPlanLink, MPMStdCCUsageToResourceLink, MPMVariantRecipeLink, MPMWTPartToEPMDocumentLink, NavFilterDesignationLink, NavigationCriteriaTheWTPartAlternateRep, ObjectToObjectLink, ObjectToObjectTraceLink, ObjectToVersionLink, OperationToPartAllocationLink, OptionSetAssignmentHistory, OptionSetChoiceRuleLink, OptionSetIgnoreChoiceRuleLink, OptionSetMemberLink, PartCombinedPathOccurrence, PartListItem, PartListItemSubstituteLink, PartListMasterToPartListMasterLink, PlantDataLink, PrecedenceConstraint, ProblemProduct, PromotionSeed, PromotionTarget, RawMaterialLink, ReleaseActivity, RelevantAnalysisData, RelevantRequestData2, ReportedAgainst, ReportTemplateViewLink, RequirementO2OTraceLink, RequirementV2VTraceLink, ResearchedBy, ResourceAssignment, RMAlternateLink, wt.mpm.rawmaterial.RMAssociationLink, ShortcutLink, SubFolderLink, SubjectLink, SubjectProduct, SupplementaryReplacementLink, SupportingDataFor, UDISubjectLink, VersionToObjectLink, VersionToVersionLink, VersionToVersionTraceLink, WfLink, WTDocumentDependencyLink, WTDocumentUsageLink, WTPartAlternateLink, WTPartDescribeLink, WTPartReferenceLink, WTPartSubstituteLink, WTPartUsageLink, WTProductInstanceDescribeLink, WTProductInstanceReferenceLink

@GenAsPersistable(interfaces=Persistable.class, extendable=true) public interface Link extends wt.fc._Link
Link is the interface that represents any kind of associations between two or more domain-specific objects.

Supported API: true

Extendable: true
  • Method Details

    • getLinkInfo

      LinkInfo getLinkInfo() throws WTIntrospectionException


      Supported API: true
      Returns:
      LinkInfo
      Throws:
      WTIntrospectionException
    • getAllObjects

      Object[] getAllObjects()
      Gets all the role objects of this link.

      Supported API: true
      Returns:
      Object[]
    • getRoleObject

      Object getRoleObject(String rolename) throws WTException
      Gets the role object of this link for the given role name.

      Supported API: true
      Parameters:
      rolename -
      Returns:
      Object
      Throws:
      WTException
    • setRoleObject

      void setRoleObject(Object roleObject, String rolename) throws WTException
      Sets the role object of this link for the given role name.

      Supported API: true
      Parameters:
      roleObject - The role A object for this Link.
      rolename -
      Throws:
      WTException
    • getRoleIdName

      String getRoleIdName(String rolename) throws WTException
      Gets the role's key id attribute name of this link for the given role name.

      Supported API: true
      Parameters:
      rolename -
      Returns:
      String
      Throws:
      WTException
    • appendJoinCriteria

      QuerySpec appendJoinCriteria(Persistable obj, String otherSideRole, QuerySpec qs, int targetPos, int linkPos) throws WTException
      Appends applicable search condition(s) onto the end of the given query spec based on the role to be navigate to and the attributes of the given object.

      Supported API: true
      Parameters:
      obj -
      otherSideRole -
      qs -
      targetPos -
      linkPos -
      Returns:
      QuerySpec
      Throws:
      WTException
    • getJoinValues

      Object[] getJoinValues(Persistable obj, String otherSideRole) throws WTException
      Gets an array of values in the same order as the query was appended with search conditions.

      Supported API: true
      Parameters:
      obj -
      otherSideRole -
      Returns:
      Object[]
      Throws:
      WTException
    • appendRoleCriteria

      QuerySpec appendRoleCriteria(Persistable obj, String role, QuerySpec qs, int linkPos) throws WTException
      Appends applicable search condition(s) onto the end of the given query spec based on the role and the attributes of the given object.

      Supported API: true
      Parameters:
      obj -
      role -
      qs -
      linkPos -
      Returns:
      QuerySpec
      Throws:
      WTException