Java 5 enums
Java 5 enums are displayed by defautl as a combo. Look at the type property of Customer:
private Type type;
public enum Type { NORMAL, STEADY, SPECIAL };
Stereotype PHOTO
If you want manage some property as a photo just add @Stereotype("PHOTO") to your property:
@Stereotype("PHOTO")
private byte [] photo;
Reference to an embeddable class
A reference to a JPA embeddable class is represented by using a frame, as you can see for address property of Customer:
@Embedded
private Address address;
Reference to an entity
In the case of a reference to an entity (@ManyToOne) the UI allows to the user changing the value just type a new value for the key or searching using a list. Also it's possible creating new entities or modify ing the current one. And all this only from this code:
@ManyToOne(fetch=FetchType.LAZY)
private Seller seller;