Package wt.occurrence

Interface Occurrence

All Superinterfaces:
wt.fc._NetFactor, wt.fc._ObjectMappable, _Occurrence, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
wt.occurrence._CombinedOccurrence, _PathOccurrence, wt.occurrence._PathParentableOccurrence, _UsesOccurrence, CombinedOccurrence, PathOccurrence, PathParentableOccurrence, UsesOccurrence
All Known Implementing Classes:
_CombinedPathOccurrence, wt.part._PartCombinedPathOccurrence, _PartPathOccurrence, _PartUsesOccurrence, CombinedPathOccurrence, PartCombinedPathOccurrence, PartPathOccurrence, PartUsesOccurrence

@GenAsPersistable(extendable=true,properties={@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The name of an <code>Occurrence</code> is often referred to as a Reference Designator."),@GeneratedProperty(name="occurrenceDataVector",type=java.util.Vector.class,supportedAPI=PUBLIC,javaDoc="This <code>Vector</code> can be populated with {@link OccurrenceData} that is associated to an {@link Occurrence}.",columnProperties=@ColumnProperties(persistent=false))}) public interface Occurrence extends _Occurrence
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