public class DefineFunction extends PMMLObject implements HasExpression<DefineFunction>, HasExtensions<DefineFunction>, HasType<DefineFunction>, Indexable<String>
| Constructor and Description |
|---|
DefineFunction() |
DefineFunction(String name,
OpType opType,
DataType dataType,
List<ParameterField> parameterFields,
Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DefineFunction |
addExtensions(Extension... extensions) |
DefineFunction |
addParameterFields(ParameterField... parameterFields) |
DataType |
getDataType() |
Expression |
getExpression() |
List<Extension> |
getExtensions() |
String |
getKey() |
String |
getName() |
OpType |
getOpType() |
List<ParameterField> |
getParameterFields() |
boolean |
hasExtensions() |
boolean |
hasParameterFields() |
DefineFunction |
setDataType(DataType dataType) |
DefineFunction |
setExpression(Expression expression) |
DefineFunction |
setName(String name) |
DefineFunction |
setOpType(OpType opType) |
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataTypepublic DefineFunction()
public DefineFunction(String name, OpType opType, DataType dataType, List<ParameterField> parameterFields, Expression expression)
public String getKey()
public String getName()
public DefineFunction setName(String name)
public OpType getOpType()
getOpType in interface HasOpType<DefineFunction>public DefineFunction setOpType(OpType opType)
setOpType in interface HasOpType<DefineFunction>public DataType getDataType()
getDataType in interface HasDataType<DefineFunction>public DefineFunction setDataType(DataType dataType)
setDataType in interface HasDataType<DefineFunction>public boolean hasExtensions()
hasExtensions in interface HasExtensions<DefineFunction>public List<Extension> getExtensions()
getExtensions in interface HasExtensions<DefineFunction>public DefineFunction addExtensions(Extension... extensions)
addExtensions in interface HasExtensions<DefineFunction>public boolean hasParameterFields()
public List<ParameterField> getParameterFields()
public DefineFunction addParameterFields(ParameterField... parameterFields)
public Expression getExpression()
getExpression in interface HasExpression<DefineFunction>public DefineFunction setExpression(Expression expression)
setExpression in interface HasExpression<DefineFunction>public VisitorAction accept(Visitor visitor)
Copyright © 2019 University of Tartu. All rights reserved.