Package wt.mpm.coproduce
Class CoProduceUsageLink
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._VersionToObjectLink
wt.vc.VersionToObjectLink
wt.mpm._MPMPartMgmtLink
wt.mpm.MPMPartMgmtLink
wt.mpm.coproduce._CoProduceMgmtLink
wt.mpm.coproduce.CoProduceMgmtLink
wt.mpm.coproduce._CoProduceUsageLink
wt.mpm.coproduce.CoProduceUsageLink
- All Implemented Interfaces:
com.ptc.core.meta.type.mgmt.server.impl.association._AssociationConstrainable,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable,Externalizable,Serializable,wt.access._AccessControlled,AccessControlled,AssociativeUsageLink,UsageLink,wt.esi._Releasable,Releasable,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,BinaryLink,Link,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,_Filterable,Filterable,wt.generic._GenericizableLink,wt.generic._GenericizableUsageLink,wt.generic.GenericizableLink,wt.generic.GenericizableUsageLink,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.mpm._MPMVersionedLink,wt.mpm.coproduce._CoProduceUsageLinkTypeInterface,wt.mpm.coproduce.CoProduceUsageLinkTypeInterface,wt.mpm.MPMVersionedLink,wt.option._ChoiceMappable,wt.option._Expressionable,wt.option._ExpressionAssignable,wt.option._IndependentExpressionAssignable,ChoiceMappable,Expressionable,ExpressionAssignable,wt.option.IndependentExpressionAssignable,wt.type._TypeManaged,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsBinaryLink(superClass=CoProduceMgmtLink.class,extendable=false,interfaces={wt.type.TypeManaged.class,wt.iba.value.IBAHolder.class,AssociativeUsageLink.class,wt.generic.GenericizableUsageLink.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,wt.option.IndependentExpressionAssignable.class,Releasable.class,wt.mpm.coproduce.CoProduceUsageLinkTypeInterface.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="sourceUsages",type=java.lang.String.class,javaDoc="References all component id paths for primary and secondary usages. UseSOURCE_USAGES_SEPARATOR to split all the component id paths.The first element would be always primary usage path followed bysecondary path(s).",constraints=@PropertyConstraints(upperLimit=4000),accessors=@PropertyAccessors(setAccess=PRIVATE)),@GeneratedProperty(name="linkCategory",type=SemiFinishedLinkType.class,initialValue="wt.mpm.SemiFinishedLinkType.SEMIFINISHED",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(defaultValue="semifinished"),javaDoc="Mounting parts are the parts that are being used in the coproduced process but they directly do not get transformed as such. These parts will come in the process and go out of the process. Since they never get consumed as such, the consumption is not applicable to these parts. ")},roleA=@GeneratedRole(name="usedBy",type=WTPart.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY),roleB=@GeneratedRole(name="uses",type=WTPartMaster.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY,owner=true),tableProperties=@TableProperties(compositeIndex1="roleAObjectRef.key.branchId",compositeIndex2="+roleBObjectRef.key.id",compositeIndex3="+componentId"))
public class CoProduceUsageLink
extends _CoProduceUsageLink
Link between the Version of CoProduce object to the child masters under the
primary and secondary parts.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.mpm.coproduce._CoProduceUsageLink
EXTERNALIZATION_VERSION_UID, LINK_CATEGORY, SOURCE_USAGES, USED_BY_ROLE, USES_ROLEFields inherited from class wt.mpm.coproduce._CoProduceMgmtLink
GENERICIZABLE_MASTER_ROLE, GENERICIZABLE_ROLE, LINE_NUMBER, LINKED_FROM_ROLE, LINKED_TO_ROLE, QUANTITYFields inherited from class wt.mpm._MPMPartMgmtLink
REFERENCED_BY_ROLE, REFERENCES_ROLEFields inherited from class wt.vc._VersionToObjectLink
ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._BinaryLink
ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLEFields inherited from interface wt.mpm.coproduce._CoProduceUsageLinkTypeInterface
TYPE_INFO_CO_PRODUCE_USAGE_LINKFields inherited from interface wt.option._Expressionable
EXPRESSION_DATAFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.filter._Filterable
FILTERED_STATUSFields inherited from interface wt.generic._GenericizableLink
GENERICIZABLE_MASTER_ROLE, GENERICIZABLE_ROLEFields inherited from interface wt.generic._GenericizableUsageLink
APP_DATA, COMPONENT_ID, INCLUSION_OPTION, QUANTITY_OPTION, REFERENCEFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLES, ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields inherited from interface wt.option.ChoiceMappable
LOADER_CACHE_KEYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.option.Expressionable
LOADER_CACHE_KEYFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic CoProduceUsageLinknewCoProduceUsageLink(WTPart usedBy, WTPartMaster uses)
Supported API: trueMethods inherited from class wt.mpm.coproduce._CoProduceUsageLink
getAppData, getAttributeContainer, getClassInfo, getComponentId, getConceptualClassname, getInclusionOption, getLinkCategory, getQuantityOption, getReference, getSourceUsages, getType, getTypeInfoCoProduceUsageLink, getUsedBy, getUses, readExternal, readExternal, readVersion, setAppData, setAttributeContainer, setInclusionOption, setLinkCategory, setQuantityOption, setReference, setTypeInfoCoProduceUsageLink, setUsedBy, setUses, super_readExternal_CoProduceUsageLink, super_readVersion_CoProduceUsageLink, super_writeExternal_CoProduceUsageLink, writeExternal, writeExternalMethods inherited from class wt.mpm.coproduce._CoProduceMgmtLink
getExpressionData, getFederatableInfo, getFilteredStatus, getGenericizable, getGenericizableMaster, getLineNumber, getLinkedFrom, getLinkedTo, getQuantity, readVersion, setExpressionData, setFederatableInfo, setFilteredStatus, setGenericizable, setGenericizableMaster, setLineNumber, setLinkedFrom, setLinkedTo, setQuantity, super_readExternal_CoProduceMgmtLink, super_readVersion_CoProduceMgmtLink, super_writeExternal_CoProduceMgmtLinkMethods inherited from class wt.mpm._MPMPartMgmtLink
getReferencedBy, getReferences, readVersion, setReferencedBy, setReferences, super_readExternal_MPMPartMgmtLink, super_readVersion_MPMPartMgmtLink, super_writeExternal_MPMPartMgmtLinkMethods inherited from class wt.vc.VersionToObjectLink
appendJoinCriteria, appendRoleCriteria, duplicate, getAllObjects, getJoinValues, getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, getRoleIdName, getRoleObject, initialize, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleObjectMethods inherited from class wt.vc._VersionToObjectLink
getRoleAObjectRef, getRoleBObjectRef, readVersion, super_readExternal_VersionToObjectLink, super_readVersion_VersionToObjectLink, super_writeExternal_VersionToObjectLinkMethods inherited from class wt.fc.WTObject
checkAttributes, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initializeMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._BinaryLink
getRoleAObjectRef, getRoleBObjectRef, setRoleAObjectRefMethods inherited from interface wt.option._Expressionable
getExpressionData, setExpressionDataMethods inherited from interface wt.ufid._Federatable
getFederatableInfo, setFederatableInfoMethods inherited from interface wt.filter._Filterable
getFilteredStatus, setFilteredStatusMethods inherited from interface wt.generic._GenericizableUsageLink
getGenericizable, getGenericizableMaster, setGenericizable, setGenericizableMasterMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.associativity.AssociativeUsageLink
getLineNumber, getQuantityMethods inherited from interface wt.fc.BinaryLink
getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, setRoleAObject, setRoleBObjectMethods inherited from interface wt.fc.Link
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getRoleIdName, getRoleObject, setRoleObjectMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentityMethods inherited from interface wt.associativity.UsageLink
getRoleAObject, getRoleAObjectRef, getRoleBObject, getRoleBObjectRef
-
Method Details
-
newCoProduceUsageLink
public static CoProduceUsageLink newCoProduceUsageLink(WTPart usedBy, WTPartMaster uses) throws WTException
Supported API: true- Throws:
WTException
-