Class NamedElementHolder<T extends NamedElement>

  • Type Parameters:
    T - type of named elements in the collection.
    All Implemented Interfaces:
    Iterable<T>, Collection<T>

    public abstract class NamedElementHolder<T extends NamedElement>
    extends Object
    implements Collection<T>
    A collection of named elements that may only contain one element per each name. Provides uniqueness of names and access by name. For example these may be tables in a grain, fields in a key etc. The implementation of interface Collection is done only for the purpose of ObjectAid utility to correctly build a UML diagram (taking a field of NamedElementHolder type as a multi-reference).