Class OutputRecord
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.components.OutputRecord
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorOutputRecord(QRecord wrapped) ConstructorOutputRecord(QRecord wrapped, boolean includeEmptyValues) Constructor - with includeEmptyValues, null and empty values stay in the values map (as on the legacy record routes), so a client can tell a cleared field from one it did not receive. -
Method Summary
Modifier and TypeMethodDescriptionGetter for associatedRecords - only present when associations were requested (record get with includeAssociations) or written (insert/update).Getter for displayValuesGetter for errorsGetter for tableNameGetter for tableNameGetter for valuesGetter for warnings
-
Constructor Details
-
OutputRecord
Constructor -
OutputRecord
Constructor - with includeEmptyValues, null and empty values stay in the values map (as on the legacy record routes), so a client can tell a cleared field from one it did not receive. Query results leave them out. -
OutputRecord
public OutputRecord()Constructor
-
-
Method Details
-
getTableName
Getter for tableName -
getRecordLabel
Getter for tableName -
getValues
Getter for values -
getDisplayValues
-
getAssociatedRecords
Getter for associatedRecords - only present when associations were requested (record get with includeAssociations) or written (insert/update). An association without records is an empty list (as on QRecord), so a client can tell "no records" from "not included". -
getErrors
-
getWarnings
-