de.espirit.firstspirit.client.access.editor
Interface StoreElementReferenceHolder

All Superinterfaces:
ReferenceHolder

public interface StoreElementReferenceHolder
extends ReferenceHolder

Definition of a store element reference holding container.

Since:
4.2.414

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.espirit.firstspirit.client.access.editor.ReferenceHolder
ReferenceHolder.ChangeCallback
 
Method Summary
 boolean exists()
          Convenience method, indicating that the referenced element exists in the according store.
 IDProvider getElement()
          Resolves the element referenced by this container.
 String getRemote()
          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 Detail

getElement

@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:
4.2.414

getRemote

@Nullable
String getRemote()
Symbolic project name, if the referenced element originates from a remote project.

Returns:
The element's remote project name.
Since:
4.2.414

exists

boolean exists()
Convenience method, indicating that the referenced element exists in the according store.

Returns:
true, if the element exists.
Since:
4.2.414


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480