Package wt.change2
Class ReportedAgainst
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._VersionToObjectLink
wt.vc.VersionToObjectLink
wt.change2._ReportedAgainst
wt.change2.ReportedAgainst
- 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._RelatedProductData,wt.change2._ReportedAgainstIfc,wt.change2._ReportedAgainstTypeInterface,wt.change2.ChangeLinkViewable,RelatedProductData,ReportedAgainstIfc,wt.change2.ReportedAgainstTypeInterface,wt.eff._EffRecordable,EffRecordable,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=VersionToObjectLink.class,
interfaces={RelatedProductData.class,wt.change2.ChangeLinkViewable.class,ReportedAgainstIfc.class,wt.type.Typed.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,wt.change2.ReportedAgainstTypeInterface.class},
versions=608482817542747725L,
properties=@GeneratedProperty(name="approvedQuantity",type=double.class,initialValue="0",constraints=@PropertyConstraints(lowerLimit=0,required=true)),
roleA=@GeneratedRole(name="theChangeIssue",type=ChangeIssue.class,supportedAPI=PUBLIC),
roleB=@GeneratedRole(name="theChangeable2",type=Changeable2.class,supportedAPI=PUBLIC),
tableProperties=@TableProperties(tableName="ReportedAgainst",compositeIndex3="roleBObjectRef.key.classname"),
iconProperties=@IconProperties(standardIcon="netmarkets/images/link_object.gif",openIcon="netmarkets/images/link_object.gif"))
public class ReportedAgainst
extends _ReportedAgainst
An affected object link between a ChangeIssue and a Changeable2 that allows
the user to identify product data issues. The description attribute is used
to explain the product issues.
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: false
To create a
ReportedAgainst link that is supported with
association constraints the recommended order of operations are:
newReportedAgainst static factory method(s), not the
ReportedAgainst 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(ChangeIssue, WTCollection)
to save the collection of ReportedAgainst links.Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.change2._ReportedAgainst
CHANGE_ISSUE_ROLE, CHANGEABLE2_ROLE -
Method Summary
Modifier and TypeMethodDescriptionstatic ReportedAgainstnewReportedAgainst(Changeable2 theChangeable2, ChangeIssue theChangeIssue) Default factory for the class.Methods inherited from class wt.change2._ReportedAgainst
getChangeable2, getChangeIssue, setChangeable2, setChangeIssueMethods inherited from class wt.vc.VersionToObjectLink
duplicate, getAllObjects, getRoleObject, initialize, setRoleAObject, 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
-
newReportedAgainst
public static ReportedAgainst newReportedAgainst(Changeable2 theChangeable2, ChangeIssue theChangeIssue) throws WTException Default factory for the class.
Supported API: true- Parameters:
theChangeable2-theChangeIssue-- Returns:
- ReportedAgainst
- Throws:
WTException
-