wt.occurrence
Interface Occurrence

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
CombinedOccurrence, PathOccurrence, PathParentableOccurrence, UsesOccurrence
All Known Implementing Classes:
CombinedPathOccurrence, EPMUsesOccurrence, PartCombinedPathOccurrence, PartPathOccurrence, PartUsesOccurrence

public interface Occurrence
extends Persistable

This identifies a unique instance of an object (within some context) in a data structure of BinaryLinks; it has associated OccurrenceData and that data is linked using the dataIdentifier instead of the normal OID; that identifier is generated when an Occurrence is newly created, but then it is preserved when Occurrences are copied forward in response to an OccurrenceableLink being copied forward. When OccurrenceData is inserted, updated or deleted, then a check must be done to see if there are multiple Occurrences with the associated dataIdentifier, and if so, then we must create a new Occurrence with a new dataIdentifier and copy forward all of the OccurrenceData associated with the old Occurrence before inserting, updating or deleting.

Supported API: true

Extendable: true


Field Summary
static String NAME
          Label for the attribute; The name of an Occurrence is often referred to as a Reference Designator.
static String OCCURRENCE_DATA_VECTOR
          Label for the attribute; This Vector can be populated with OccurrenceData that is associated to an Occurrence.
 
Method Summary
 String getName()
          Gets the value of the attribute: NAME.
 Vector getOccurrenceDataVector()
          Gets the value of the attribute: OCCURRENCE_DATA_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.
 

Field Detail

NAME

static final String NAME
Label for the attribute; The name of an Occurrence is often referred to as a Reference Designator.

Supported API: true

See Also:
Constant Field Values

OCCURRENCE_DATA_VECTOR

static final String OCCURRENCE_DATA_VECTOR
Label for the attribute; This Vector can be populated with OccurrenceData that is associated to an Occurrence.

Supported API: true

See Also:
Constant Field Values
Method Detail

getName

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

Returns:
String

setName

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

Parameters:
a_Name -
Throws:
WTPropertyVetoException

getOccurrenceDataVector

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

Returns:
Vector

setOccurrenceDataVector

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

Parameters:
a_OccurrenceDataVector -
Throws:
WTPropertyVetoException