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
-
Constructor Summary
ConstructorDescriptionMetadataIdentifiedRealizableFunction
(RealizableFunction function, FunctionMetadata metadata) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.function.IdentifiedFunction
infoOutput, isBuiltin, toEntity
Methods inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
builtin, getAggregationFunction, getOverloaded, getTypesFromArguments, identified, identified, isA, setProblemReporter, validate
Methods inherited from interface nz.org.riskscape.engine.function.UntypedFunction
close
-
Constructor Details
-
MetadataIdentifiedRealizableFunction
-
-
Method Details
-
getArgumentTypes
- Specified by:
getArgumentTypes
in interfaceRiskscapeFunction
- Returns:
- the types that this function expects
-
getArguments
- Specified by:
getArguments
in interfaceRiskscapeFunction
-
getReturnType
- Specified by:
getReturnType
in interfaceRiskscapeFunction
- Returns:
- the type that this function should return
-
call
Description copied from interface:UntypedFunction
Execute the function with the given arguments.
- Specified by:
call
in interfaceUntypedFunction
- Parameters:
args
- list of arguments to the function that should conform to the types inArgumentList.getArgumentTypes()
-
getId
- Specified by:
getId
in interfaceIdentified
- Returns:
- id
-
getDescription
- Specified by:
getDescription
in interfaceIdentifiedFunction
- Returns:
- a human readable description of the function
-
getSource
- Specified by:
getSource
in interfaceIdentifiedFunction
- Returns:
- a string indicating the source of function. file/uri etc.
-
getCategory
- Specified by:
getCategory
in interfaceIdentifiedFunction
- Returns:
- the category that this function belongs to
-
getRealizable
- Specified by:
getRealizable
in interfaceRiskscapeFunction
- Returns:
- a
RealizableFunction
that can realize thisRiskscapeFunction
against a type, or empty if this function does not support realization.
-
getFunction
-
getMetadata
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-