Package wt.mpm.coproduce
Class CoProduceMemberLink
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._CoProduceMemberLink
wt.mpm.coproduce.CoProduceMemberLink
- 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.GenericizableLink,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.mpm._MPMVersionedLink,wt.mpm.coproduce._CoProduceMemberLinkTypeInterface,wt.mpm.coproduce.CoProduceMemberLinkTypeInterface,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,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,wt.option.IndependentExpressionAssignable.class,Releasable.class,wt.mpm.coproduce.CoProduceMemberLinkTypeInterface.class,AssociativeUsageLink.class},properties={@GeneratedProperty(name="componentId",type=java.lang.String.class,accessors=@PropertyAccessors(setAccess=PRIVATE),columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="alternateSetMaster",type=ObjectReference.class,constraints=@PropertyConstraints(required=false),accessors=@PropertyAccessors(setAccess=PRIVATE),columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="linkCategory",type=CopMemberLinkType.class,constraints=@PropertyConstraints(required=true,changeable=VIA_OTHER_MEANS),initialValue="CopMemberLinkType.SECONDARY",columnProperties=@ColumnProperties(defaultValue="secondary"),javaDoc="The scrap in most of the manufacturing process is waste but consider a use case where we are manufacturing the gold/platinum jewelry.The gold, diamond, platinum etc are precious in nature and customer would like to track the wastage so that same can go to storage again.")},roleA=@GeneratedRole(name="coProduce",type=WTPart.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY,owner=true),roleB=@GeneratedRole(name="secondary",type=WTPartMaster.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY,owner=true),iconProperties=@IconProperties(standardIcon="netmarkets/images/part_semi_finish.png",openIcon="netmarkets/images/part_semi_finish.png"))
public class CoProduceMemberLink
extends _CoProduceMemberLink
Link between the Version of the CoProduce to the master of secondary part.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.mpm.coproduce._CoProduceMemberLink
ALTERNATE_SET_MASTER, CO_PRODUCE_ROLE, COMPONENT_ID, EXTERNALIZATION_VERSION_UID, LINK_CATEGORY, SECONDARY_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._CoProduceMemberLinkTypeInterface
TYPE_INFO_CO_PRODUCE_MEMBER_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.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 CoProduceMemberLinknewCoProduceMemberLink(WTPart coProduce, WTPartMaster secondary)
Supported API: trueMethods inherited from class wt.mpm.coproduce._CoProduceMemberLink
getAttributeContainer, getClassInfo, getComponentId, getConceptualClassname, getCoProduce, getLinkCategory, getSecondary, getType, getTypeInfoCoProduceMemberLink, readExternal, readExternal, readVersion, setAttributeContainer, setCoProduce, setLinkCategory, setSecondary, setTypeInfoCoProduceMemberLink, super_readExternal_CoProduceMemberLink, super_readVersion_CoProduceMemberLink, super_writeExternal_CoProduceMemberLink, 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, initialize, toStringMethods 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.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
-
newCoProduceMemberLink
public static CoProduceMemberLink newCoProduceMemberLink(WTPart coProduce, WTPartMaster secondary) throws WTException
Supported API: true- Throws:
WTException
-