public class ConverterMapArgument extends ConverterArgumentExpression
ConverterMention
. A map argument is
considered constant (i.e. isConstant()
== true
), only if its values are themselves
constants.Modifier and Type | Field and Description |
---|---|
private Map<String,ConverterArgumentExpression> |
map |
Constructor and Description |
---|
ConverterMapArgument(Map<String,ConverterArgumentExpression> map)
Constructs an argument based on the provided map of argument expressions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ConverterMapArgument |
fromNodesMap(Map<String,org.eclipse.rdf4j.model.Value> args)
Factory method that constructs a map argument based on a map, the value of which are (constant) RDF
nodes.
|
Class<?> |
getArgumentType()
Returns the Java type associated with the argument.
|
Object |
getGroundObject() |
Map<String,ConverterArgumentExpression> |
getMap()
Returns the underlying map of converter expressions
|
int |
hashCode() |
boolean |
isConstant()
Tells whether this argument is a constant value or an expression the value of which may be affected by
the state of the execution environment (typically the values assigned to placeholders).
|
String |
toString() |
private Map<String,ConverterArgumentExpression> map
public ConverterMapArgument(Map<String,ConverterArgumentExpression> map)
map
- public Class<?> getArgumentType()
ConverterArgumentExpression
getArgumentType
in class ConverterArgumentExpression
public boolean isConstant()
ConverterArgumentExpression
isConstant
in class ConverterArgumentExpression
public Map<String,ConverterArgumentExpression> getMap()
public Object getGroundObject()
getGroundObject
in class ConverterArgumentExpression
public static ConverterMapArgument fromNodesMap(Map<String,org.eclipse.rdf4j.model.Value> args)
args
- public String toString()
toString
in class ConverterArgumentExpression
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.