Package nz.org.riskscape.engine.rl
Class RealizableFunction.MetadataIdentifiedRealizableFunction
java.lang.Object
nz.org.riskscape.engine.rl.RealizableFunction.MetadataIdentifiedRealizableFunction
- All Implemented Interfaces:
AutoCloseable,IdentifiedFunction,RiskscapeFunction,UntypedFunction,Identified
- Enclosing interface:
- RealizableFunction
public static class RealizableFunction.MetadataIdentifiedRealizableFunction
extends Object
implements IdentifiedFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.function.IdentifiedFunction
IdentifiedFunction.Category, IdentifiedFunction.Wrapping -
Field Summary
Fields inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
BUILT_IN, LOG -
Constructor Summary
ConstructorsConstructorDescriptionMetadataIdentifiedRealizableFunction(RealizableFunction function, FunctionMetadata metadata) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClassMethods inherited from interface nz.org.riskscape.engine.function.IdentifiedFunction
getSource, infoOutput, isBuiltin, toEntityMethods inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
builtin, close, getAggregationFunction, getOverloaded, getTypesFromArguments, identified, identified, isA, setProblemReporter, validate
-
Constructor Details
-
MetadataIdentifiedRealizableFunction
-
-
Method Details
-
getArgumentTypes
- Specified by:
getArgumentTypesin interfaceRiskscapeFunction- Returns:
- the types that this function expects
-
getArguments
- Specified by:
getArgumentsin interfaceRiskscapeFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceRiskscapeFunction- Returns:
- the type that this function should return
-
call
Description copied from interface:UntypedFunctionExecute the function with the given arguments.
- Specified by:
callin interfaceUntypedFunction- Parameters:
args- list of arguments to the function that should conform to the types inArgumentList.getArgumentTypes()
-
getId
- Specified by:
getIdin interfaceIdentified- Returns:
- id
-
getDescription
- Specified by:
getDescriptionin interfaceIdentifiedFunction- Returns:
- a human readable description of the function
-
getSourceURI
- Specified by:
getSourceURIin interfaceIdentifiedFunction- Returns:
- a uri indicating the source of function. file/uri etc.
-
getCategory
- Specified by:
getCategoryin interfaceIdentifiedFunction- Returns:
- the category that this function belongs to
-
getRealizable
- Specified by:
getRealizablein interfaceRiskscapeFunction- Returns:
- a
RealizableFunctionthat can realize thisRiskscapeFunctionagainst a type, or empty if this function does not support realization.
-
getFunction
-
getMetadata
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-