@Override
    public JSONObject toJsonObject() throws JSONException
    {
        JSONObject returnVal = super.toJsonObject();

        //Data Base64...
        if(this.getDataBase64() != null)
        {
            returnVal.put(JSONMapping.DATA_BASE_64,
                    this.getDataBase64());
        }

        return returnVal;
    }
@Override
    public JSONObject toJsonObject() throws JSONException
    {
        JSONObject returnVal = super.toJsonObject();

        
        if(this.getDataBase64() != null)
        {
            returnVal.put(JSONMapping.DATA_BASE_64,
                    this.getDataBase64());
        }

        return returnVal;
    }
@ Override public JSONObject toJsonObject ( ) throws JSONException { JSONObject returnVal = super . toJsonObject ( ) ; //Data Base64... if ( this . getDataBase64 ( ) != null ) { returnVal . put ( JSONMapping . DATA_BASE_64 , this . getDataBase64 ( ) ) ; } return returnVal ; }
Conversion to {@code JSONObject} from Java Object.

@return {@code JSONObject} representation of {@code MailMessageAttachment}
@throws JSONException If there is a problem with the JSON Body.

@see ABaseFluidJSONObject#toJsonObject()
Conversion to { @code JSONObject } from Java Object .