@Entity
public class PujLinkEntity extends PujAbstractEntity {
@XmlElement
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private Integer id;
@XmlAttribute
@Column
private String href;
@XmlAttribute
@Column(length = 20)
private String rel;
}
Then I started to think about an enumeration with the possible relations (rel)
under construction....
* tanks for the last responses... about rel..