Package 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 bySQLResult
. 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 Description EmbeddedResult(Embeddable embeddable, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(ObjAttribute attr)
Embeddable
getEmbeddable()
Map<String,String>
getFields()
-
-
-
Constructor Detail
-
EmbeddedResult
public EmbeddedResult(Embeddable embeddable, int size)
-
-
Method Detail
-
addAttribute
public void addAttribute(ObjAttribute attr)
-
getEmbeddable
public Embeddable getEmbeddable()
-
-