|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.vub.cocompose.lang.DefaultModelVisitor
be.ac.vub.cocompose.lang.DefaultSuperModelVisitor
be.ac.vub.cocompose.operations.UndeleteElement
Undo for a DeleteElement operation.
DeleteElement
Field Summary |
Fields inherited from class be.ac.vub.cocompose.lang.DefaultModelVisitor |
current |
Constructor Summary | |
UndeleteElement()
|
Method Summary | |
ModelElement |
getDeletedElement()
Gets the deleted element to undelete. |
int |
getElementIndex()
Gets the element participant index at which a relationship was deleted. |
int |
getSourceIndex()
Gets the source participant index at which a relationship was deleted. |
int |
getTargetIndex()
Gets the target participant index at which a relationship was deleted. |
void |
setDeletedElement(ModelElement deletedElement)
Sets the deleted element to undelete. |
void |
setElementIndex(int elementIndex)
Sets the element participant index at which a relationship was deleted. |
void |
setSourceIndex(int sourceIndex)
Sets the source participant index at which a relationship was deleted. |
void |
setTargetIndex(int targetIndex)
Sets the target participant index at which a relationship was deleted. |
void |
visitConcept(Concept concept)
Visits a concept. |
void |
visitModelElement(ModelElement modelElement)
Visits a ModelElement. |
void |
visitRelationship(Relationship relationship)
Visits a Relationship. |
Methods inherited from class be.ac.vub.cocompose.lang.DefaultModelVisitor |
getStacked, setStacked, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UndeleteElement()
Method Detail |
public ModelElement getDeletedElement()
public void setDeletedElement(ModelElement deletedElement)
deletedElement
- - the deleted element.public void visitModelElement(ModelElement modelElement) throws ModelElementException
visitModelElement
in interface ModelVisitor
visitModelElement
in class DefaultModelVisitor
modelElement
- - the element to visit.
<{be.ac.vub.cocompose.lang.ModelElementException}>
ModelElementException
public void visitRelationship(Relationship relationship) throws ModelElementException
visitRelationship
in interface ModelVisitor
visitRelationship
in class DefaultSuperModelVisitor
relationship
- - the element to visit.
<{ModelElementException}>
ModelElementException
public void visitConcept(Concept concept) throws ModelElementException
visitConcept
in interface ModelVisitor
visitConcept
in class DefaultSuperModelVisitor
concept
- - the element to visit.
ModelElementException
public int getElementIndex()
public void setElementIndex(int elementIndex)
elementIndex
- - the index.public int getSourceIndex()
public void setSourceIndex(int sourceIndex)
sourceIndex
- - the index.public int getTargetIndex()
public void setTargetIndex(int targetIndex)
targetIndex
- - the index.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |