OpenXavaTest - Customers management
  control alt P - Generate a PDF report with displayed data in list control alt X - Generate a Excel report with displayed data in list control N - Create a new entity control D - Delete the selected objects   Detail - List - Both  
 - Customize
Number 
eMail 
Name 
Type 
Lokal 
City 
 - Filter
Errors trying to obtain data list
1   rows per page There are -1 records in list ( Hide them)
Some code from Customer

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;