Package wt.change2
Class ChangeRecord2
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._VersionToObjectLink
wt.vc.VersionToObjectLink
wt.change2._ChangeRecord2
wt.change2.ChangeRecord2
- 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._ChangeLinkViewable,wt.change2._ChangeRecord2TypeInterface,_ChangeRecordIfc,wt.change2._RelatedProductData,wt.change2.ChangeLinkViewable,wt.change2.ChangeRecord2TypeInterface,ChangeRecordIfc,RelatedProductData,wt.eff._EffRecordable,EffRecordable,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,_ImpactIntent,ImpactIntent,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsBinaryLink(superClass=VersionToObjectLink.class,
interfaces={ChangeRecordIfc.class,RelatedProductData.class,wt.change2.ChangeLinkViewable.class,wt.type.Typed.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,wt.change2.ChangeRecord2TypeInterface.class,ImpactIntent.class},
extendable=true,
versions={-4004428597344319964L,8717412865365278495L},
roleA=@GeneratedRole(name="theChangeActivity2",type=ChangeActivity2.class,supportedAPI=PUBLIC),
roleB=@GeneratedRole(name="theChangeable2",type=Changeable2.class,supportedAPI=PUBLIC),
tableProperties=@TableProperties(tableName="ChangeRecord2",compositeIndex3="roleBObjectRef.key.classname"),
iconProperties=@IconProperties(standardIcon="netmarkets/images/link_object.gif",openIcon="netmarkets/images/link_object.gif"),
properties=@GeneratedProperty(name="targetTransition",type=Transition.class,supportedAPI=PUBLIC))
public class ChangeRecord2
extends _ChangeRecord2
A resulting object link is between a ChangeActivity2 and a Changeable2 that
allows the user to identify new changeable revisions that were created to
satisfy a change activity. The new changeable revisions represent entirely
new product data, or new revisions of existing product data. The description
attribute is used to explain how or why the Changeable2 was changed.
To create aUse 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: true
To create a
ChangeRecord2 link that is supported with
association constraints the recommended order of operations are:
newChangeRecord2 static factory method(s), not the
ChangeRecord2 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 ChangeRecord2 links.Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class wt.change2._ChangeRecord2
CHANGE_ACTIVITY_IFC_ROLE, CHANGE_ACTIVITY2_ROLE, CHANGEABLE_IFC_ROLE, CHANGEABLE2_ROLE, EXTERNALIZATION_VERSION_UID, TARGET_TRANSITIONFields 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.change2._ChangeRecord2TypeInterface
TYPE_INFO_CHANGE_RECORD2Fields inherited from interface wt.eff._EffRecordable
EFF_VECTORFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.impact._ImpactIntent
IMPACT_INTENTFields 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_ROLES, ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields 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 ChangeRecord2newChangeRecord2(Changeable2 theChangeable2, ChangeActivity2 theChangeActivity2) Default factory for the class.Methods inherited from class wt.change2._ChangeRecord2
getAttributeContainer, getChangeable2, getChangeableIfc, getChangeActivity2, getChangeActivityIfc, getClassInfo, getConceptualClassname, getDescription, getEffVector, getFederatableInfo, getImpactIntent, getTargetTransition, getType, getTypeDefinitionReference, getTypeInfoChangeRecord2, readExternal, readExternal, readVersion, setAttributeContainer, setChangeable2, setChangeableIfc, setChangeActivity2, setChangeActivityIfc, setDescription, setFederatableInfo, setImpactIntent, setTargetTransition, setTypeDefinitionReference, setTypeInfoChangeRecord2, super_readExternal_ChangeRecord2, super_readVersion_ChangeRecord2, super_writeExternal_ChangeRecord2, writeExternal, writeExternalMethods 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, setRoleBObjectRef, 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, setRoleAObjectRef, setRoleBObjectRefMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods 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, getIdentity
-
Method Details
-
newChangeRecord2
public static ChangeRecord2 newChangeRecord2(Changeable2 theChangeable2, ChangeActivity2 theChangeActivity2) throws WTException Default factory for the class.
Supported API: true- Parameters:
theChangeable2-theChangeActivity2-- Returns:
- ChangeRecord2
- Throws:
WTException
-