public TTypeQualifiers toTTypeQualifiers() {
TTypeQualifiers ret = null;
Map<String, TTypeQualifierValue> qMap = new HashMap<String, TTypeQualifierValue>();
if (getCharacterMaximumLength() != null) {
TTypeQualifierValue val = new TTypeQualifierValue();
val.setI32Value(getCharacterMaximumLength().intValue());
qMap.put(TCLIServiceConstants.CHARACTER_MAXIMUM_LENGTH, val);
}
if (precision != null) {
TTypeQualifierValue val = new TTypeQualifierValue();
val.setI32Value(precision.intValue());
qMap.put(TCLIServiceConstants.PRECISION, val);
}
if (scale != null) {
TTypeQualifierValue val = new TTypeQualifierValue();
val.setI32Value(scale.intValue());
qMap.put(TCLIServiceConstants.SCALE, val);
}
if (qMap.size() > 0) {
ret = new TTypeQualifiers(qMap);