Package wt.change2
Class HangingChangeLink
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._VersionToVersionLink
wt.vc.VersionToVersionLink
wt.change2._HangingChangeLink
wt.change2.HangingChangeLink
- 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.change2._HangingChangeLinkTypeInterface,wt.change2._RelatedProductData,wt.change2.HangingChangeLinkTypeInterface,RelatedProductData,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,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsBinaryLink(superClass=VersionToVersionLink.class,interfaces={RelatedProductData.class,wt.type.Typed.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,wt.change2.HangingChangeLinkTypeInterface.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="incorpStatus",type=java.lang.String.class,javaDoc="String value of HangingChangeStatus"),@GeneratedProperty(name="plannedRevision",type=VersionIdentifier.class,javaDoc="The Revision of changeable in which the hanging change is planned to be incorporated.",constraints=@PropertyConstraints(required=true)),@GeneratedProperty(name="incorpChange",type=VersionReference.class,javaDoc="The Change notice in which hanging change is incorprated."),@GeneratedProperty(name="originalLink",type=ObjectReference.class,javaDoc="The reference to the original HangingChangeLink when the hanging change was created."),@GeneratedProperty(name="latest",type=boolean.class,initialValue="true",javaDoc="True if the associated change activity is the latest revision.")},roleA=@GeneratedRole(name="changeActivity",type=ChangeActivity2.class),roleB=@GeneratedRole(name="changeable",type=Changeable2.class,supportedAPI=PUBLIC),tableProperties=@TableProperties(tableName="HangingChangeLink"),iconProperties=@IconProperties(standardIcon="netmarkets/images/link_object.gif",openIcon="netmarkets/images/link_object.gif"))
public class HangingChangeLink
extends _HangingChangeLink
To create a Hanging change link that is supported with association
constraints the recommended order of operations are:
Use the
Set the change item role and the changeable role on the returned typed
link.
Set any initial or required attributes on the typed link.
Call the change service to store the link associations
Supported API: true
Extendable: false
newHangingChangeLink static factory method(s),
not the HangingChangeLink constructor, to construct instances
of this class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.ChangeHelper2.service.storeAssocations(ChangeActivity2, WTCollection)
to save the collection of hanging change links.Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.change2._HangingChangeLink
CHANGE_ACTIVITY_ROLE, CHANGEABLE_ROLE, EXTERNALIZATION_VERSION_UID, INCORP_CHANGE, INCORP_STATUS, LATEST, ORIGINAL_LINK, PLANNED_REVISIONFields inherited from class wt.vc._VersionToVersionLink
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.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.change2._HangingChangeLinkTypeInterface
TYPE_INFO_HANGING_CHANGE_LINKFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.change2._RelatedProductData
DESCRIPTIONFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLESFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic HangingChangeLinknewHangingChangeLink(Changeable2 changeable, ChangeActivity2 changeActivity) Default factory for the class.Methods inherited from class wt.change2._HangingChangeLink
getAttributeContainer, getChangeable, getChangeActivity, getClassInfo, getConceptualClassname, getDescription, getFederatableInfo, getIncorpChange, getIncorpStatus, getOriginalLink, getPlannedRevision, getType, getTypeDefinitionReference, getTypeInfoHangingChangeLink, isLatest, readExternal, readExternal, readVersion, setAttributeContainer, setChangeable, setChangeActivity, setDescription, setFederatableInfo, setIncorpChange, setIncorpStatus, setLatest, setOriginalLink, setPlannedRevision, setTypeDefinitionReference, setTypeInfoHangingChangeLink, super_readExternal_HangingChangeLink, super_readVersion_HangingChangeLink, super_writeExternal_HangingChangeLink, writeExternal, writeExternalMethods inherited from class wt.vc.VersionToVersionLink
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, getRoleIdName, getRoleObject, initialize, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleBObjectRef, setRoleObjectMethods inherited from class wt.vc._VersionToVersionLink
getRoleAObjectRef, getRoleBObjectRef, readVersion, super_readExternal_VersionToVersionLink, super_readVersion_VersionToVersionLink, super_writeExternal_VersionToVersionLinkMethods 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._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
newHangingChangeLink
public static HangingChangeLink newHangingChangeLink(Changeable2 changeable, ChangeActivity2 changeActivity) throws WTException Default factory for the class.
Supported API: true- Parameters:
changeable-changeActivity-- Returns:
- HangingChangeLink
- Throws:
WTException
-