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

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

There is a newer version: 1.6.7
Show newest version
/*
 * Copyright (c) 2013 Villu Ruusmann
 */
package org.dmg.pmml;

import javax.xml.bind.annotation.XmlTransient;

@XmlTransient
abstract
public class Field extends PMMLObject implements HasName, Indexable {

	@Override
	abstract
	public FieldName getName();

	@Override
	abstract
	public Field setName(FieldName name);

	public String getDisplayName(){
		return null;
	}

	/**
	 * @throws UnsupportedOperationException If the displayName attribute is not supported.
	 */
	public Field setDisplayName(String displayName){
		throw new UnsupportedOperationException();
	}

	abstract
	public OpType getOpType();

	abstract
	public Field setOpType(OpType opType);

	abstract
	public DataType getDataType();

	abstract
	public Field setDataType(DataType dataType);

	@Override
	public FieldName getKey(){
		return getName();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy