public interface PropertyChoicesFacet extends Facet
Viewers would typically represent this as a drop-down list box for the property.
In the standard Apache Isis 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.
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getChoices(ObjectAdapter adapter,
SpecificationLoader specificationLookup)
Gets the available choices for this property.
|
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetObject[] getChoices(ObjectAdapter adapter, SpecificationLoader specificationLookup)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.