|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mindswap.query.ValueMap
public class ValueMap
This interface provides a way to assign values to variables. When a process needs to be executed the values for the input parameters are specified with this interface. The result of the execution is also given with this interface
| Constructor Summary | |
|---|---|
ValueMap()
|
|
| Method Summary | |
|---|---|
void |
addMap(ValueMap valueMap)
Add all the value bindings that has been defined in the given ValueMap. |
void |
clear()
Clear all the values |
void |
clearValue(Variable var)
Clear the value that has been assigned to the given parameter |
java.lang.String |
debugString()
|
OWLDataValue |
getDataValue(java.lang.String var)
|
OWLDataValue |
getDataValue(Variable var)
Get the value of the given variable cast to an OWLDataValue. |
OWLIndividual |
getIndividualValue(java.lang.String var)
|
OWLIndividual |
getIndividualValue(Variable var)
Get the value of the given variable cast to an OWLIndividual. |
java.lang.String |
getStringValue(java.lang.String var)
|
java.lang.String |
getStringValue(Variable var)
|
OWLValue |
getValue(java.lang.String varName)
Get the value of the variable with the given local name. |
OWLValue |
getValue(Variable var)
Get the value of the given variable |
java.util.Collection |
getValues()
|
java.util.Set |
getVariables()
|
boolean |
hasValue(Variable var)
Return true if the given parameter has been assigned a value |
boolean |
isEmpty()
|
void |
setDataValue(Variable var,
java.lang.String value)
Set the value of the given variable to a plain string. |
void |
setValue(Variable var,
OWLValue value)
Set the value of the given variable |
int |
size()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueMap()
| Method Detail |
|---|
public void setDataValue(Variable var,
java.lang.String value)
setValue( var, EntityFactory.createDataValue( value ) ).
var - value -
public void setValue(Variable var,
OWLValue value)
var - value - public OWLValue getValue(Variable var)
var -
public OWLDataValue getDataValue(Variable var)
var -
public OWLDataValue getDataValue(java.lang.String var)
public java.lang.String getStringValue(Variable var)
public java.lang.String getStringValue(java.lang.String var)
public OWLIndividual getIndividualValue(Variable var)
var -
public OWLIndividual getIndividualValue(java.lang.String var)
public OWLValue getValue(java.lang.String varName)
var -
public boolean hasValue(Variable var)
var -
public void clearValue(Variable var)
p - public void clear()
p - public void addMap(ValueMap valueMap)
valueMap - public java.util.Set getVariables()
public java.util.Collection getValues()
public boolean isEmpty()
public int size()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String debugString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||