wt.epm.structure.occurrences
Class EPMUsesOccurrence

java.lang.Object
  extended by wt.epm.structure.occurrences.EPMUsesOccurrence
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, ObjectMappable, Persistable, Occurrence, UsesOccurrence

public class EPMUsesOccurrence
extends Object
implements UsesOccurrence, Externalizable

Use the newEPMUsesOccurrence static factory method(s), not the EPMUsesOccurrence 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:
Serialized Form

Field Summary
 
Fields inherited from interface wt.occurrence.UsesOccurrence
USES_NAME, USES_OCCURRENCE_IDENTIFIER
 
Fields inherited from interface wt.occurrence.Occurrence
NAME, OCCURRENCE_DATA_VECTOR
 
Method Summary
 String getName()
          Gets the value of the attribute: NAME.
 Vector getOccurrenceDataVector()
          Gets the value of the attribute: OCCURRENCE_DATA_VECTOR.
 String getUsesName()
          Gets the value of the attribute: USES_NAME.
 long getUsesOccurrenceIdentifier()
          Gets the value of the attribute: USES_OCCURRENCE_IDENTIFIER.
 boolean isPlaceholder()
          Returns true if the UsesOccurrence is only used to complete a PathOccurrence and has no other useful information associated with it.
 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 setUsesName(String a_UsesName)
          Sets the value of the attribute: USES_NAME.
 void setUsesOccurrenceIdentifier(long a_UsesOccurrenceIdentifier)
          Sets the value of the attribute: USES_OCCURRENCE_IDENTIFIER.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getUsesOccurrenceIdentifier

public long getUsesOccurrenceIdentifier()
Gets the value of the attribute: USES_OCCURRENCE_IDENTIFIER. This identifier is shared by many OccurrenceableLink objects, all of which represent the same link, except maybe for different iterations or versions of objects being linked. In other words, when the OccurrenceableLink is copied forward this identifier is copied without changing its value.

Supported API: true

Specified by:
getUsesOccurrenceIdentifier in interface UsesOccurrence
Returns:
long

setUsesOccurrenceIdentifier

public void setUsesOccurrenceIdentifier(long a_UsesOccurrenceIdentifier)
                                 throws WTPropertyVetoException
Sets the value of the attribute: USES_OCCURRENCE_IDENTIFIER. This identifier is shared by many OccurrenceableLink objects, all of which represent the same link, except maybe for different iterations or versions of objects being linked. In other words, when the OccurrenceableLink is copied forward this identifier is copied without changing its value.

Supported API: true

Specified by:
setUsesOccurrenceIdentifier in interface UsesOccurrence
Parameters:
a_UsesOccurrenceIdentifier -
Throws:
WTPropertyVetoException

getUsesName

public String getUsesName()
Gets the value of the attribute: USES_NAME. This alias for the name attribute is useful in some cases by introspection so that the name of a UsesOccurrence is distinct from the name of other Occurrences.

Supported API: true

Specified by:
getUsesName in interface UsesOccurrence
Returns:
String

setUsesName

public void setUsesName(String a_UsesName)
                 throws WTPropertyVetoException
Sets the value of the attribute: USES_NAME. This alias for the name attribute is useful in some cases by introspection so that the name of a UsesOccurrence is distinct from the name of other Occurrences.

Supported API: true

Specified by:
setUsesName in interface UsesOccurrence
Parameters:
a_UsesName -
Throws:
WTPropertyVetoException

isPlaceholder

public boolean isPlaceholder()
Returns true if the UsesOccurrence is only used to complete a PathOccurrence and has no other useful information associated with it.

Supported API: true

Specified by:
isPlaceholder in interface UsesOccurrence
Returns:
boolean

getName

public String getName()
Gets the value of the attribute: NAME. The name of an Occurrence is often referred to as a Reference Designator.

Supported API: true

Specified by:
getName in interface Occurrence
Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: NAME. The name of an Occurrence is often referred to as a Reference Designator.

Supported API: true

Specified by:
setName in interface Occurrence
Parameters:
a_Name -
Throws:
WTPropertyVetoException

getOccurrenceDataVector

public Vector getOccurrenceDataVector()
Gets the value of the attribute: OCCURRENCE_DATA_VECTOR. This Vector can be populated with OccurrenceData that is associated to an Occurrence.

Supported API: true

Specified by:
getOccurrenceDataVector in interface Occurrence
Returns:
Vector

setOccurrenceDataVector

public void setOccurrenceDataVector(Vector a_OccurrenceDataVector)
                             throws WTPropertyVetoException
Sets the value of the attribute: OCCURRENCE_DATA_VECTOR. This Vector can be populated with OccurrenceData that is associated to an Occurrence.

Supported API: true

Specified by:
setOccurrenceDataVector in interface Occurrence
Parameters:
a_OccurrenceDataVector -
Throws:
WTPropertyVetoException