Package org.apache.isis.core.progmodel.facets.object.title

Examples of org.apache.isis.core.progmodel.facets.object.title.TitleFacetUsingParser.title()


    @Override
    public String title(final ObjectAdapter object, final Localization localization) {
        final String mask = maskFacet.value();
        final TitleFacetUsingParser titleFacetUsingParser = (TitleFacetUsingParser) underlyingTitleFacet.getUnderlyingFacet();
        if (titleFacetUsingParser != null) {
            final String titleString = titleFacetUsingParser.title(object, mask);
            return titleString;
        } else {
            return underlyingTitleFacet.title(object, localization);
        }
    }
View Full Code Here


    public String title(final ObjectAdapter object, final Localization localization) {
        final String mask = maskFacet.value();
        final TitleFacetUsingParser titleFacetUsingParser =
            (TitleFacetUsingParser) underlyingTitleFacet.getUnderlyingFacet();
        if (titleFacetUsingParser != null) {
            final String titleString = titleFacetUsingParser.title(object, mask);
            return titleString;
        } else {
            return underlyingTitleFacet.title(object, localization);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.