Class AbstractFunction
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.metapath.function.AbstractFunction
-
- All Implemented Interfaces:
IFunction
- Direct Known Subclasses:
DefaultFunction
public abstract class AbstractFunction extends Object implements IFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.metapath.function.IFunction
IFunction.Builder, IFunction.FunctionProperty
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
arity()
Determine the number of arguments the function has.List<IArgument>
getArguments()
Retrieve the list of function arguments.String
getName()
Retrieve the name of the function.String
getNamespace()
Retrieve the namespace of the function.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.function.IFunction
execute, getProperties, getQName, getResult, isArityUnbounded, isContextDepenent, isDeterministic, isFocusDepenent, toSignature
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IFunction
Retrieve the name of the function.
-
getNamespace
public String getNamespace()
Description copied from interface:IFunction
Retrieve the namespace of the function.- Specified by:
getNamespace
in interfaceIFunction
- Returns:
- the function's namespace
-
arity
public int arity()
Description copied from interface:IFunction
Determine the number of arguments the function has.
-
getArguments
public List<IArgument> getArguments()
Description copied from interface:IFunction
Retrieve the list of function arguments.- Specified by:
getArguments
in interfaceIFunction
- Returns:
- the function arguments or an empty list if there are none
-
-