UniKL Logo

Lehrgebiet Informationssysteme

FB Informatik

FB Informatik
 
LG IS
AG DBIS
AG HIS
Jobs / Tasks
Courses
Publications
Contact
Misc
Impressum
(C) AG DBIS
 

Use Case 22:

Node Operation renameAttribute(contextElementNode, ctxAttrOldNameString, ctxAttrNewNameString)
returns Node

The renameAttribute operation is executed on the context element node CO and renames the context attribute CA with the passed old name to the passed new name. In taDOM2(+) the CX lock on AR must be requested additionally in order to prevent an execution of the getAttributes() method on the context node. The operation returns the rename attribute node CA.
  • This operation can be executed on an element context node
  • This operation cannot be executed on an text context node

Scenario 22-1 for taDOM2 Lock Requests:
NodeLockPSENSEFCELCE
CONR----
CNNR----
CANR----
ANSX----
ARCX----
Scenario 22-2 for taDOM2+ Lock Requests:
NodeLockPSENSEFCELCE
CONR----
CNNR----
CANR----
ANSX----
ARCX----
Scenario 22-3 for taDOM3 Lock Requests:
NodeLockPSENSEFCELCE
CONR----
CANX----
Scenario 22-4 for taDOM3+ Lock Requests:
NodeLockPSENSEFCELCE
CONR----
CANX----

Operation behavior described with base operations:

  • readCO
  • writeCA
Read Set = CO , Write Set = CA

This operation can be executed on the following nodes:

  • AC
  • PA
  • PS
  • CO
  • NS
  • FC
  • CH
  • LC
  • DC

If this operation is executed the following nodes are existing:

  • AC
  • PA
  • PS
  • CO
  • NS
  • FC
  • CH
  • LC
  • DC
  • CA
  • AX