Interface ReferenceHolder

All Known Subinterfaces:
ExternalReferenceHolder, IDProviderReferenceHolder

public interface ReferenceHolder
Generic super type for reference holding containers. Instances could be obtained from a ReferenceConstructionAgent.
Since:
4.2.414
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Definition of a callback on changes in a referenced element.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Reference
    Resolves a reference descriptor from the referenced element.
  • Method Details

    • toReference

      @NotNull @NotNull Reference toReference(@Nullable @Nullable ReferenceHolder.ChangeCallback callback)
      Resolves a reference descriptor from the referenced element. The created reference will include support for a change in reference information, so this holder will automatically be updated. If any further action is required on a change of the holder, a callback should be provided to get informed about a change.
      Parameters:
      callback - A callback for taking further action on a reference change or null.
      Returns:
      A reference descriptor.
      Since:
      4.2.414
      See Also: