Interface IDProviderReferenceHolder

All Superinterfaces:
ReferenceHolder

public interface IDProviderReferenceHolder extends ReferenceHolder
Definition of a IdProvider reference holding container.
Since:
5.0.100
  • Nested Class Summary

    Nested classes/interfaces inherited from interface de.espirit.firstspirit.client.access.editor.ReferenceHolder

    ReferenceHolder.ChangeCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Convenience method, indicating that the referenced element exists in the according store.
    @Nullable IDProvider
    Resolves the element referenced by this container.
    @Nullable String
    Symbolic project name, if the referenced element originates from a remote project.

    Methods inherited from interface de.espirit.firstspirit.client.access.editor.ReferenceHolder

    toReference
  • Method Details

    • getElement

      @Nullable @Nullable IDProvider getElement() throws IllegalStateException
      Resolves the element referenced by this container.
      Returns:
      The resolved store element.
      Throws:
      IllegalStateException - If a referenced remote project is not defined.
      Since:
      5.0.100
    • getRemote

      @Nullable @Nullable String getRemote()
      Symbolic project name, if the referenced element originates from a remote project.
      Returns:
      The element's remote project name.
      Since:
      5.0.100
    • exists

      boolean exists()
      Convenience method, indicating that the referenced element exists in the according store.
      Returns:
      true, if the element exists.
      Since:
      5.0.100