org.nakedobjects.metamodel.facets.propparam.validate.maxlength
Interface MaxLengthFacet
- All Superinterfaces:
- Facet, InteractionAdvisor, InteractionAdvisorFacet, SingleIntValueFacet, ValidatingInteractionAdvisor
- All Known Implementing Classes:
- MaxLengthFacetAbstract, MaxLengthFacetAnnotation, MaxLengthFacetUnlimited
public interface MaxLengthFacet
- extends SingleIntValueFacet, ValidatingInteractionAdvisor
Whether the (string) property or a parameter's length must not exceed a certain length.
In the standard Naked Objects Programming Model, corresponds to the @MaxLength annotation.
|
Method Summary |
boolean |
exceeds(NakedObject nakedObject)
Whether the provided string exceeds the maximum length. |
exceeds
boolean exceeds(NakedObject nakedObject)
- Whether the provided string exceeds the maximum length.
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.