org.nakedobjects.metamodel.facets.collections.validate
Interface CollectionValidateAddToFacet
- All Superinterfaces:
- Facet, InteractionAdvisor, InteractionAdvisorFacet, ValidatingInteractionAdvisor
- All Known Implementing Classes:
- CollectionValidateAddToFacetAbstract, CollectionValidateAddToFacetViaMethod
public interface CollectionValidateAddToFacet
- extends Facet, ValidatingInteractionAdvisor
Validate that an object can be added to a collection.
In the standard Naked Objects Programming Model, corresponds to invoking the validateAddToXxx
support method for a collection.
invalidReason
java.lang.String invalidReason(NakedObject target,
NakedObject proposedArgument)
- Reason the object cannot be added, or null if okay.
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.