Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ...
- import ...
- @Embeddable
- @Immutable
- public final class Betreff extends ValueObject
- {
- private static final long serialVersionUID = - 8769019923044319754L;
- @Column(length = 150)
- private String text;
- public Betreff()
- {
- super();
- }
- public Betreff(String text)
- {
- this();
- this.text = text;
- }
- public String getText()
- {
- return text;
- }
- public void setText(String text)
- {
- this.text = text;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement