+ this.subVals = sv == null ? new SubVals("") : sv;
+ this.setType(type);
+ }
+
+ protected ArgValue(Arg a, Type type, String value, int argIndex)
+ {
+ this.arg = a;
+ this.argIndex = argIndex;
+ this.subVals = new SubVals(value);
+ this.value = getSubVals().getContent();
+ this.setType(type);
+ }
+
+ protected void setType(Type t)
+ {
+ if (this.getArg().hasOption(Opt.HASTYPE))
+ this.type = t;
+ }
+
+ public Type getType()
+ {
+ return type;
+ }
+
+ public Arg getArg()
+ {
+ return arg;