/** * ============================================================================= * * ORCID (R) Open Source * http://orcid.org * * Copyright (c) 2012-2014 ORCID, Inc. * Licensed under an MIT-Style License (MIT) * http://orcid.org/open-source-license * * This copyright and license information (including a link to the full license) * shall be included in its entirety in all copies or substantial portion of * the software. * * ============================================================================= */ package org.orcid.core.utils; /** * * @author Will Simpson * */ public class SolrFieldWeight { private String field; private float weight; public SolrFieldWeight() { } public SolrFieldWeight(String field, float weight) { this.field = field; this.weight = weight; } public String getField() { return field; } public void setField(String field) { this.field = field; } public float getWeight() { return weight; } public void setWeight(float weight) { this.weight = weight; } }