Modelintimate.java 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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.ModelintimateRecord;
  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 Modelintimate extends TableImpl<ModelintimateRecord> {
  37. private static final long serialVersionUID = -507176011;
  38. /**
  39. * The reference instance of <code>thmodel.modelintimate</code>
  40. */
  41. public static final Modelintimate MODELINTIMATE = new Modelintimate();
  42. /**
  43. * The class holding records for this type
  44. */
  45. @Override
  46. public Class<ModelintimateRecord> getRecordType() {
  47. return ModelintimateRecord.class;
  48. }
  49. /**
  50. * The column <code>thmodel.modelintimate.PK</code>.
  51. */
  52. public final TableField<ModelintimateRecord, Integer> PK = createField("PK", org.jooq.impl.SQLDataType.INTEGER.nullable(false).identity(true), this, "");
  53. /**
  54. * The column <code>thmodel.modelintimate.ModelPK</code>.
  55. */
  56. public final TableField<ModelintimateRecord, Integer> MODELPK = createField("ModelPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
  57. /**
  58. * The column <code>thmodel.modelintimate.MemberPK</code>.
  59. */
  60. public final TableField<ModelintimateRecord, Integer> MEMBERPK = createField("MemberPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
  61. /**
  62. * The column <code>thmodel.modelintimate.IDate</code>.
  63. */
  64. public final TableField<ModelintimateRecord, Timestamp> IDATE = createField("IDate", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
  65. /**
  66. * Create a <code>thmodel.modelintimate</code> table reference
  67. */
  68. public Modelintimate() {
  69. this(DSL.name("modelintimate"), null);
  70. }
  71. /**
  72. * Create an aliased <code>thmodel.modelintimate</code> table reference
  73. */
  74. public Modelintimate(String alias) {
  75. this(DSL.name(alias), MODELINTIMATE);
  76. }
  77. /**
  78. * Create an aliased <code>thmodel.modelintimate</code> table reference
  79. */
  80. public Modelintimate(Name alias) {
  81. this(alias, MODELINTIMATE);
  82. }
  83. private Modelintimate(Name alias, Table<ModelintimateRecord> aliased) {
  84. this(alias, aliased, null);
  85. }
  86. private Modelintimate(Name alias, Table<ModelintimateRecord> aliased, Field<?>[] parameters) {
  87. super(alias, null, aliased, parameters, DSL.comment(""));
  88. }
  89. public <O extends Record> Modelintimate(Table<O> child, ForeignKey<O, ModelintimateRecord> key) {
  90. super(child, key, MODELINTIMATE);
  91. }
  92. /**
  93. * {@inheritDoc}
  94. */
  95. @Override
  96. public Schema getSchema() {
  97. return Thmodel.THMODEL;
  98. }
  99. /**
  100. * {@inheritDoc}
  101. */
  102. @Override
  103. public List<Index> getIndexes() {
  104. return Arrays.<Index>asList(Indexes.MODELINTIMATE_INDEX_1, Indexes.MODELINTIMATE_PRIMARY);
  105. }
  106. /**
  107. * {@inheritDoc}
  108. */
  109. @Override
  110. public Identity<ModelintimateRecord, Integer> getIdentity() {
  111. return Keys.IDENTITY_MODELINTIMATE;
  112. }
  113. /**
  114. * {@inheritDoc}
  115. */
  116. @Override
  117. public UniqueKey<ModelintimateRecord> getPrimaryKey() {
  118. return Keys.KEY_MODELINTIMATE_PRIMARY;
  119. }
  120. /**
  121. * {@inheritDoc}
  122. */
  123. @Override
  124. public List<UniqueKey<ModelintimateRecord>> getKeys() {
  125. return Arrays.<UniqueKey<ModelintimateRecord>>asList(Keys.KEY_MODELINTIMATE_PRIMARY);
  126. }
  127. /**
  128. * {@inheritDoc}
  129. */
  130. @Override
  131. public Modelintimate as(String alias) {
  132. return new Modelintimate(DSL.name(alias), this);
  133. }
  134. /**
  135. * {@inheritDoc}
  136. */
  137. @Override
  138. public Modelintimate as(Name alias) {
  139. return new Modelintimate(alias, this);
  140. }
  141. /**
  142. * Rename this table
  143. */
  144. @Override
  145. public Modelintimate rename(String name) {
  146. return new Modelintimate(DSL.name(name), null);
  147. }
  148. /**
  149. * Rename this table
  150. */
  151. @Override
  152. public Modelintimate rename(Name name) {
  153. return new Modelintimate(name, null);
  154. }
  155. }