All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.uniroma2.art.maple.scenario.PairingHand Maven / Gradle / Ivy

The newest version!
package it.uniroma2.art.maple.scenario;

import org.eclipse.rdf4j.model.IRI;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;

/**
 * Describes a hand of a {@link RefinablePairing}.
 * 
 * @author Manuel Fiorelli
 *
 */
public class PairingHand {
	private final IRI lexicalizationSet;

	@JsonCreator
	public PairingHand(@JsonProperty("lexicalizationSet") IRI lexicalizationSet) {
		this.lexicalizationSet = lexicalizationSet;
	}

	public IRI getLexicalizationSet() {
		return lexicalizationSet;
	}

	@Override
	public String toString() {
		return MoreObjects.toStringHelper(this).add("lexicalizationSet", lexicalizationSet).toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy