in core/src/main/java/com/epam/cme/mdp3/sbe/message/meta/SbeFieldType.java [160:192]
private void setPresenceValue(final String nullValue) {
switch (this.getPrimitiveType()) {
case Char:
this.charPresenceVal = nullValue;
break;
case Int8:
this.int8PresenceVal = Byte.parseByte(nullValue);
break;
case UInt8:
this.uInt8PresenceVal = Short.parseShort(nullValue);
break;
case Int16:
this.int16PresenceVal = Short.parseShort(nullValue);
break;
case UInt16:
this.uInt16PresenceVal = Integer.parseInt(nullValue);
break;
case Int32:
this.int32PresenceVal = Integer.parseInt(nullValue);
break;
case UInt32:
this.uInt32PresenceVal = Long.parseLong(nullValue);
break;
case Int64:
this.int64PresenceVal = Long.parseLong(nullValue);
break;
case UInt64:
this.uInt64PresenceVal = Long.parseUnsignedLong(nullValue);
break;
default:
throw new IllegalStateException();
}
}