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,wt.fc.archive._Archiveable,wt.fc.archive.Archiveable,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
CHANGEABLE_ROLE -
Method Summary
Modifier and TypeMethodDescriptionstatic HangingChangeLinknewHangingChangeLink(Changeable2 changeable, ChangeActivity2 changeActivity) Default factory for the class.Methods inherited from class wt.change2._HangingChangeLink
getChangeable, setChangeableMethods inherited from class wt.vc.VersionToVersionLink
getAllObjects, getRoleObject, initialize, setRoleAObject, setRoleBObject, setRoleObjectMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
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
-