wt.occurrence
Interface Occurrence

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
BuildableOccurrence, CombinedOccurrence, PathOccurrence, PathParentableOccurrence, UsesOccurrence
All Known Implementing Classes:
CombinedPathOccurrence, EPMUsesOccurrence, 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.
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
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.
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassname
 

Field Detail

NAME

public 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

public 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

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

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

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

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

Parameters:
a_OccurrenceDataVector -
Throws:
WTPropertyVetoException