1 18 package org.objectweb.speedo.pobjects.inheritance.filterOutOfPK.rdbsequence; 19 20 import java.util.ArrayList ; 21 import java.util.Collection ; 22 23 27 public abstract class Article { 28 29 private long id; 30 private int type; 31 private Catalogue catalogue; 32 private Collection marches; 33 34 public Article(long id, int type) { 35 this.id = id; 36 this.type = type; 37 marches = new ArrayList (); 38 } 39 40 public Catalogue getCatalogue() { 41 return catalogue; 42 } 43 44 public void setCatalogue(Catalogue catalogue) { 45 this.catalogue = catalogue; 46 } 47 48 public Collection getMarches() { 49 return marches; 50 } 51 52 public void setMarches(Collection marches) { 53 this.marches = marches; 54 } 55 56 public long getId() { 57 return id; 58 } 59 60 public int getType() { 61 return type; 62 } 63 public void setType(int type) { 64 this.type = type; 65 } 66 } 67 | Popular Tags |