net.ontopia.topicmaps.query.parser
Class ModificationFunctionStatement
java.lang.Object
net.ontopia.topicmaps.query.parser.TologStatement
net.ontopia.topicmaps.query.parser.ModificationStatement
net.ontopia.topicmaps.query.parser.ModificationFunctionStatement
- Direct Known Subclasses:
- DeleteStatement, UpdateStatement
public abstract class ModificationFunctionStatement
- extends ModificationStatement
INTERNAL: Represents an UPDATE or DELETE statement, since these are
the ones that can have functions. Created so the parser can handle
both cases with the same code.
Field Summary |
protected java.lang.String |
funcname
|
protected static java.util.Map<java.lang.String,net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF> |
functions
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
funcname
protected java.lang.String funcname
functions
protected static java.util.Map<java.lang.String,net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF> functions
ModificationFunctionStatement
public ModificationFunctionStatement()
setFunction
public void setFunction(java.lang.String name)
getFunction
public java.lang.String getFunction()
toStringFunction
protected java.lang.String toStringFunction()
doStaticUpdates
public int doStaticUpdates(TopicMapIF topicmap,
java.util.Map arguments)
throws InvalidQueryException
- Specified by:
doStaticUpdates
in class ModificationStatement
- Throws:
InvalidQueryException
doLitListDeletes
protected abstract int doLitListDeletes(boolean strict,
java.util.Map arguments)
throws InvalidQueryException
- Throws:
InvalidQueryException
doFunctionUpdates
protected int doFunctionUpdates(QueryMatches matches)
throws InvalidQueryException
- Throws:
InvalidQueryException
makeFunction
protected static net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF makeFunction(java.lang.String name)
throws InvalidQueryException
- Throws:
InvalidQueryException
Copyright © 2000-2012 Ontopia.