Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.clone
Class CloneDescriptionStack

java.lang.Object
  extended by ag.ion.bion.officelayer.clone.CloneDescriptionStack
All Implemented Interfaces:
ICloneDescriptionStack

public class CloneDescriptionStack
extends java.lang.Object
implements ICloneDescriptionStack

The CloneDescriptionStack contains all PropertyElements held by a clone service for cloning purpose. This structure only serves as a storage for the cloning process controled by the ICloneService


Constructor Summary
CloneDescriptionStack()
          Constructs new CloneDescriptionStack.
 
Method Summary
 void addToElementStack(IPropertyDescriptionElement elem)
          Adds a new element to the stack (this weill be placed on top automagically, (this is pretty obvious cause we're working with a stack, I know, I know).
 IPropertyDescriptionElement getFromElementStack()
          Gets the top element from the stack without deleting it.
 IPropertyDescriptionElement popFromElementStack()
          Removes the top element from the stack and returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneDescriptionStack

public CloneDescriptionStack()
Constructs new CloneDescriptionStack.

Method Detail

addToElementStack

public void addToElementStack(IPropertyDescriptionElement elem)
Adds a new element to the stack (this weill be placed on top automagically, (this is pretty obvious cause we're working with a stack, I know, I know).

Specified by:
addToElementStack in interface ICloneDescriptionStack
Parameters:
elem - property description element to be used

popFromElementStack

public IPropertyDescriptionElement popFromElementStack()
Removes the top element from the stack and returns it.

Specified by:
popFromElementStack in interface ICloneDescriptionStack
Returns:
the top element of the stack

getFromElementStack

public IPropertyDescriptionElement getFromElementStack()
Gets the top element from the stack without deleting it.

Specified by:
getFromElementStack in interface ICloneDescriptionStack
Returns:
the top element of the stack

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013