66 * Licensed under Apache License 2.0
77 * http://www.apache.org/licenses/LICENSE-2.0
88 */
9+
910package de .rub .nds .modifiablevariable ;
1011
1112import de .rub .nds .modifiablevariable .biginteger .BigIntegerAddModification ;
5152import javax .xml .bind .annotation .adapters .XmlJavaTypeAdapter ;
5253
5354/**
54- * The base abstract class for modifiable variables, including the getValue
55- * function.The class needs to be defined transient to allow propOrder
56- * definition in subclasses, see:
55+ * The base abstract class for modifiable variables, including the getValue function.The class needs to be defined
56+ * transient to allow propOrder definition in subclasses, see:
5757 * http://blog.bdoughan.com/2011/06/ignoring-inheritance-with-xmltransient.html
5858 *
5959 *
@@ -67,38 +67,37 @@ public abstract class ModifiableVariable<E> implements Serializable {
6767
6868 protected Boolean autoformat = null ;
6969
70- @ XmlElements (value = {
71- @ XmlElement (type = BigIntegerXorModification .class , name = "BigIntegerXorModification" ),
72- @ XmlElement (type = BigIntegerSubtractModification .class , name = "BigIntegerSubtractModification" ),
73- @ XmlElement (type = BigIntegerShiftRightModification .class , name = "BigIntegerShiftRightModification" ),
74- @ XmlElement (type = BigIntegerShiftLeftModification .class , name = "BigIntegerShiftLeftModification" ),
75- @ XmlElement (type = BigIntegerExplicitValueModification .class , name = "BigIntegerExplicitValueModification" ),
76- @ XmlElement (type = BigIntegerAddModification .class , name = "BigIntegerAddModification" ),
77- @ XmlElement (type = BigIntegerInteractiveModification .class , name = "BigIntegerInteractiveModification" ),
78- @ XmlElement (type = BooleanToggleModification .class , name = "BooleanToggleModification" ),
79- @ XmlElement (type = BooleanExplicitValueModification .class , name = "BooleanExplicitValueModification" ),
80- @ XmlElement (type = ByteArrayXorModification .class , name = "ByteArrayXorModification" ),
81- @ XmlElement (type = ByteArrayShuffleModification .class , name = "ByteArrayShuffleModification" ),
82- @ XmlElement (type = ByteArrayPayloadModification .class , name = "ByteArrayPayloadModification" ),
83- @ XmlElement (type = ByteArrayInsertModification .class , name = "ByteArrayInsertModification" ),
84- @ XmlElement (type = ByteArrayExplicitValueModification .class , name = "ByteArrayExplicitValueModification" ),
85- @ XmlElement (type = ByteArrayDuplicateModification .class , name = "ByteArrayDuplicateModification" ),
86- @ XmlElement (type = ByteArrayDeleteModification .class , name = "ByteArrayDeleteModification" ),
87- @ XmlElement (type = IntegerXorModification .class , name = "IntegerXorModification" ),
88- @ XmlElement (type = IntegerSubtractModification .class , name = "IntegerSubtractModification" ),
89- @ XmlElement (type = IntegerShiftRightModification .class , name = "IntegerShiftRightModification" ),
90- @ XmlElement (type = IntegerShiftLeftModification .class , name = "IntegerShiftLeftModification" ),
91- @ XmlElement (type = IntegerExplicitValueModification .class , name = "IntegerExplicitValueModification" ),
92- @ XmlElement (type = IntegerAddModification .class , name = "IntegerAddModification" ),
93- @ XmlElement (type = LongXorModification .class , name = "LongXorModification" ),
94- @ XmlElement (type = LongSubtractModification .class , name = "LongSubtractModification" ),
95- @ XmlElement (type = LongExplicitValueModification .class , name = "LongExplicitValueModification" ),
96- @ XmlElement (type = LongAddModification .class , name = "LongAddModification" ),
97- @ XmlElement (type = ByteXorModification .class , name = "ByteXorModification" ),
98- @ XmlElement (type = ByteSubtractModification .class , name = "ByteSubtractModification" ),
99- @ XmlElement (type = ByteAddModification .class , name = "ByteAddModification" ),
100- @ XmlElement (type = ByteExplicitValueModification .class , name = "ByteExplicitValueModification" ),
101- @ XmlElement (type = StringExplicitValueModification .class , name = "StringExplicitValueModification" ) })
70+ @ XmlElements (value = { @ XmlElement (type = BigIntegerXorModification .class , name = "BigIntegerXorModification" ),
71+ @ XmlElement (type = BigIntegerSubtractModification .class , name = "BigIntegerSubtractModification" ),
72+ @ XmlElement (type = BigIntegerShiftRightModification .class , name = "BigIntegerShiftRightModification" ),
73+ @ XmlElement (type = BigIntegerShiftLeftModification .class , name = "BigIntegerShiftLeftModification" ),
74+ @ XmlElement (type = BigIntegerExplicitValueModification .class , name = "BigIntegerExplicitValueModification" ),
75+ @ XmlElement (type = BigIntegerAddModification .class , name = "BigIntegerAddModification" ),
76+ @ XmlElement (type = BigIntegerInteractiveModification .class , name = "BigIntegerInteractiveModification" ),
77+ @ XmlElement (type = BooleanToggleModification .class , name = "BooleanToggleModification" ),
78+ @ XmlElement (type = BooleanExplicitValueModification .class , name = "BooleanExplicitValueModification" ),
79+ @ XmlElement (type = ByteArrayXorModification .class , name = "ByteArrayXorModification" ),
80+ @ XmlElement (type = ByteArrayShuffleModification .class , name = "ByteArrayShuffleModification" ),
81+ @ XmlElement (type = ByteArrayPayloadModification .class , name = "ByteArrayPayloadModification" ),
82+ @ XmlElement (type = ByteArrayInsertModification .class , name = "ByteArrayInsertModification" ),
83+ @ XmlElement (type = ByteArrayExplicitValueModification .class , name = "ByteArrayExplicitValueModification" ),
84+ @ XmlElement (type = ByteArrayDuplicateModification .class , name = "ByteArrayDuplicateModification" ),
85+ @ XmlElement (type = ByteArrayDeleteModification .class , name = "ByteArrayDeleteModification" ),
86+ @ XmlElement (type = IntegerXorModification .class , name = "IntegerXorModification" ),
87+ @ XmlElement (type = IntegerSubtractModification .class , name = "IntegerSubtractModification" ),
88+ @ XmlElement (type = IntegerShiftRightModification .class , name = "IntegerShiftRightModification" ),
89+ @ XmlElement (type = IntegerShiftLeftModification .class , name = "IntegerShiftLeftModification" ),
90+ @ XmlElement (type = IntegerExplicitValueModification .class , name = "IntegerExplicitValueModification" ),
91+ @ XmlElement (type = IntegerAddModification .class , name = "IntegerAddModification" ),
92+ @ XmlElement (type = LongXorModification .class , name = "LongXorModification" ),
93+ @ XmlElement (type = LongSubtractModification .class , name = "LongSubtractModification" ),
94+ @ XmlElement (type = LongExplicitValueModification .class , name = "LongExplicitValueModification" ),
95+ @ XmlElement (type = LongAddModification .class , name = "LongAddModification" ),
96+ @ XmlElement (type = ByteXorModification .class , name = "ByteXorModification" ),
97+ @ XmlElement (type = ByteSubtractModification .class , name = "ByteSubtractModification" ),
98+ @ XmlElement (type = ByteAddModification .class , name = "ByteAddModification" ),
99+ @ XmlElement (type = ByteExplicitValueModification .class , name = "ByteExplicitValueModification" ),
100+ @ XmlElement (type = StringExplicitValueModification .class , name = "StringExplicitValueModification" ) })
102101 private VariableModification <E > modification = null ;
103102
104103 private Boolean createRandomModification ;
0 commit comments