|
|||||||||||
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 |
visitModelProperty(ModelProperty modelProperty)
Visits a ModelProperty. |
void |
visitRefinedElement(RefinedElement refinedElement)
Visits a RefinedElement. |
void |
visitRelationship(Relationship relationship)
Visits a Relationship. |
void |
visitRole(Role role)
Visits a Role. |
void |
visitSolutionPattern(SolutionPattern solutionPattern)
Visits a SolutionPattern. |
Methods inherited from class be.ac.vub.cocompose.lang.DefaultSuperModelVisitor |
visitAndConstraint, visitCompositeConstraint, visitConstraint, visitElementConstraint, visitImplementationGenerator, visitImplementationPattern, visitImplementationRolePart, visitModel, visitModelTransformation, visitNamespace, visitOrConstraint, visitProperty, visitRefinement, visitRelationElement, visitSimpleProperty |
Methods inherited from class be.ac.vub.cocompose.lang.DefaultModelVisitor |
getStacked, setStacked, visit, visitMultiplicity |
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 visitRefinedElement(RefinedElement refinedElement) throws ModelElementException
visitRefinedElement
in interface ModelVisitor
visitRefinedElement
in class DefaultSuperModelVisitor
refinedElement
- - the element to visit.
ModelElementException
public void visitConcept(Concept concept) throws ModelElementException
visitConcept
in interface ModelVisitor
visitConcept
in class DefaultSuperModelVisitor
concept
- - the element to visit.
ModelElementException
public void visitRole(Role role) throws ModelElementException
visitRole
in interface ModelVisitor
visitRole
in class DefaultSuperModelVisitor
role
- - the element to visit.
ModelElementException
public void visitSolutionPattern(SolutionPattern solutionPattern) throws ModelElementException
visitSolutionPattern
in interface ModelVisitor
visitSolutionPattern
in class DefaultSuperModelVisitor
solutionPattern
- - the element to visit.
ModelElementException
public void visitModelProperty(ModelProperty modelProperty) throws ModelElementException
visitModelProperty
in interface ModelVisitor
visitModelProperty
in class DefaultSuperModelVisitor
modelProperty
- - 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 |