fluid-api/src/main/java/com/fluidbpm/program/api/vo/form/TableRecord.java
@Override
    public JSONObject toJsonObject() throws JSONException
    {
        JSONObject returnVal = super.toJsonObject();

        //Form Container...
        if(this.getFormContainer() != null)
        {
            returnVal.put(JSONMapping.FORM_CONTAINER,
                    this.getFormContainer().toJsonObject());
        }

        //Parent Form Container...
        if(this.getParentFormContainer() != null)
        {
            returnVal.put(JSONMapping.PARENT_FORM_CONTAINER,
                    this.getParentFormContainer().toJsonObject());
        }

        //Parent Form Field...
        if(this.getParentFormField() != null)
        {
            returnVal.put(JSONMapping.PARENT_FORM_FIELD,
                    this.getParentFormField().toJsonObject());
        }

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

        //Form Container...
        if(this.getFormContainer() != null)
        {
            returnVal.put(JSONMapping.FORM_CONTAINER,
                    this.getFormContainer().toJsonObject());
        }

        //Parent Form Container...
        if(this.getParentFormContainer() != null)
        {
            returnVal.put(JSONMapping.PARENT_FORM_CONTAINER,
                    this.getParentFormContainer().toJsonObject());
        }

        //Parent Form Field...
        if(this.getParentFormField() != null)
        {
            returnVal.put(JSONMapping.PARENT_FORM_FIELD,
                    this.getParentFormField().toJsonObject());
        }

        return returnVal;
    }
@ Override public JSONObject toJsonObject ( ) throws JSONException { JSONObject returnVal = super . toJsonObject ( ) ; //Form Container... if ( this . getFormContainer ( ) != null ) { returnVal . put ( JSONMapping . FORM_CONTAINER , this . getFormContainer ( ) . toJsonObject ( ) ) ; } //Parent Form Container... if ( this . getParentFormContainer ( ) != null ) { returnVal . put ( JSONMapping . PARENT_FORM_CONTAINER , this . getParentFormContainer ( ) . toJsonObject ( ) ) ; } //Parent Form Field... if ( this . getParentFormField ( ) != null ) { returnVal . put ( JSONMapping . PARENT_FORM_FIELD , this . getParentFormField ( ) . toJsonObject ( ) ) ; } return returnVal ; }
Conversion to {@code JSONObject} from Java Object.

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

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