TEINamedEntityDerivationImpl.java 659 Bytes
package ipipan.clarin.tei.impl.entities;

import ipipan.clarin.tei.api.entities.TEINamedEntityDerivation;

/**
 *
 * @author mlenart
 */
public class TEINamedEntityDerivationImpl extends TEIAbstractEntity implements
		TEINamedEntityDerivation {

	private final String type;
	private final String from;

	public TEINamedEntityDerivationImpl(String type, String from) {
		super(null);
		this.type = type;
		this.from = from;
	}

	@Override
	public String getId() {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public String getDerivType() {
		return type;
	}

	@Override
	public String getDerivedFrom() {
		return from;
	}
}