Hi, 
Say i have a class like this :
Code:
public class Article{
    private int Id
    private HeaderList headers;
}   
And HeaderList class 
Code:
public class HeaderList {
    private String header1;
    private String header2;
    ...(more headers)
}
Imagine i have a table which looks like this (simplified):
ArticleID                     headerType          content
1                               header1               "abc"
1                               header2               "xyz"
Because not every Article has all types of header, so i planned to write some @Formula to fetch the Strings i need. I thought of mapping the class HeaderList as @Embeddable but not sure its the best strategy, because the HeaderList is not entirely a value object (it still contains attributes that fetched from table). 
Anyway i need the Article ID for my @Formula so i need to pass it from Article Entity, is there any good way to do this ?
Any help appreciated.