// The MIT License
//
// Copyright (c) 2004 Evren Sirin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
/*
* Created on Dec 27, 2003
*
*/
/**
* 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
*
* @author Evren Sirin
*
*/
public class ValueMap {
/**
*
*/
public ValueMap() {
}
/**
* Set the value of the given variable to a plain string. This is equivalent to
* <br>
* <code>setValue( var, EntityFactory.createDataValue( value ) )</code>.
*
* @param var
* @param value
*/
}
/**
* Set the value of the given variable
*
* @param var
* @param value
*/
if(value == null) throw new NullPointerException("Value of variable '" + var + "' cannot be set to null");
}
/**
* Get the value of the given variable
*
* @param var
* @return
*/
}
/**
* Get the value of the given variable cast to an OWLDataValue. An exception occurs if
* the variable is bound to an OWLIndividual.
*
* @param var
* @return
*/
}
}
}
}
/**
* Get the value of the given variable cast to an OWLIndividual. An exception occurs if
* the variable is bound to an OWLDataValue.
*
* @param var
* @return
*/
}
}
/**
* Get the value of the variable with the given local name. If there are more than
* one such variables a random one is returned;
*
* @param var
* @return
*/
}
return null;
}
/**
* Return true if the given parameter has been assigned a value
*
* @param var
* @return
*/
}
/**
* Clear the value that has been assigned to the given parameter
*
* @param p
*/
}
/**
* Clear all the values
*
* @param p
*/
public void clear() {
}
/**
* Add all the value bindings that has been defined in the given ValueMap.
*
* @param valueMap
*/
}
}
}
public boolean isEmpty() {
}
public int size() {
}
}
}
}
}