it.tidalwave.role
Interface Composite<Type,SpecializedFinder extends Finder<Type>>

Package class diagram package Composite
All Known Subinterfaces:
SimpleComposite<Type>
All Known Implementing Classes:
DefaultSimpleComposite

public interface Composite<Type,SpecializedFinder extends Finder<Type>>

The role of a composite object, that is an object which contains children.

Version:
$Id$
Author:
Fabrizio Giudici
Status: stable API

Nested Class Summary
static class Composite.EmptyFinder
           
static interface Composite.Visitor<T,R>
           
static class Composite.VisitorSupport<T,R>
          A support class for Composite.Visitor which provides default empty methods.
 
Field Summary
static Class<Composite> Composite
           
static Composite<Object,Finder<Object>> DEFAULT
          A default Composite with no children.
 
Method Summary
 SpecializedFinder findChildren()
          Returns the children of this object.
 

Field Detail

Composite

static final Class<Composite> Composite

DEFAULT

static final Composite<Object,Finder<Object>> DEFAULT
A default Composite with no children.

Method Detail

findChildren

@Nonnull
SpecializedFinder findChildren()
Returns the children of this object.

Returns:
the children


Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.