Class AbstractItem.IdeChildrenGroup

  • All Implemented Interfaces:
    java.util.function.Function<M,​java.util.List<? extends Model>>
    Enclosing class:
    AbstractItem<R extends Model,​O,​P extends Model,​PE extends java.lang.Enum<PE>,​M extends Model,​E extends java.lang.Enum<E>>

    public class AbstractItem.IdeChildrenGroup
    extends java.lang.Object
    implements java.util.function.Function<M,​java.util.List<? extends Model>>
    • Constructor Detail

      • IdeChildrenGroup

        @SafeVarargs
        public IdeChildrenGroup​(java.lang.String groupName,
                                AbstractItem<R,​O,​M,​E,​?,​?>... children)
        Instantiate for multiple AbstractItem instances.
        Parameters:
        groupName - Name of the group.
        children - AbstractItem instances.
    • Method Detail

      • getChildrenGroupName

        public java.lang.String getChildrenGroupName()
        Obtains the name of the ChildrenGroup.
        Returns:
        Name of the ChildrenGroup.
      • apply

        public java.util.List<? extends Model> apply​(M parent)
        Specified by:
        apply in interface java.util.function.Function<M extends Model,​java.util.List<? extends Model>>
      • changeEvents

        public java.lang.Enum<?>[] changeEvents()
        Obtain the change events.
        Returns:
        Change events.