Package wt.part
Class PartPathOccurrence
java.lang.Object
wt.part._PartPathOccurrence
wt.part.PartPathOccurrence
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,_Occurrence,_PathOccurrence,wt.occurrence._PathParentableOccurrence,wt.occurrence._PathToOccurrence,wt.occurrence._UsesPathToOccurrence,Occurrence,PathOccurrence,PathParentableOccurrence,wt.occurrence.PathToOccurrence,wt.occurrence.UsesPathToOccurrence
@GenAsPersistable(interfaces=PathOccurrence.class,versions=-5719362486591232042L,properties={@GeneratedProperty(name="pathIDString",type=java.lang.String.class,accessors=@PropertyAccessors(setAccess=PACKAGE,getAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="occIDSequence",type=java.lang.String[][].class,accessors=@PropertyAccessors(setAccess=PACKAGE,getAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false))})
public final class PartPathOccurrence
extends _PartPathOccurrence
This
PathOccurrence has a name attribute that can
be used to hold a reference designator value.
Use the newPartPathOccurrence static factory method(s),
not the PartPathOccurrence 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.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.occurrence._Occurrence
NAME, OCCURRENCE_DATA_VECTORFields inherited from interface wt.occurrence._PathOccurrence
COMBINED_PATH_OCCURRENCE_VECTOR, PATH_NAME, USES, USES_NAME -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: PATH_NAME.Gets the value of the attribute: USES_NAME.protected voidinitialize(PartUsesOccurrence partUsesOccurrence, PathOccurrenceMasterContext context) Supports initialization, following construction of an instance.protected voidinitialize(PartUsesOccurrence partUsesOccurrence, PartPathOccurrence subPartPathOccurrence) Supports initialization, following construction of an instance.static PartPathOccurrencenewPartPathOccurrence(PartUsesOccurrence partUsesOccurrence, PathOccurrenceMasterContext context) This constructor returns aPartPathOccurrencewith the givenPartUsesOccurrence, the givenPathOccurrenceMasterContext(normally aWTPartMaster) and nosubPath.static PartPathOccurrencenewPartPathOccurrence(PartUsesOccurrence partUsesOccurrence, PartPathOccurrence subPartPathOccurrence) This constructor returns aPartPathOccurrencewith the givenPartUsesOccurrence, givensubPathand copying thePathOccurrenceMasterContext(normally aWTPartMaster) from thesubPath.voidsetPathName(String a_PathName) Sets the value of the attribute: PATH_NAME.voidsetUsesName(String a_UsesName) Sets the value of the attribute: USES_NAME.Methods inherited from class wt.part._PartPathOccurrence
getCombinedPathOccurrenceVector, getName, getOccurrenceDataVector, getUses, setCombinedPathOccurrenceVector, setName, setOccurrenceDataVector, setUses
-
Method Details
-
newPartPathOccurrence
public static PartPathOccurrence newPartPathOccurrence(PartUsesOccurrence partUsesOccurrence, PathOccurrenceMasterContext context) throws WTException, WTPropertyVetoException This constructor returns aPartPathOccurrencewith the givenPartUsesOccurrence, the givenPathOccurrenceMasterContext(normally aWTPartMaster) and nosubPath.
Supported API: true- Parameters:
partUsesOccurrence-context-- Returns:
- PartPathOccurrence
- Throws:
WTExceptionWTPropertyVetoException
-
initialize
protected void initialize(PartUsesOccurrence partUsesOccurrence, PathOccurrenceMasterContext context) throws WTException, WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
partUsesOccurrence-context-- Throws:
WTExceptionWTPropertyVetoException
-
newPartPathOccurrence
public static PartPathOccurrence newPartPathOccurrence(PartUsesOccurrence partUsesOccurrence, PartPathOccurrence subPartPathOccurrence) throws WTException, WTPropertyVetoException This constructor returns aPartPathOccurrencewith the givenPartUsesOccurrence, givensubPathand copying thePathOccurrenceMasterContext(normally aWTPartMaster) from thesubPath.
Supported API: true- Parameters:
partUsesOccurrence-subPartPathOccurrence-- Returns:
- PartPathOccurrence
- Throws:
WTExceptionWTPropertyVetoException
-
initialize
protected void initialize(PartUsesOccurrence partUsesOccurrence, PartPathOccurrence subPartPathOccurrence) throws WTException, WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
partUsesOccurrence-subPartPathOccurrence-- Throws:
WTExceptionWTPropertyVetoException
-
getUsesName
Gets the value of the attribute: USES_NAME.
Supported API: true- Specified by:
getUsesNamein interface_PathOccurrence- Overrides:
getUsesNamein class_PartPathOccurrence- Returns:
- String
- See Also:
-
setUsesName
Sets the value of the attribute: USES_NAME.
Supported API: true- Specified by:
setUsesNamein interface_PathOccurrence- Overrides:
setUsesNamein class_PartPathOccurrence- Parameters:
a_UsesName-- Throws:
WTPropertyVetoException- See Also:
-
getPathName
Gets the value of the attribute: PATH_NAME.
Supported API: true- Specified by:
getPathNamein interface_PathOccurrence- Overrides:
getPathNamein class_PartPathOccurrence- Returns:
- String
- See Also:
-
setPathName
Sets the value of the attribute: PATH_NAME.
Supported API: true- Specified by:
setPathNamein interface_PathOccurrence- Overrides:
setPathNamein class_PartPathOccurrence- Parameters:
a_PathName-- Throws:
WTPropertyVetoException- See Also:
-