org.nakedobjects.metamodel.spec
Interface TypedSpecification

All Superinterfaces:
FacetHolder, Identified, Specification
All Known Subinterfaces:
NakedObjectAction, NakedObjectActionParameter, NakedObjectAssociation, NakedObjectFeature, NakedObjectMember, OneToManyAssociation, OneToManyFeature, OneToOneActionParameter, OneToOneAssociation, OneToOneFeature, ParseableEntryActionParameter, ParseableEntryFeature
All Known Implementing Classes:
NakedObjectActionImpl, NakedObjectActionParameterAbstract, NakedObjectActionParameterParseable, NakedObjectActionSet, NakedObjectAssociationAbstract, NakedObjectMemberAbstract, OneToManyAssociationImpl, OneToOneActionParameterImpl, OneToOneAssociationImpl

public interface TypedSpecification
extends Specification

A specification that has an underlying type.

For a property or action parameter, is the type. For a collection is the element type. For an action it is always null.

TODO: replace NakedObjectAction#getReturnType() with #getSpecification() - ie so doesn't return null.


Method Summary
 NakedObjectSpecification getSpecification()
          The specification of the underlying type.
 
Methods inherited from interface org.nakedobjects.metamodel.spec.Specification
getInstance
 
Methods inherited from interface org.nakedobjects.metamodel.spec.identifier.Identified
getIdentifier
 
Methods inherited from interface org.nakedobjects.metamodel.facets.FacetHolder
addFacet, addFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacet
 

Method Detail

getSpecification

NakedObjectSpecification getSpecification()
The specification of the underlying type.

For example:



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