org.apache.cayenne.map

## Class EmbeddedResult

- java.lang.Object
- - org.apache.cayenne.map.EmbeddedResult

-     public class EmbeddedResult
      extends Object

  A metadata object that provides mapping of a set of result columns to an Embeddable object. Used by `SQLResult`. Note that fields in the EmbeddedResult are not required to follow the order of columns in the actual query, and can be added in the arbitrary order.
  Since:
    4.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EmbeddedResult(Embeddable embeddable, int size)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addAttribute(ObjAttribute attr)`
    `Embeddable` | `getEmbeddable()`
    `Map<String,String>` | `getFields()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EmbeddedResult

          public EmbeddedResult(Embeddable embeddable,
                                int size)

  - ### Method Detail

    - #### addAttribute

          public void addAttribute(ObjAttribute attr)

    - #### getFields

          public Map<String,String> getFields()

    - #### getEmbeddable

          public Embeddable getEmbeddable()

Copyright © 2001–2021 Apache Cayenne. All rights reserved.