public interface IlpReferenceManager
A reference is an attribute whose value is a business object identifier (mono-valued reference), or a collection of business object identifiers (multi-valued reference). Multi-valued references are not handled.
An association is implemented by a reference. The object holding the reference is the source; the object referred to is the target.
The reference manager tracks:
| Modifier and Type | Method and Description |
|---|---|
IlpReferenceDescriptor |
addReferenceDescriptor(IlpClass sourceIlpClass,
IlpAttribute sourceAttribute,
IlpClass targetIlpClass,
IlpReferenceHandler handler)
Creates and adds a reference descriptor.
|
void |
removeReferenceDescriptor(IlpReferenceDescriptor descriptor)
Removes a reference descriptor.
|
IlpReferenceDescriptor addReferenceDescriptor(IlpClass sourceIlpClass, IlpAttribute sourceAttribute, IlpClass targetIlpClass, IlpReferenceHandler handler)
sourceIlpClass - The business class containing the source reference.sourceAttribute - The business attribute storing the source reference.targetIlpClass - The business class containing the computed reference.handler - The handler to be called when references are
modified.void removeReferenceDescriptor(IlpReferenceDescriptor descriptor)
descriptor - The descriptor for the reference to be removed.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.