org.nakedobjects.metamodel.specloader.internal.peer
Class NakedObjectAssociationPeerDecorator

java.lang.Object
  extended by org.nakedobjects.metamodel.specloader.internal.peer.NakedObjectAssociationPeerDecorator
All Implemented Interfaces:
FacetHolder, Identified, NakedObjectAssociationPeer, NakedObjectMemberPeer

public abstract class NakedObjectAssociationPeerDecorator
extends java.lang.Object
implements NakedObjectAssociationPeer


Constructor Summary
NakedObjectAssociationPeerDecorator(NakedObjectAssociationPeer decorated)
           
 
Method Summary
 void debugData(DebugString debugString)
           
 Facet[] getFacets(Filter<Facet> filter)
          Returns all Facets matching the specified FacetFilter.
 java.lang.Class<? extends Facet>[] getFacetTypes()
          Get the list of all facet types that are supported by objects of this specification.
 Identifier getIdentifier()
          Identifier of this feature.
 NakedObjectSpecification getSpecification()
          The specification of the associated object if NakedObjectAssociationPeer.isOneToOne() is true, or, the type of the associated object (rather than a Vector.class, say), if NakedObjectAssociationPeer.isOneToMany() is true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.specloader.internal.peer.NakedObjectAssociationPeer
isOneToMany, isOneToOne
 
Methods inherited from interface org.nakedobjects.metamodel.facets.FacetHolder
addFacet, addFacet, containsFacet, getFacet, removeFacet, removeFacet
 

Constructor Detail

NakedObjectAssociationPeerDecorator

public NakedObjectAssociationPeerDecorator(NakedObjectAssociationPeer decorated)
Method Detail

debugData

public void debugData(DebugString debugString)
Specified by:
debugData in interface NakedObjectMemberPeer

getFacetTypes

public java.lang.Class<? extends Facet>[] getFacetTypes()
Description copied from interface: FacetHolder
Get the list of all facet types that are supported by objects of this specification.

Specified by:
getFacetTypes in interface FacetHolder

getFacets

public Facet[] getFacets(Filter<Facet> filter)
Description copied from interface: FacetHolder
Returns all Facets matching the specified FacetFilter.

Specified by:
getFacets in interface FacetHolder
Returns:

getIdentifier

public Identifier getIdentifier()
Description copied from interface: Identified
Identifier of this feature.

Specified by:
getIdentifier in interface Identified

getSpecification

public NakedObjectSpecification getSpecification()
Description copied from interface: NakedObjectAssociationPeer
The specification of the associated object if NakedObjectAssociationPeer.isOneToOne() is true, or, the type of the associated object (rather than a Vector.class, say), if NakedObjectAssociationPeer.isOneToMany() is true.

Specified by:
getSpecification in interface NakedObjectAssociationPeer


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