Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @MappedSuperclass
- public class Thing extends AbstractPersistable<Long> {
- @org.hibernate.validator.constraints.URL
- private URL url ;
- private URL additionalType ;
- private String alternateName ;
- @Column(length = 255)
- private String description ;
- @Column(length=255)
- private String name ;
- @org.hibernate.validator.constraints.URL
- private URL sameAs ;
- @Version
- private Integer version ;
- @Temporal(TemporalType. TIMESTAMP )
- private Date createdDate = new Date();
- @Temporal(TemporalType. TIMESTAMP )
- private Date lastmodifiedDate = new Date();
- public URL getAdditionalType() {
- return additionalType ;
- }
- public void setAdditionalType(URL additionalType) {
- this.additionalType = additionalType;
- }
Advertisement
Add Comment
Please, Sign In to add comment