MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.model.updatePrimitives
Interface UpdatePrimitive

All Known Implementing Classes:
Delete, InsertAfter, InsertAttributes, InsertBefore, InsertInto, InsertIntoAsFirst, InsertIntoAsLast, Put, Rename, ReplaceNode, ReplaceNodeContent, ReplaceValue

public interface UpdatePrimitive


Field Summary
static int DELETE
           
static int INSERT_AFTER
           
static int INSERT_ATTRIBUTES
           
static int INSERT_BEFORE
           
static int INSERT_INTO
           
static int INSERT_INTO_AS_FIRST
           
static int INSERT_INTO_AS_LAST
           
static int PUT
           
static int RENAME
           
static int REPLACE_NODE
           
static int REPLACE_NODE_CONTENT
           
static int REPLACE_VALUE
           
 
Method Summary
 void applyUpdate()
           
 UpdateableStore getStore()
           
 Identifier getTargetId()
           
 int getType()
           
 

Field Detail

INSERT_BEFORE

static final int INSERT_BEFORE
See Also:
Constant Field Values

INSERT_AFTER

static final int INSERT_AFTER
See Also:
Constant Field Values

INSERT_INTO

static final int INSERT_INTO
See Also:
Constant Field Values

INSERT_INTO_AS_FIRST

static final int INSERT_INTO_AS_FIRST
See Also:
Constant Field Values

INSERT_INTO_AS_LAST

static final int INSERT_INTO_AS_LAST
See Also:
Constant Field Values

INSERT_ATTRIBUTES

static final int INSERT_ATTRIBUTES
See Also:
Constant Field Values

DELETE

static final int DELETE
See Also:
Constant Field Values

REPLACE_NODE

static final int REPLACE_NODE
See Also:
Constant Field Values

REPLACE_VALUE

static final int REPLACE_VALUE
See Also:
Constant Field Values

REPLACE_NODE_CONTENT

static final int REPLACE_NODE_CONTENT
See Also:
Constant Field Values

RENAME

static final int RENAME
See Also:
Constant Field Values

PUT

static final int PUT
See Also:
Constant Field Values
Method Detail

getType

int getType()

getTargetId

Identifier getTargetId()

applyUpdate

void applyUpdate()
                 throws MXQueryException
Throws:
MXQueryException

getStore

UpdateableStore getStore()

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich