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.
getSpecification
NakedObjectSpecification getSpecification()
- The specification of the underlying type.
For example:
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.