wt.occurrence
Class DataOccurrenceReference

java.lang.Object
  extended by wt.occurrence.DataOccurrenceReference
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, ObjectMappable, WTReference

public class DataOccurrenceReference
extends Object
implements WTReference, Externalizable

This reference is to a set of UsesOccurrences that all share the same UsesOccurrenceData objects.

Use the newDataOccurrenceReference static factory method(s), not the DataOccurrenceReference 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

Method Summary
 boolean equals(Object obj)
          

Supported API: true
 int hashCode()
          

Supported API: true
protected  void initialize(DataOccurrenceForeignKey objId)
          

Supported API: true
protected  void initialize(UsesOccurrence obj)
          

Supported API: true
static DataOccurrenceReference newDataOccurrenceReference(DataOccurrenceForeignKey objId)
          

Supported API: true
static DataOccurrenceReference newDataOccurrenceReference(UsesOccurrence obj)
          

Supported API: true
 boolean references(Persistable obj)
          

Supported API: true
 void refresh()
          

Supported API: true
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

newDataOccurrenceReference

public static DataOccurrenceReference newDataOccurrenceReference(UsesOccurrence obj)
                                                          throws WTException


Supported API: true

Parameters:
obj -
Returns:
DataOccurrenceReference
Throws:
WTException

newDataOccurrenceReference

public static DataOccurrenceReference newDataOccurrenceReference(DataOccurrenceForeignKey objId)
                                                          throws WTException


Supported API: true

Parameters:
objId -
Returns:
DataOccurrenceReference
Throws:
WTException

refresh

public void refresh()
             throws WTException


Supported API: true

Throws:
WTException

equals

public boolean equals(Object obj)


Supported API: true

Overrides:
equals in class Object
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()


Supported API: true

Overrides:
hashCode in class Object
Returns:
int

references

public boolean references(Persistable obj)


Supported API: true

Parameters:
obj -
Returns:
boolean

initialize

protected void initialize(UsesOccurrence obj)
                   throws WTException


Supported API: true

Parameters:
obj -
Throws:
WTException

initialize

protected void initialize(DataOccurrenceForeignKey objId)
                   throws WTException


Supported API: true

Parameters:
objId -
Throws:
WTException