Package wt.occurrence
Class DataOccurrenceReference
java.lang.Object
wt.occurrence._DataOccurrenceReference
wt.occurrence.DataOccurrenceReference
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,_WTReference,NetFactor,ObjectMappable,WTReference
@GenAsObjectMappable(interfaces=WTReference.class,versions=-1874187340657512407L,properties={@GeneratedProperty(name="key",type=DataOccurrenceForeignKey.class,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="object",type=UsesOccurrence.class,accessors=@PropertyAccessors(setAccess=PRIVATE,getExceptions=WTRuntimeException.class,setExceptions={}),columnProperties=@ColumnProperties(persistent=false))})
public class DataOccurrenceReference
extends _DataOccurrenceReference
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:
-
Field Summary
Fields inherited from class wt.occurrence._DataOccurrenceReference
OBJECT -
Method Summary
Modifier and TypeMethodDescriptionboolean
Supported API: trueinthashCode()
Supported API: trueprotected void
Supported API: trueprotected voidinitialize(UsesOccurrence obj)
Supported API: truestatic DataOccurrenceReference
Supported API: truestatic DataOccurrenceReference
Supported API: truebooleanreferences(Persistable obj)
Supported API: truevoidrefresh()
Supported API: trueMethods inherited from class wt.occurrence._DataOccurrenceReference
getObject
-
Method Details
-
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
Supported API: true- Throws:
WTException
-
equals
Supported API: true- Specified by:
equalsin interfaceWTReference- Overrides:
equalsin classObject- Parameters:
obj-- Returns:
- boolean
-
hashCode
public int hashCode()
Supported API: true- Specified by:
hashCodein interfaceWTReference- Overrides:
hashCodein classObject- Returns:
- int
-
references
Supported API: true- Parameters:
obj-- Returns:
- boolean
-
initialize
Supported API: true- Parameters:
obj-- Throws:
WTException
-
initialize
Supported API: true- Parameters:
objId-- Throws:
WTException
-