+ if (vc.getType() == ValueConstrain.Type.Float)
+ {
+ return ValueType.Float;
+ }
+ if (vc.getType() == ValueConstrain.Type.Integer)
+ {
+ return ValueType.Integer;
+ }
+ throw new Error(MessageManager.formatMessage("error.implementation_error_valuetype_doesnt_support_jabaws_type", new String[]{vc.toString()}));