Package org.apache.isis.core.metamodel.facets.properties.choices

Examples of org.apache.isis.core.metamodel.facets.properties.choices.PropertyChoicesFacet


        return BoundedFacetUtils.isBoundedSet(getSpecification()) || optionEnabled;
    }

    @Override
    public ObjectAdapter[] getChoices(final ObjectAdapter ownerAdapter) {
        final PropertyChoicesFacet propertyChoicesFacet = getFacet(PropertyChoicesFacet.class);
        final Object[] pojoOptions =
            propertyChoicesFacet == null ? null : propertyChoicesFacet.getChoices(ownerAdapter,
                getSpecificationLookup());
        if (pojoOptions != null) {
            final ObjectAdapter[] options = new ObjectAdapter[pojoOptions.length];
            for (int i = 0; i < options.length; i++) {
                options[i] = getAdapterMap().adapterFor(pojoOptions[i]);
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.facets.properties.choices.PropertyChoicesFacet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.