public abstract class AbstractFunction extends Object implements ScalarFunction
Modifier and Type | Field and Description |
---|---|
protected LocaleManager |
localeManager
The locale manager.
|
protected int |
precission |
Constructor and Description |
---|
AbstractFunction() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Locale l) |
String |
getName(Locale l) |
boolean |
isTypeSupported(Class type) |
double |
round(double value,
int precission) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCode, scalar
protected int precission
protected LocaleManager localeManager
public String getName(Locale l)
getName
in interface ScalarFunction
public String getDescription(Locale l)
getDescription
in interface ScalarFunction
public boolean isTypeSupported(Class type)
isTypeSupported
in interface ScalarFunction
public double round(double value, int precission)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.