Advertisement
Guest User

Untitled

a guest
May 2nd, 2018
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.83 KB | None | 0 0
  1. //
  2. // Source code recreated from a .class file by IntelliJ IDEA
  3. // (powered by Fernflower decompiler)
  4. //
  5.  
  6. package eu.nimble.service.model.ubl.commonaggregatecomponents;
  7.  
  8. import java.io.Serializable;
  9. import javax.persistence.Basic;
  10. import javax.persistence.Column;
  11. import javax.persistence.Entity;
  12. import javax.persistence.GeneratedValue;
  13. import javax.persistence.GenerationType;
  14. import javax.persistence.Id;
  15. import javax.persistence.Inheritance;
  16. import javax.persistence.InheritanceType;
  17. import javax.persistence.Table;
  18. import javax.xml.bind.annotation.XmlAccessType;
  19. import javax.xml.bind.annotation.XmlAccessorType;
  20. import javax.xml.bind.annotation.XmlAttribute;
  21. import javax.xml.bind.annotation.XmlElement;
  22. import org.jvnet.hyperjaxb3.item.Item;
  23.  
  24. @XmlAccessorType(XmlAccessType.FIELD)
  25. @Entity(
  26.     name = "ClauseTypeNoteItem"
  27. )
  28. @Table(
  29.     name = "CLAUSE_TYPE_NOTE_ITEM"
  30. )
  31. @Inheritance(
  32.     strategy = InheritanceType.JOINED
  33. )
  34. public class ClauseTypeNoteItem implements Serializable, Item<String> {
  35.     private static final long serialVersionUID = 1L;
  36.     @XmlElement(
  37.         name = "Note",
  38.         namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
  39.     )
  40.     protected String item;
  41.     @XmlAttribute(
  42.         name = "Hjid"
  43.     )
  44.     protected Long hjid;
  45.  
  46.     public ClauseTypeNoteItem() {
  47.     }
  48.  
  49.     @Basic
  50.     @Column(
  51.         name = "ITEM",
  52.         length = 255
  53.     )
  54.     public String getItem() {
  55.         return this.item;
  56.     }
  57.  
  58.     public void setItem(String value) {
  59.         this.item = value;
  60.     }
  61.  
  62.     @Id
  63.     @Column(
  64.         name = "HJID"
  65.     )
  66.     @GeneratedValue(
  67.         strategy = GenerationType.AUTO
  68.     )
  69.     public Long getHjid() {
  70.         return this.hjid;
  71.     }
  72.  
  73.     public void setHjid(Long value) {
  74.         this.hjid = value;
  75.     }
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement