Class MPMUsesOccurrence
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
com.ptc.windchill.mpml.processplan.operation._MPMUsesOccurrence
com.ptc.windchill.mpml.processplan.operation.MPMUsesOccurrence
- All Implemented Interfaces:
Externalizable,Serializable,wt.esi._Releasable,Releasable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,DisplayIdentification
@GenAsPersistable(superClass=WTObject.class,interfaces=Releasable.class,versions={761838992108053978L,6792485249319614263L},properties={@GeneratedProperty(name="rotation1",type=double[][].class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(fixedArrayLength=3)),@GeneratedProperty(name="rotation2",type=double[][].class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(fixedArrayLength=3)),@GeneratedProperty(name="rotation3",type=double[][].class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(fixedArrayLength=3)),@GeneratedProperty(name="translation",type=double[][].class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(fixedArrayLength=3)),@GeneratedProperty(name="viewLocation",type=java.lang.String.class,supportedAPI=PUBLIC),@GeneratedProperty(name="orthographicWidth",type=double.class,supportedAPI=PUBLIC),@GeneratedProperty(name="hasTransform",type=boolean.class),@GeneratedProperty(name="uniqueIdentifier",type=java.lang.String.class,supportedAPI=PUBLIC)},foreignKeys=@GeneratedForeignKey(myRoleIsRoleA=false,myRole=@MyRole(cascade=true),foreignKeyRole=@ForeignKeyRole(name="link",type=ObjectToObjectLink.class,constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(index=true))))
public final class MPMUsesOccurrence
extends _MPMUsesOccurrence
Holds uses occurrence information
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class com.ptc.windchill.mpml.processplan.operation._MPMUsesOccurrence
EXTERNALIZATION_VERSION_UID, HAS_TRANSFORM, LINK, LINK_REFERENCE, ORTHOGRAPHIC_WIDTH, ROTATION1, ROTATION2, ROTATION3, TRANSLATION, UNIQUE_IDENTIFIER, VIEW_LOCATIONFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the Transform to a zero-like Java3D matrix.dublicate(ObjectReference objectToObjectLinkObjRef) This Method returns aMPMUsesOccurrenceassociated to the givenObjectToObjectLink referencenormally aMPMOperationRefLink) oreMPMPartPathOccurrenceLinkand with the given current linktransformand unique id.protected voidinitialize(ObjectReference objectToObjectLinkObjRef, javax.vecmath.Matrix4d transform, String viewLocation, Double orthographicWidth) Supports initialization, following construction of an instance.protected voidinitialize(ObjectToObjectLink objectToObjectLink, javax.vecmath.Matrix4d transform, String viewLocation, Double orthographicWidth) Supports initialization, following construction of an instance.static MPMUsesOccurrencenewMPMUsesOccurrence(ObjectReference objectToObjectLinkObjRef, javax.vecmath.Matrix4d transform) This constructor returns aMPMUsesOccurrenceassociated to the givenObjectToObjectLinknormally aMPMOperationRefLink) oreMPMPartPathOccurrenceLinkand with the giventransform.static MPMUsesOccurrencenewMPMUsesOccurrence(ObjectToObjectLink objectToObjectLink, javax.vecmath.Matrix4d transform) This constructor returns aMPMUsesOccurrenceassociated to the givenObjectToObjectLinknormally aMPMOperationRefLink) oreMPMPartPathOccurrenceLinkand with the giventransform.voidsetTransform(javax.vecmath.Matrix4d transform) Sets the Transform to the given Java3D matrix.javax.vecmath.Matrix4dReturns a Java 3D matrix for this Transform.Methods inherited from class com.ptc.windchill.mpml.processplan.operation._MPMUsesOccurrence
getClassInfo, getConceptualClassname, getLink, getLinkReference, getOrthographicWidth, getType, getUniqueIdentifier, getViewLocation, isHasTransform, readExternal, readExternal, readVersion, setHasTransform, setLink, setLinkReference, setOrthographicWidth, setUniqueIdentifier, setViewLocation, super_readExternal_MPMUsesOccurrence, super_readVersion_MPMUsesOccurrence, super_writeExternal_MPMUsesOccurrence, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initializeMethods 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
-
toMatrix4d
public javax.vecmath.Matrix4d toMatrix4d()Returns a Java 3D matrix for this Transform.
Supported API: true- Returns:
- Matrix4d
-
setTransform
public void setTransform(javax.vecmath.Matrix4d transform) Sets the Transform to the given Java3D matrix.
Supported API: true- Parameters:
transform-
-
clearTransform
Sets the Transform to a zero-like Java3D matrix.
Supported API: true- Throws:
WTPropertyVetoException
-
initialize
protected void initialize(ObjectReference objectToObjectLinkObjRef, javax.vecmath.Matrix4d transform, String viewLocation, Double orthographicWidth) throws WTException, WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
objectToObjectLinkObjRef-transform-viewLocation-orthographicWidth-- Throws:
WTExceptionWTPropertyVetoException
-
initialize
protected void initialize(ObjectToObjectLink objectToObjectLink, javax.vecmath.Matrix4d transform, String viewLocation, Double orthographicWidth) throws WTException, WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
objectToObjectLink-transform-viewLocation-orthographicWidth-- Throws:
WTExceptionWTPropertyVetoException
-
dublicate
public MPMUsesOccurrence dublicate(ObjectReference objectToObjectLinkObjRef) throws WTException, WTPropertyVetoException This Method returns aMPMUsesOccurrenceassociated to the givenObjectToObjectLink referencenormally aMPMOperationRefLink) oreMPMPartPathOccurrenceLinkand with the given current linktransformand unique id.
Supported API: true- Parameters:
objectToObjectLinkObjRef-- Returns:
- PartUsesOccurrence
- Throws:
WTExceptionWTPropertyVetoException
-
newMPMUsesOccurrence
public static MPMUsesOccurrence newMPMUsesOccurrence(ObjectToObjectLink objectToObjectLink, javax.vecmath.Matrix4d transform) throws WTException, WTPropertyVetoException This constructor returns aMPMUsesOccurrenceassociated to the givenObjectToObjectLinknormally aMPMOperationRefLink) oreMPMPartPathOccurrenceLinkand with the giventransform.
Supported API: true- Parameters:
objectToObjectLink-transform-- Returns:
- PartUsesOccurrence
- Throws:
WTExceptionWTPropertyVetoException
-
newMPMUsesOccurrence
public static MPMUsesOccurrence newMPMUsesOccurrence(ObjectReference objectToObjectLinkObjRef, javax.vecmath.Matrix4d transform) throws WTException, WTPropertyVetoException This constructor returns aMPMUsesOccurrenceassociated to the givenObjectToObjectLinknormally aMPMOperationRefLink) oreMPMPartPathOccurrenceLinkand with the giventransform.
Supported API: true- Parameters:
objectToObjectLinkObjRef-transform-- Returns:
- PartUsesOccurrence
- Throws:
WTExceptionWTPropertyVetoException
-