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

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

public abstract class NakedObjectActionPeerDecorator
extends java.lang.Object
implements NakedObjectActionPeer


Constructor Summary
NakedObjectActionPeerDecorator(NakedObjectActionPeer decorated)
           
 
Method Summary
 void debugData(DebugString debugString)
           
 NakedObject execute(NakedObject object, NakedObject[] parameters)
           
<T extends Facet>
T
getFacet(java.lang.Class<T> cls)
          Get the facet of the specified type (as per the type it reports from Facet.facetType()).
 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.
 NakedObjectActionParamPeer[] getParameters()
           
 
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.facets.FacetHolder
addFacet, addFacet, containsFacet, removeFacet, removeFacet
 

Constructor Detail

NakedObjectActionPeerDecorator

public NakedObjectActionPeerDecorator(NakedObjectActionPeer decorated)
Method Detail

debugData

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

execute

public NakedObject execute(NakedObject object,
                           NakedObject[] parameters)
                    throws ReflectiveActionException
Specified by:
execute in interface NakedObjectActionPeer
Throws:
ReflectiveActionException

getFacet

public <T extends Facet> T getFacet(java.lang.Class<T> cls)
Description copied from interface: FacetHolder
Get the facet of the specified type (as per the type it reports from Facet.facetType()).

Specified by:
getFacet in interface FacetHolder

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

getParameters

public NakedObjectActionParamPeer[] getParameters()
Specified by:
getParameters in interface NakedObjectActionPeer


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