Skip to content

Package: ItemSetNameVisitor

ItemSetNameVisitor

Coverage

1: package networkconfigurator.actions;
2:
3: import model.assignment.VariableAssignment;
4: import model.type.TypeDoesNotExistException;
5: import model.type.TypeExceptions;
6: import model.type.ValueNotInRangeOfTypeException;
7: import networkconfigurator.DetailBarLabel;
8: import networkconfigurator.DetailInputBox;
9:
10: /**
11: * Visitor to set the name.
12: *
13: * @author Jannik
14: *
15: */
16: public interface ItemSetNameVisitor {
17:
18:         /**
19:          * visit methode for the variable assignment.
20:          *
21:          * @param va
22:          * the variable assignment to set the new name.
23:          * @throws IllegalArgumentException
24:          * see java.lang.IllegalArgumentException
25:          * @throws TypeExceptions
26:          * The TypeExceptions.
27:          * @throws TypeDoesNotExistException
28:          * The TypeDoesNotExistException.
29:          * @throws ValueNotInRangeOfTypeException
30:          * The value is not in the range of the given type.
31:          */
32:         void visit(VariableAssignment va) throws IllegalArgumentException,
33:                         ValueNotInRangeOfTypeException, TypeDoesNotExistException, TypeExceptions;
34:
35:         /**
36:          * visit methode for the detail bar label.
37:          *
38:          * @param label
39:          * the detail bar label to set the new name.
40:          */
41:         void visit(DetailBarLabel label);
42:
43:         /**
44:          * visit methode for the detail input box.
45:          *
46:          * @param detailBarInputBox
47:          * the detail input box to set the new name.
48:          */
49:         void visit(DetailInputBox detailBarInputBox);
50:
51: }