org.nakedobjects.metamodel.facets.object.aggregated
Interface AggregatedFacet

All Superinterfaces:
Facet, MarkerFacet
All Known Implementing Classes:
AggregatedFacetAbstract, AggregatedFacetAnnotation, AggregatedFacetImpl, AggregatedSinceCollection

public interface AggregatedFacet
extends MarkerFacet

Indicates that this class is aggregated, that is, wholly contained within a larger object.

The object may or may not be immutable, and may reference regular entity domain objects or other aggregated objects.

In the standard Naked Objects Programming Model, typically corresponds to applying the @Aggregated annotation at the class level.

In terms of an analogy, aggregated is similar to Hibernate's component types (for larger mutable in-line objects) or to Hibernate's user-defined types (for smaller immutable values).

TODO: should also be able to apply to associations, indicating that the reference is aggregating.


Method Summary
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.