All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.facets.properties.choices.PropertyChoicesFacet Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.facets.properties.choices;

import org.nakedobjects.metamodel.adapter.NakedObject;
import org.nakedobjects.metamodel.facets.Facet;


/**
 * Provides a set of choices for a property.
 * 
 * 

* Viewers would typically represent this as a drop-down list box for the property. * *

* In the standard Naked Objects Programming Model, corresponds to the choicesXxx supporting method * for the property with accessor getXxx. * *

* Note: an alternative mechanism may be to use the @Bounded annotation against the referenced class. */ public interface PropertyChoicesFacet extends Facet { /** * Gets the available choices for this property. */ public Object[] getChoices(NakedObject adapter); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy