DatatypeBase getPrimitive() { return base.getPrimitive(); }
DatatypeBase getPrimitive() { return base.getPrimitive(); }
DatatypeBase getPrimitive() { return base.getPrimitive(); }
private void addPrecisionParam(String str) throws DatatypeException { if (!(base.getPrimitive() instanceof DecimalDatatype)) error("precision_not_derived_from_decimal"); int scale = convertNonNegativeInteger(str); if (scale <= 0) error("precision_not_positive_integer"); base = new PrecisionRestrictDatatype(base, scale); }
private void addScaleParam(String str) throws DatatypeException { if (!(base.getPrimitive() instanceof DecimalDatatype)) error("scale_not_derived_from_decimal"); int scale = convertNonNegativeInteger(str); if (scale < 0) error("scale_not_non_negative_integer"); base = new ScaleRestrictDatatype(base, scale); }
private void addScaleParam(String str) throws DatatypeException { if (!(base.getPrimitive() instanceof DecimalDatatype)) error("scale_not_derived_from_decimal"); int scale = convertNonNegativeInteger(str); if (scale < 0) error("scale_not_non_negative_integer"); base = new ScaleRestrictDatatype(base, scale); }
private void addPrecisionParam(String str) throws DatatypeException { if (!(base.getPrimitive() instanceof DecimalDatatype)) error("precision_not_derived_from_decimal"); int scale = convertNonNegativeInteger(str); if (scale <= 0) error("precision_not_positive_integer"); base = new PrecisionRestrictDatatype(base, scale); }
private void addScaleParam(String str) throws DatatypeException { if (!(base.getPrimitive() instanceof DecimalDatatype)) error("scale_not_derived_from_decimal"); int scale = convertNonNegativeInteger(str); if (scale < 0) error("scale_not_non_negative_integer"); base = new ScaleRestrictDatatype(base, scale); }
private void addPrecisionParam(String str) throws DatatypeException { if (!(base.getPrimitive() instanceof DecimalDatatype)) error("precision_not_derived_from_decimal"); int scale = convertNonNegativeInteger(str); if (scale <= 0) error("precision_not_positive_integer"); base = new PrecisionRestrictDatatype(base, scale); }