Package wt.eff.format
Class EffState
java.lang.Object
wt.eff.format.EffState
- All Implemented Interfaces:
Serializable
A class that is designed to hold the state associated while processing
one or many effectivity statements.
Instances of EffState are designed and treated as immutable, once initialized during construction (where the class invariant is established). Hence they can be safely shared and are thread-safe.
Supported API: true
Extendable: false
Instances of EffState are designed and treated as immutable, once initialized during construction (where the class invariant is established). Hence they can be safely shared and are thread-safe.
Supported API: true
Extendable: false
- Since:
- Windchill 9.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal WTContainerRefReference to the windchillWTContainerthe current use case or the its context occurs/resides in.final ObjectReference(Optional) An object reference to the effectivity context object if supported by the effectivity type.final EffTypeThe effectivity type being considered as part of the transaction. -
Constructor Summary
ConstructorsConstructorDescriptionEffState(EffType effType, ObjectReference contextObjRef, WTContainerRef containerRef) Constructs an EffState instance with the provided arguments. -
Method Summary
Modifier and TypeMethodDescriptionfinal WTContainerRefGets the value of the attribute: containerRef; Reference to the windchillWTContainerthe current use case or the its context occurs/resides in.final ObjectReferenceGets the value of the attribute: contextObjRef; (Optional) An object reference to the effectivity context object if supported by the effectivity type.final EffTypeGets the value of the attribute: effType; The effectivity type being considered as part of the transaction.
-
Field Details
-
effType
The effectivity type being considered as part of the transaction.
Supported API: true -
contextObjRef
(Optional) An object reference to the effectivity context object if supported by the effectivity type. In the case of creating part instances, the context object is the traceable part identified with the part instance.
Supported API: true -
containerRef
Reference to the windchillWTContainerthe current use case or the its context occurs/resides in.
Supported API: true
-
-
Constructor Details
-
EffState
Constructs an EffState instance with the provided arguments.
Supported API: true- Parameters:
effType- (Required) The effectivity type being considered as part of the transaction.contextObjRef- (Optional) An object reference to the effectivity context object if supported by the effectivity type. In the case of creating part instances, the context object is the traceable part identified with the part instance.containerRef- (Required) Reference to the windchill container the current use case or the its context occurs/resides in.- Throws:
NullPointerException- if either the required effType or containerRef arguments are null.
-
-
Method Details
-
getEffType
Gets the value of the attribute: effType; The effectivity type being considered as part of the transaction.
Supported API: true- Returns:
- EffType
-
getContextObjRef
Gets the value of the attribute: contextObjRef; (Optional) An object reference to the effectivity context object if supported by the effectivity type. In the case of creating part instances, the context object is the traceable part identified with the part instance.
Supported API: true- Returns:
- ObjectReference
-
getContainerRef
Gets the value of the attribute: containerRef; Reference to the windchillWTContainerthe current use case or the its context occurs/resides in.
Supported API: true- Returns:
- WTContainerRef
-