org.dmg.pmml.ComparisonField Maven / Gradle / Ivy
/*
* 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();
}
}