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

org.dmg.pmml.ComparisonField Maven / Gradle / Ivy

There is a newer version: 1.6.5
Show newest version
/*
 * Copyright (c) 2013 KNIME.com AG, Zurich, Switzerland
 */
package org.dmg.pmml;

import javax.xml.bind.annotation.XmlTransient;

@XmlTransient
abstract
public class ComparisonField> extends PMMLObject implements HasFieldReference {

	abstract
	public Number getFieldWeight();

	abstract
	public E setFieldWeight(Number fieldWeight);

	abstract
	public CompareFunction getCompareFunction();

	abstract
	public E setCompareFunction(CompareFunction compareFunction);

	public Number getSimilarityScale(){
		return null;
	}

	/**
	 * @throws UnsupportedOperationException If the similarityScale attribute is not supported.
	 */
	public E setSimilarityScale(Number similarityScale){
		throw new UnsupportedOperationException();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy