public class InterpretedLiteral extends Literal
parameters| Constructor and Description |
|---|
InterpretedLiteral(Literal l,
java.util.Map<VariableParam,? extends LiteralParam> map)
Copy constructor for an existing literal under giving mapping.
|
InterpretedLiteral(java.lang.String property)
Protected helper constructor.
|
InterpretedLiteral(java.lang.String property,
java.util.List<LiteralParam> parameters)
Creates a literal with a list of parameters.
|
InterpretedLiteral(java.lang.String predicateName,
java.util.List<LiteralParam> params,
boolean b) |
InterpretedLiteral(java.lang.String property,
LiteralParam parameter)
Creates a monadic literal (with only one parameter).
|
| Modifier and Type | Method and Description |
|---|---|
Literal |
clone() |
Literal |
clone(java.util.Map<? extends VariableParam,? extends LiteralParam> mapping)
Creates a copy of this literal on which the given parameter mapping is
applied.
|
java.lang.String |
toString() |
equals, getConstantParams, getParameters, getProperty, getPropertyName, getVariableParams, hashCode, hasVariableParams, isGround, isNegated, isNegationOf, isPositive, toggleNegation, toStringpublic InterpretedLiteral(Literal l, java.util.Map<VariableParam,? extends LiteralParam> map)
l - Literal to be copiedmap - Mapping for projecting existing literal to a new literal.public InterpretedLiteral(java.lang.String property,
LiteralParam parameter)
property - The property defined by this literal.parameter - The parameter of this literal.public InterpretedLiteral(java.lang.String property,
java.util.List<LiteralParam> parameters)
property - The property defined by this literal.parameter - The parameters of this literal defined as a list.public InterpretedLiteral(java.lang.String property)
public InterpretedLiteral(java.lang.String predicateName,
java.util.List<LiteralParam> params,
boolean b)
public Literal clone(java.util.Map<? extends VariableParam,? extends LiteralParam> mapping)