|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.part.PartPathOccurrence
public final class 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
| Field Summary |
|---|
| Fields inherited from interface wt.occurrence.PathOccurrence |
|---|
COMBINED_PATH_OCCURRENCE_VECTOR, PATH_NAME, USES, USES_NAME |
| Method Summary | |
|---|---|
Vector |
getCombinedPathOccurrenceVector()
Gets the value of the attribute: COMBINED_PATH_OCCURRENCE_VECTOR. |
String |
getName()
Gets the value of the attribute: NAME. |
Vector |
getOccurrenceDataVector()
Gets the value of the attribute: OCCURRENCE_DATA_VECTOR. |
Vector |
getPathList()
Returns a Vector of the PathOccurrence objects
that make up this path. |
String |
getPathName()
Gets the value of the attribute: PATH_NAME. |
UsesOccurrence |
getUses()
Gets the value of the attribute: USES. |
String |
getUsesName()
Gets the value of the attribute: USES_NAME. |
boolean |
hasSubPath()
Returns true if the PathOccurrence has a non-null sub
path. |
protected void |
initialize(PartUsesOccurrence partUsesOccurrence,
PartPathOccurrence subPartPathOccurrence)
Supports initialization, following construction of an instance. |
protected void |
initialize(PartUsesOccurrence partUsesOccurrence,
PathOccurrenceMasterContext context)
Supports initialization, following construction of an instance. |
static PartPathOccurrence |
newPartPathOccurrence(PartUsesOccurrence partUsesOccurrence,
PartPathOccurrence subPartPathOccurrence)
This constructor returns a PartPathOccurrence with the
given PartUsesOccurrence, given subPath and copying
the PathOccurrenceMasterContext (normally a
WTPartMaster) from the subPath. |
static PartPathOccurrence |
newPartPathOccurrence(PartUsesOccurrence partUsesOccurrence,
PathOccurrenceMasterContext context)
This constructor returns a PartPathOccurrence with the
given PartUsesOccurrence, the given PathOccurrenceMasterContext
(normally a WTPartMaster) and no subPath. |
void |
setCombinedPathOccurrenceVector(Vector a_CombinedPathOccurrenceVector)
Sets the value of the attribute: COMBINED_PATH_OCCURRENCE_VECTOR. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setOccurrenceDataVector(Vector a_OccurrenceDataVector)
Sets the value of the attribute: OCCURRENCE_DATA_VECTOR. |
void |
setPathName(String a_PathName)
Sets the value of the attribute: PATH_NAME. |
void |
setUses(UsesOccurrence a_Uses)
Sets the value of the attribute: USES. |
void |
setUsesName(String a_UsesName)
Sets the value of the attribute: USES_NAME. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static PartPathOccurrence newPartPathOccurrence(PartUsesOccurrence partUsesOccurrence,
PathOccurrenceMasterContext context)
throws WTException,
WTPropertyVetoException
PartPathOccurrence with the
given PartUsesOccurrence, the given PathOccurrenceMasterContext
(normally a WTPartMaster) and no subPath.
partUsesOccurrence - context -
WTException
WTPropertyVetoException
protected void initialize(PartUsesOccurrence partUsesOccurrence,
PathOccurrenceMasterContext context)
throws WTException,
WTPropertyVetoException
partUsesOccurrence - context -
WTException
WTPropertyVetoException
public static PartPathOccurrence newPartPathOccurrence(PartUsesOccurrence partUsesOccurrence,
PartPathOccurrence subPartPathOccurrence)
throws WTException,
WTPropertyVetoException
PartPathOccurrence with the
given PartUsesOccurrence, given subPath and copying
the PathOccurrenceMasterContext (normally a
WTPartMaster) from the subPath.
partUsesOccurrence - subPartPathOccurrence -
WTException
WTPropertyVetoException
protected void initialize(PartUsesOccurrence partUsesOccurrence,
PartPathOccurrence subPartPathOccurrence)
throws WTException,
WTPropertyVetoException
partUsesOccurrence - subPartPathOccurrence -
WTException
WTPropertyVetoExceptionpublic Vector getCombinedPathOccurrenceVector()
Vector can be populated with CombinedPathOccurrence
that is associated to a parent PathOccurrence.
getCombinedPathOccurrenceVector in interface PathOccurrence
public void setCombinedPathOccurrenceVector(Vector a_CombinedPathOccurrenceVector)
throws WTPropertyVetoException
Vector can be populated with CombinedPathOccurrence
that is associated to a parent PathOccurrence.
setCombinedPathOccurrenceVector in interface PathOccurrencea_CombinedPathOccurrenceVector -
WTPropertyVetoExceptionpublic UsesOccurrence getUses()
UsesOccurrence that was
used to retrieve the PathOccurrence. This is necessary since
the PathOccurrence only has a UsesOccurrenceReference,
which could refer to more than one UsesOccurrence.
getUses in interface PathOccurrence
public void setUses(UsesOccurrence a_Uses)
throws WTPropertyVetoException
UsesOccurrence that was
used to retrieve the PathOccurrence. This is necessary since
the PathOccurrence only has a UsesOccurrenceReference,
which could refer to more than one UsesOccurrence.
setUses in interface PathOccurrencea_Uses -
WTPropertyVetoExceptionpublic String getUsesName()
getUsesName in interface PathOccurrence
public void setUsesName(String a_UsesName)
throws WTPropertyVetoException
setUsesName in interface PathOccurrencea_UsesName -
WTPropertyVetoExceptionpublic String getPathName()
getPathName in interface PathOccurrence
public void setPathName(String a_PathName)
throws WTPropertyVetoException
setPathName in interface PathOccurrencea_PathName -
WTPropertyVetoExceptionpublic boolean hasSubPath()
PathOccurrence has a non-null sub
path.
hasSubPath in interface PathOccurrencepublic Vector getPathList()
Vector of the PathOccurrence objects
that make up this path. A root node in a path structure could just
return itself in a list of length 1.
getPathList in interface PathOccurrencepublic String getName()
Occurrence is often referred to as a Reference
Designator.
getName in interface Occurrence
public void setName(String a_Name)
throws WTPropertyVetoException
Occurrence is often referred to as a Reference
Designator.
setName in interface Occurrencea_Name -
WTPropertyVetoExceptionpublic Vector getOccurrenceDataVector()
Vector can be populated with OccurrenceData
that is associated to an Occurrence.
getOccurrenceDataVector in interface Occurrence
public void setOccurrenceDataVector(Vector a_OccurrenceDataVector)
throws WTPropertyVetoException
Vector can be populated with OccurrenceData
that is associated to an Occurrence.
setOccurrenceDataVector in interface Occurrencea_OccurrenceDataVector -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||