Modelactitem.java 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /*
  2. * This file is generated by jOOQ.
  3. */
  4. package jooq.tables;
  5. import java.sql.Timestamp;
  6. import java.util.Arrays;
  7. import java.util.List;
  8. import javax.annotation.Generated;
  9. import jooq.Indexes;
  10. import jooq.Keys;
  11. import jooq.Thmodel;
  12. import jooq.tables.records.ModelactitemRecord;
  13. import org.jooq.Field;
  14. import org.jooq.ForeignKey;
  15. import org.jooq.Identity;
  16. import org.jooq.Index;
  17. import org.jooq.Name;
  18. import org.jooq.Record;
  19. import org.jooq.Schema;
  20. import org.jooq.Table;
  21. import org.jooq.TableField;
  22. import org.jooq.UniqueKey;
  23. import org.jooq.impl.DSL;
  24. import org.jooq.impl.TableImpl;
  25. /**
  26. * This class is generated by jOOQ.
  27. */
  28. @Generated(
  29. value = {
  30. "http://www.jooq.org",
  31. "jOOQ version:3.11.5"
  32. },
  33. comments = "This class is generated by jOOQ"
  34. )
  35. @SuppressWarnings({ "all", "unchecked", "rawtypes" })
  36. public class Modelactitem extends TableImpl<ModelactitemRecord> {
  37. private static final long serialVersionUID = -1507586304;
  38. /**
  39. * The reference instance of <code>thmodel.modelactitem</code>
  40. */
  41. public static final Modelactitem MODELACTITEM = new Modelactitem();
  42. /**
  43. * The class holding records for this type
  44. */
  45. @Override
  46. public Class<ModelactitemRecord> getRecordType() {
  47. return ModelactitemRecord.class;
  48. }
  49. /**
  50. * The column <code>thmodel.modelactitem.PK</code>.
  51. */
  52. public final TableField<ModelactitemRecord, Integer> PK = createField("PK", org.jooq.impl.SQLDataType.INTEGER.nullable(false).identity(true), this, "");
  53. /**
  54. * The column <code>thmodel.modelactitem.ActPK</code>.
  55. */
  56. public final TableField<ModelactitemRecord, Integer> ACTPK = createField("ActPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
  57. /**
  58. * The column <code>thmodel.modelactitem.MemberPK</code>.
  59. */
  60. public final TableField<ModelactitemRecord, Integer> MEMBERPK = createField("MemberPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
  61. /**
  62. * The column <code>thmodel.modelactitem.IDate</code>.
  63. */
  64. public final TableField<ModelactitemRecord, Timestamp> IDATE = createField("IDate", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
  65. /**
  66. * The column <code>thmodel.modelactitem.IsGood</code>.
  67. */
  68. public final TableField<ModelactitemRecord, Integer> ISGOOD = createField("IsGood", org.jooq.impl.SQLDataType.INTEGER, this, "");
  69. /**
  70. * Create a <code>thmodel.modelactitem</code> table reference
  71. */
  72. public Modelactitem() {
  73. this(DSL.name("modelactitem"), null);
  74. }
  75. /**
  76. * Create an aliased <code>thmodel.modelactitem</code> table reference
  77. */
  78. public Modelactitem(String alias) {
  79. this(DSL.name(alias), MODELACTITEM);
  80. }
  81. /**
  82. * Create an aliased <code>thmodel.modelactitem</code> table reference
  83. */
  84. public Modelactitem(Name alias) {
  85. this(alias, MODELACTITEM);
  86. }
  87. private Modelactitem(Name alias, Table<ModelactitemRecord> aliased) {
  88. this(alias, aliased, null);
  89. }
  90. private Modelactitem(Name alias, Table<ModelactitemRecord> aliased, Field<?>[] parameters) {
  91. super(alias, null, aliased, parameters, DSL.comment(""));
  92. }
  93. public <O extends Record> Modelactitem(Table<O> child, ForeignKey<O, ModelactitemRecord> key) {
  94. super(child, key, MODELACTITEM);
  95. }
  96. /**
  97. * {@inheritDoc}
  98. */
  99. @Override
  100. public Schema getSchema() {
  101. return Thmodel.THMODEL;
  102. }
  103. /**
  104. * {@inheritDoc}
  105. */
  106. @Override
  107. public List<Index> getIndexes() {
  108. return Arrays.<Index>asList(Indexes.MODELACTITEM_INDEX_1, Indexes.MODELACTITEM_PRIMARY);
  109. }
  110. /**
  111. * {@inheritDoc}
  112. */
  113. @Override
  114. public Identity<ModelactitemRecord, Integer> getIdentity() {
  115. return Keys.IDENTITY_MODELACTITEM;
  116. }
  117. /**
  118. * {@inheritDoc}
  119. */
  120. @Override
  121. public UniqueKey<ModelactitemRecord> getPrimaryKey() {
  122. return Keys.KEY_MODELACTITEM_PRIMARY;
  123. }
  124. /**
  125. * {@inheritDoc}
  126. */
  127. @Override
  128. public List<UniqueKey<ModelactitemRecord>> getKeys() {
  129. return Arrays.<UniqueKey<ModelactitemRecord>>asList(Keys.KEY_MODELACTITEM_PRIMARY);
  130. }
  131. /**
  132. * {@inheritDoc}
  133. */
  134. @Override
  135. public Modelactitem as(String alias) {
  136. return new Modelactitem(DSL.name(alias), this);
  137. }
  138. /**
  139. * {@inheritDoc}
  140. */
  141. @Override
  142. public Modelactitem as(Name alias) {
  143. return new Modelactitem(alias, this);
  144. }
  145. /**
  146. * Rename this table
  147. */
  148. @Override
  149. public Modelactitem rename(String name) {
  150. return new Modelactitem(DSL.name(name), null);
  151. }
  152. /**
  153. * Rename this table
  154. */
  155. @Override
  156. public Modelactitem rename(Name name) {
  157. return new Modelactitem(name, null);
  158. }
  159. }