Skip to content

Package: ItemGetNameVisitor

ItemGetNameVisitor

Coverage

1: package networkconfigurator.actions;
2:
3: import model.assignment.VariableAssignment;
4: import networkconfigurator.DetailBarLabel;
5: import networkconfigurator.DetailInputBox;
6:
7: /**
8: * Visitor to get the name.
9: *
10: * @author Jannik
11: *
12: */
13: public interface ItemGetNameVisitor {
14:
15:         /**
16:          * visit methode for the variable assignment.
17:          *
18:          * @param va
19:          * the variable assignment to set the new name.
20:          * @return the name of thevariable assignment
21:          */
22:         String visit(VariableAssignment va);
23:
24:         /**
25:          * visit methode for the detail bar label.
26:          *
27:          * @param label
28:          * the detail bar label to set the new name.
29:          * @return the name of the detail bar label
30:          */
31:         String visit(DetailBarLabel label);
32:
33:         /**
34:          * visit methode for the detail input box.
35:          *
36:          * @param detailBarInputBox
37:          * the detail input box to set the new name.
38:          * @return the name of the detail input box
39:          */
40:         String visit(DetailInputBox detailBarInputBox);
41:
42: }