Package org.geotools.data.solr

Examples of org.geotools.data.solr.SolrAttribute


                    .getDataStore(new NullProgressListener());
            ArrayList<SolrAttribute> attributes = dataStore
                    .getSolrAttributes(solrLayerConfiguration.getLayerName());
            for (SolrAttribute at : attributes) {
                if (tempMap.containsKey(at.getName())) {
                    SolrAttribute prev = tempMap.get(at.getName());
                    prev.setEmpty(at.getEmpty());
                    at = prev;
                }
                result.add(at);
            }
            solrLayerConfiguration.getAttributes().clear();
View Full Code Here


        GeoServerTablePanel<SolrAttribute> atts = new GeoServerTablePanel<SolrAttribute>(
                "solrAttributes", attProvider) {
            @Override
            protected Component getComponentForProperty(String id, IModel itemModel,
                    Property<SolrAttribute> property) {
                SolrAttribute att = (SolrAttribute) itemModel.getObject();
                boolean isGeometry = att.getType() != null
                        && Geometry.class.isAssignableFrom(att.getType());
                boolean isPK = att.isPk();
                if (property == SolrAttributeProvider.PK) {
                    if (isPK) {
                        Fragment f = new Fragment(id, "checkboxPk", SolrConfigurationPage.this);
                        f.add(new CheckBox("pk", new PropertyModel<Boolean>(itemModel, "pk")));
                        return f;
View Full Code Here

TOP

Related Classes of org.geotools.data.solr.SolrAttribute

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.