de.espirit.firstspirit.client.access.editor
Interface ReferenceContaining<T>

Type Parameters:
T - Value type, same as in ValueEngineer

public interface ReferenceContaining<T>

Aspect for reference containing ValueEngineers. Implementors should collect all references from a give value type. References could be obtained by transforming a ReferenceHolder by calling its toReference-method. ReferenceHolder instances could be obtained by calling one of the factory methods of a ReferenceConstructionAgent.

Since:
4.2.414

Field Summary
static ValueEngineerAspectType<ReferenceContaining<?>> TYPE
          Aspect for reference containing ValueEngineers.
 
Method Summary
 List<Reference> collectReferences(T value)
          Collect references as used by the given value.
 

Field Detail

TYPE

static final ValueEngineerAspectType<ReferenceContaining<?>> TYPE
Aspect for reference containing ValueEngineers.

Since:
4.2.414
Method Detail

collectReferences

@NotNull
List<Reference> collectReferences(@NotNull
                                          T value)
Collect references as used by the given value.

See also ValueEngineer for documentation of specific agents provided by this broker. Use ReferenceHolder.toReference(de.espirit.firstspirit.client.access.editor.ReferenceHolder.ChangeCallback) to create a reference. ReferenceHolder-instances could be obtained from a ReferenceConstructionAgent.

Parameters:
value - The value to derive references for.
Returns:
A list of references the value refers to.
Since:
4.2.414
See Also:
ValueEngineer, ReferenceHolder.toReference(de.espirit.firstspirit.client.access.editor.ReferenceHolder.ChangeCallback)


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