class Message extends FieldMap {

    @Override
    public String toString() {
        header.setField(new BodyLength(bodyLength()));
        trailer.setField(new CheckSum(checkSum()));

        final StringBuffer sb = new StringBuffer();
        header.calculateString(sb, null, null);
        calculateString(sb, null, null);
        trailer.calculateString(sb, null, null);

        return sb.toString();
    }

    public  Message();
    protected  Message(int[] fieldOrder);
    public  Message(String string);
    public  Message(String string, boolean validate);
    public  Message(String string, DataDictionary dd);
    public  Message(String string, DataDictionary dd, boolean validate);

}