Class ApiOutputMapWrapper
java.lang.Object
com.kingsrook.qqq.api.actions.io.ApiOutputMapWrapper
- All Implemented Interfaces:
ApiOutputRecordWrapperInterface<Map<String,Serializable>, ApiOutputMapWrapper>
public class ApiOutputMapWrapper
extends Object
implements ApiOutputRecordWrapperInterface<Map<String,Serializable>,ApiOutputMapWrapper>
implementation of ApiOutputRecordWrapperInterface that wraps a Map
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the wrapped contents objectnewSibling(String tableName) create a new "sibling" object to this - e.g., a wrapper around a new instance of the contents objectvoidputAssociation(String key, List<Map<String, Serializable>> values) put associated objects in the wrapped objectvoidputValue(String key, Serializable value) put a value in the wrapped objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.api.actions.io.ApiOutputRecordWrapperInterface
unwrap
-
Constructor Details
-
ApiOutputMapWrapper
Constructor
-
-
Method Details
-
putValue
Description copied from interface:ApiOutputRecordWrapperInterfaceput a value in the wrapped object- Specified by:
putValuein interfaceApiOutputRecordWrapperInterface<Map<String,Serializable>, ApiOutputMapWrapper>
-
putAssociation
Description copied from interface:ApiOutputRecordWrapperInterfaceput associated objects in the wrapped object- Specified by:
putAssociationin interfaceApiOutputRecordWrapperInterface<Map<String,Serializable>, ApiOutputMapWrapper>
-
newSibling
Description copied from interface:ApiOutputRecordWrapperInterfacecreate a new "sibling" object to this - e.g., a wrapper around a new instance of the contents object- Specified by:
newSiblingin interfaceApiOutputRecordWrapperInterface<Map<String,Serializable>, ApiOutputMapWrapper>
-
getContents
Description copied from interface:ApiOutputRecordWrapperInterfaceget the wrapped contents object- Specified by:
getContentsin interfaceApiOutputRecordWrapperInterface<Map<String,Serializable>, ApiOutputMapWrapper>
-