Class ComponentPropertyHolder

  • All Implemented Interfaces:

    public class ComponentPropertyHolder
    extends AbstractPropertyHolder
    PropertyHolder for composites (Embeddable/Embedded).

    To facilitate code comments, I'll often refer to this example:

         @Convert( attributeName="city", ... )
         class Address {
             public String city;
         @Convert( attributeName="", ... )
         class Person {
             @Convert( attributeName="city", ... )
             public Address homeAddress;
    As you can see, lots of ways to specify the conversion for embeddable attributes :(