diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountClanRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountClanRecord.java new file mode 100644 index 000000000..f11cd32d0 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountClanRecord.java @@ -0,0 +1,234 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountClanRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = 1048240243; + + /** + * Setter for Account.accountClan.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountClan.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountClan.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountClan.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountClan.clanId. + */ + public void setClanId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.accountClan.clanId. + */ + public java.lang.Integer getClanId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.accountClan.clanRole. + */ + public void setClanRole(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.accountClan.clanRole. + */ + public java.lang.String getClanRole() { + return (java.lang.String) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountClan.accountClan.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountClan.accountClan.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountClan.accountClan.clanId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.AccountClan.accountClan.clanRole; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getClanId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getClanRole(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountClanRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountClanRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountClanRecord value3(java.lang.Integer value) { + setClanId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountClanRecord value4(java.lang.String value) { + setClanRole(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountClanRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.String value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountClanRecord + */ + public AccountClanRecord() { + super(mineplex.database.tables.AccountClan.accountClan); + } + + /** + * Create a detached, initialised AccountClanRecord + */ + public AccountClanRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.Integer clanId, java.lang.String clanRole) { + super(mineplex.database.tables.AccountClan.accountClan); + + setValue(0, id); + setValue(1, accountId); + setValue(2, clanId); + setValue(3, clanRole); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanAlliancesRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanAlliancesRecord.java new file mode 100644 index 000000000..9a3fc378e --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanAlliancesRecord.java @@ -0,0 +1,234 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = 1680956123; + + /** + * Setter for Account.clanAlliances.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clanAlliances.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clanAlliances.clanId. + */ + public void setClanId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clanAlliances.clanId. + */ + public java.lang.Integer getClanId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.clanAlliances.otherClanId. + */ + public void setOtherClanId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.clanAlliances.otherClanId. + */ + public java.lang.Integer getOtherClanId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.clanAlliances.trusted. + */ + public void setTrusted(java.lang.Byte value) { + setValue(3, value); + } + + /** + * Getter for Account.clanAlliances.trusted. + */ + public java.lang.Byte getTrusted() { + return (java.lang.Byte) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClanAlliances.clanAlliances.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClanAlliances.clanAlliances.clanId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClanAlliances.clanAlliances.otherClanId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ClanAlliances.clanAlliances.trusted; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getClanId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getOtherClanId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value4() { + return getTrusted(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClanAlliancesRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanAlliancesRecord value2(java.lang.Integer value) { + setClanId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanAlliancesRecord value3(java.lang.Integer value) { + setOtherClanId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanAlliancesRecord value4(java.lang.Byte value) { + setTrusted(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanAlliancesRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Byte value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClanAlliancesRecord + */ + public ClanAlliancesRecord() { + super(mineplex.database.tables.ClanAlliances.clanAlliances); + } + + /** + * Create a detached, initialised ClanAlliancesRecord + */ + public ClanAlliancesRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.Integer otherClanId, java.lang.Byte trusted) { + super(mineplex.database.tables.ClanAlliances.clanAlliances); + + setValue(0, id); + setValue(1, clanId); + setValue(2, otherClanId); + setValue(3, trusted); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java new file mode 100644 index 000000000..ba98cbfd2 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java @@ -0,0 +1,274 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5 { + + private static final long serialVersionUID = -1094018373; + + /** + * Setter for Account.clanTerritory.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clanTerritory.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clanTerritory.clanId. + */ + public void setClanId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clanTerritory.clanId. + */ + public java.lang.Integer getClanId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.clanTerritory.serverName. + */ + public void setServerName(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.clanTerritory.serverName. + */ + public java.lang.String getServerName() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.clanTerritory.chunk. + */ + public void setChunk(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.clanTerritory.chunk. + */ + public java.lang.String getChunk() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.clanTerritory.safe. + */ + public void setSafe(java.lang.Byte value) { + setValue(4, value); + } + + /** + * Getter for Account.clanTerritory.safe. + */ + public java.lang.Byte getSafe() { + return (java.lang.Byte) getValue(4); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record5 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row5 fieldsRow() { + return (org.jooq.Row5) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row5 valuesRow() { + return (org.jooq.Row5) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClanTerritory.clanTerritory.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClanTerritory.clanTerritory.clanId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClanTerritory.clanTerritory.serverName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ClanTerritory.clanTerritory.chunk; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.ClanTerritory.clanTerritory.safe; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getClanId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getServerName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getChunk(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value5() { + return getSafe(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClanTerritoryRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanTerritoryRecord value2(java.lang.Integer value) { + setClanId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanTerritoryRecord value3(java.lang.String value) { + setServerName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanTerritoryRecord value4(java.lang.String value) { + setChunk(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanTerritoryRecord value5(java.lang.Byte value) { + setSafe(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanTerritoryRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.String value4, java.lang.Byte value5) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClanTerritoryRecord + */ + public ClanTerritoryRecord() { + super(mineplex.database.tables.ClanTerritory.clanTerritory); + } + + /** + * Create a detached, initialised ClanTerritoryRecord + */ + public ClanTerritoryRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.String serverName, java.lang.String chunk, java.lang.Byte safe) { + super(mineplex.database.tables.ClanTerritory.clanTerritory); + + setValue(0, id); + setValue(1, clanId); + setValue(2, serverName); + setValue(3, chunk); + setValue(4, safe); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java new file mode 100644 index 000000000..069e2a5eb --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java @@ -0,0 +1,394 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record8 { + + private static final long serialVersionUID = 1671341643; + + /** + * Setter for Account.clans.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clans.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clans.serverName. + */ + public void setServerName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.clans.serverName. + */ + public java.lang.String getServerName() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.clans.name. + */ + public void setName(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.clans.name. + */ + public java.lang.String getName() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.clans.description. + */ + public void setDescription(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.clans.description. + */ + public java.lang.String getDescription() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.clans.home. + */ + public void setHome(java.lang.String value) { + setValue(4, value); + } + + /** + * Getter for Account.clans.home. + */ + public java.lang.String getHome() { + return (java.lang.String) getValue(4); + } + + /** + * Setter for Account.clans.admin. + */ + public void setAdmin(java.lang.Byte value) { + setValue(5, value); + } + + /** + * Getter for Account.clans.admin. + */ + public java.lang.Byte getAdmin() { + return (java.lang.Byte) getValue(5); + } + + /** + * Setter for Account.clans.dateCreated. + */ + public void setDateCreated(java.lang.String value) { + setValue(6, value); + } + + /** + * Getter for Account.clans.dateCreated. + */ + public java.lang.String getDateCreated() { + return (java.lang.String) getValue(6); + } + + /** + * Setter for Account.clans.lastOnline. + */ + public void setLastOnline(java.lang.String value) { + setValue(7, value); + } + + /** + * Getter for Account.clans.lastOnline. + */ + public java.lang.String getLastOnline() { + return (java.lang.String) getValue(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record8 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 fieldsRow() { + return (org.jooq.Row8) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 valuesRow() { + return (org.jooq.Row8) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Clans.clans.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Clans.clans.serverName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Clans.clans.name; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.Clans.clans.description; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.Clans.clans.home; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.Clans.clans.admin; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.Clans.clans.dateCreated; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.Clans.clans.lastOnline; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getServerName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getDescription(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value5() { + return getHome(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value6() { + return getAdmin(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value7() { + return getDateCreated(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value8() { + return getLastOnline(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value2(java.lang.String value) { + setServerName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value3(java.lang.String value) { + setName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value4(java.lang.String value) { + setDescription(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value5(java.lang.String value) { + setHome(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value6(java.lang.Byte value) { + setAdmin(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value7(java.lang.String value) { + setDateCreated(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord value8(java.lang.String value) { + setLastOnline(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.Byte value6, java.lang.String value7, java.lang.String value8) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClansRecord + */ + public ClansRecord() { + super(mineplex.database.tables.Clans.clans); + } + + /** + * Create a detached, initialised ClansRecord + */ + public ClansRecord(java.lang.Integer id, java.lang.String serverName, java.lang.String name, java.lang.String description, java.lang.String home, java.lang.Byte admin, java.lang.String dateCreated, java.lang.String lastOnline) { + super(mineplex.database.tables.Clans.clans); + + setValue(0, id); + setValue(1, serverName); + setValue(2, name); + setValue(3, description); + setValue(4, home); + setValue(5, admin); + setValue(6, dateCreated); + setValue(7, lastOnline); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java new file mode 100644 index 000000000..5eec38087 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java @@ -0,0 +1,234 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = -1820874750; + + /** + * Setter for Account.eloRating.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.eloRating.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.eloRating.uuid. + */ + public void setUuid(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.eloRating.uuid. + */ + public java.lang.String getUuid() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.eloRating.gameType. + */ + public void setGameType(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.eloRating.gameType. + */ + public java.lang.String getGameType() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.eloRating.elo. + */ + public void setElo(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.eloRating.elo. + */ + public java.lang.Integer getElo() { + return (java.lang.Integer) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.EloRating.eloRating.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.EloRating.eloRating.uuid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.EloRating.eloRating.gameType; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.EloRating.eloRating.elo; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getUuid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getGameType(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getElo(); + } + + /** + * {@inheritDoc} + */ + @Override + public EloRatingRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public EloRatingRecord value2(java.lang.String value) { + setUuid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public EloRatingRecord value3(java.lang.String value) { + setGameType(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public EloRatingRecord value4(java.lang.Integer value) { + setElo(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public EloRatingRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.Integer value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached EloRatingRecord + */ + public EloRatingRecord() { + super(mineplex.database.tables.EloRating.eloRating); + } + + /** + * Create a detached, initialised EloRatingRecord + */ + public EloRatingRecord(java.lang.Integer id, java.lang.String uuid, java.lang.String gameType, java.lang.Integer elo) { + super(mineplex.database.tables.EloRating.eloRating); + + setValue(0, id); + setValue(1, uuid); + setValue(2, gameType); + setValue(3, elo); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldBlockRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldBlockRecord.java new file mode 100644 index 000000000..2a7219127 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldBlockRecord.java @@ -0,0 +1,474 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class FieldBlockRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record10 { + + private static final long serialVersionUID = -651776664; + + /** + * Setter for Account.fieldBlock.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.fieldBlock.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.fieldBlock.server. + */ + public void setServer(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.fieldBlock.server. + */ + public java.lang.String getServer() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.fieldBlock.location. + */ + public void setLocation(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.fieldBlock.location. + */ + public java.lang.String getLocation() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.fieldBlock.blockId. + */ + public void setBlockId(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.fieldBlock.blockId. + */ + public java.lang.Integer getBlockId() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.fieldBlock.blockData. + */ + public void setBlockData(java.lang.Byte value) { + setValue(4, value); + } + + /** + * Getter for Account.fieldBlock.blockData. + */ + public java.lang.Byte getBlockData() { + return (java.lang.Byte) getValue(4); + } + + /** + * Setter for Account.fieldBlock.emptyId. + */ + public void setEmptyId(java.lang.Integer value) { + setValue(5, value); + } + + /** + * Getter for Account.fieldBlock.emptyId. + */ + public java.lang.Integer getEmptyId() { + return (java.lang.Integer) getValue(5); + } + + /** + * Setter for Account.fieldBlock.emptyData. + */ + public void setEmptyData(java.lang.Byte value) { + setValue(6, value); + } + + /** + * Getter for Account.fieldBlock.emptyData. + */ + public java.lang.Byte getEmptyData() { + return (java.lang.Byte) getValue(6); + } + + /** + * Setter for Account.fieldBlock.stockMax. + */ + public void setStockMax(java.lang.Integer value) { + setValue(7, value); + } + + /** + * Getter for Account.fieldBlock.stockMax. + */ + public java.lang.Integer getStockMax() { + return (java.lang.Integer) getValue(7); + } + + /** + * Setter for Account.fieldBlock.stockRegenTime. + */ + public void setStockRegenTime(java.lang.Double value) { + setValue(8, value); + } + + /** + * Getter for Account.fieldBlock.stockRegenTime. + */ + public java.lang.Double getStockRegenTime() { + return (java.lang.Double) getValue(8); + } + + /** + * Setter for Account.fieldBlock.loot. + */ + public void setLoot(java.lang.String value) { + setValue(9, value); + } + + /** + * Getter for Account.fieldBlock.loot. + */ + public java.lang.String getLoot() { + return (java.lang.String) getValue(9); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record10 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row10 fieldsRow() { + return (org.jooq.Row10) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row10 valuesRow() { + return (org.jooq.Row10) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.FieldBlock.fieldBlock.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.FieldBlock.fieldBlock.server; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.FieldBlock.fieldBlock.location; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.FieldBlock.fieldBlock.blockId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.FieldBlock.fieldBlock.blockData; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.FieldBlock.fieldBlock.emptyId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.FieldBlock.fieldBlock.emptyData; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.FieldBlock.fieldBlock.stockMax; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field9() { + return mineplex.database.tables.FieldBlock.fieldBlock.stockRegenTime; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field10() { + return mineplex.database.tables.FieldBlock.fieldBlock.loot; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getServer(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getLocation(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getBlockId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value5() { + return getBlockData(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value6() { + return getEmptyId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value7() { + return getEmptyData(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value8() { + return getStockMax(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Double value9() { + return getStockRegenTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value10() { + return getLoot(); + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value2(java.lang.String value) { + setServer(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value3(java.lang.String value) { + setLocation(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value4(java.lang.Integer value) { + setBlockId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value5(java.lang.Byte value) { + setBlockData(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value6(java.lang.Integer value) { + setEmptyId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value7(java.lang.Byte value) { + setEmptyData(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value8(java.lang.Integer value) { + setStockMax(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value9(java.lang.Double value) { + setStockRegenTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord value10(java.lang.String value) { + setLoot(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldBlockRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.Integer value4, java.lang.Byte value5, java.lang.Integer value6, java.lang.Byte value7, java.lang.Integer value8, java.lang.Double value9, java.lang.String value10) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached FieldBlockRecord + */ + public FieldBlockRecord() { + super(mineplex.database.tables.FieldBlock.fieldBlock); + } + + /** + * Create a detached, initialised FieldBlockRecord + */ + public FieldBlockRecord(java.lang.Integer id, java.lang.String server, java.lang.String location, java.lang.Integer blockId, java.lang.Byte blockData, java.lang.Integer emptyId, java.lang.Byte emptyData, java.lang.Integer stockMax, java.lang.Double stockRegenTime, java.lang.String loot) { + super(mineplex.database.tables.FieldBlock.fieldBlock); + + setValue(0, id); + setValue(1, server); + setValue(2, location); + setValue(3, blockId); + setValue(4, blockData); + setValue(5, emptyId); + setValue(6, emptyData); + setValue(7, stockMax); + setValue(8, stockRegenTime); + setValue(9, loot); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldMonsterRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldMonsterRecord.java new file mode 100644 index 000000000..cf9ae3070 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldMonsterRecord.java @@ -0,0 +1,434 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class FieldMonsterRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record9 { + + private static final long serialVersionUID = 1066502903; + + /** + * Setter for Account.fieldMonster.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.fieldMonster.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.fieldMonster.server. + */ + public void setServer(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.fieldMonster.server. + */ + public java.lang.String getServer() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.fieldMonster.name. + */ + public void setName(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.fieldMonster.name. + */ + public java.lang.String getName() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.fieldMonster.type. + */ + public void setType(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.fieldMonster.type. + */ + public java.lang.String getType() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.fieldMonster.mobMax. + */ + public void setMobMax(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.fieldMonster.mobMax. + */ + public java.lang.Integer getMobMax() { + return (java.lang.Integer) getValue(4); + } + + /** + * Setter for Account.fieldMonster.mobRate. + */ + public void setMobRate(java.lang.Double value) { + setValue(5, value); + } + + /** + * Getter for Account.fieldMonster.mobRate. + */ + public java.lang.Double getMobRate() { + return (java.lang.Double) getValue(5); + } + + /** + * Setter for Account.fieldMonster.center. + */ + public void setCenter(java.lang.String value) { + setValue(6, value); + } + + /** + * Getter for Account.fieldMonster.center. + */ + public java.lang.String getCenter() { + return (java.lang.String) getValue(6); + } + + /** + * Setter for Account.fieldMonster.radius. + */ + public void setRadius(java.lang.Integer value) { + setValue(7, value); + } + + /** + * Getter for Account.fieldMonster.radius. + */ + public java.lang.Integer getRadius() { + return (java.lang.Integer) getValue(7); + } + + /** + * Setter for Account.fieldMonster.height. + */ + public void setHeight(java.lang.Integer value) { + setValue(8, value); + } + + /** + * Getter for Account.fieldMonster.height. + */ + public java.lang.Integer getHeight() { + return (java.lang.Integer) getValue(8); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record9 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row9 fieldsRow() { + return (org.jooq.Row9) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row9 valuesRow() { + return (org.jooq.Row9) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.FieldMonster.fieldMonster.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.FieldMonster.fieldMonster.server; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.FieldMonster.fieldMonster.name; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.FieldMonster.fieldMonster.type; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.FieldMonster.fieldMonster.mobMax; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.FieldMonster.fieldMonster.mobRate; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.FieldMonster.fieldMonster.center; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.FieldMonster.fieldMonster.radius; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field9() { + return mineplex.database.tables.FieldMonster.fieldMonster.height; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getServer(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getType(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getMobMax(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Double value6() { + return getMobRate(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value7() { + return getCenter(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value8() { + return getRadius(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value9() { + return getHeight(); + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value2(java.lang.String value) { + setServer(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value3(java.lang.String value) { + setName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value4(java.lang.String value) { + setType(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value5(java.lang.Integer value) { + setMobMax(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value6(java.lang.Double value) { + setMobRate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value7(java.lang.String value) { + setCenter(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value8(java.lang.Integer value) { + setRadius(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord value9(java.lang.Integer value) { + setHeight(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldMonsterRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.Integer value5, java.lang.Double value6, java.lang.String value7, java.lang.Integer value8, java.lang.Integer value9) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached FieldMonsterRecord + */ + public FieldMonsterRecord() { + super(mineplex.database.tables.FieldMonster.fieldMonster); + } + + /** + * Create a detached, initialised FieldMonsterRecord + */ + public FieldMonsterRecord(java.lang.Integer id, java.lang.String server, java.lang.String name, java.lang.String type, java.lang.Integer mobMax, java.lang.Double mobRate, java.lang.String center, java.lang.Integer radius, java.lang.Integer height) { + super(mineplex.database.tables.FieldMonster.fieldMonster); + + setValue(0, id); + setValue(1, server); + setValue(2, name); + setValue(3, type); + setValue(4, mobMax); + setValue(5, mobRate); + setValue(6, center); + setValue(7, radius); + setValue(8, height); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldOreRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldOreRecord.java new file mode 100644 index 000000000..0cb7b2004 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/FieldOreRecord.java @@ -0,0 +1,194 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class FieldOreRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 1701809709; + + /** + * Setter for Account.fieldOre.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.fieldOre.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.fieldOre.server. + */ + public void setServer(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.fieldOre.server. + */ + public java.lang.String getServer() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.fieldOre.location. + */ + public void setLocation(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.fieldOre.location. + */ + public java.lang.String getLocation() { + return (java.lang.String) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.FieldOre.fieldOre.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.FieldOre.fieldOre.server; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.FieldOre.fieldOre.location; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getServer(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getLocation(); + } + + /** + * {@inheritDoc} + */ + @Override + public FieldOreRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldOreRecord value2(java.lang.String value) { + setServer(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldOreRecord value3(java.lang.String value) { + setLocation(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FieldOreRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached FieldOreRecord + */ + public FieldOreRecord() { + super(mineplex.database.tables.FieldOre.fieldOre); + } + + /** + * Create a detached, initialised FieldOreRecord + */ + public FieldOreRecord(java.lang.Integer id, java.lang.String server, java.lang.String location) { + super(mineplex.database.tables.FieldOre.fieldOre); + + setValue(0, id); + setValue(1, server); + setValue(2, location); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SpawnsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SpawnsRecord.java new file mode 100644 index 000000000..462e58d1e --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SpawnsRecord.java @@ -0,0 +1,194 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.2" }, + comments = "This class is generated by jOOQ") +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SpawnsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 507006084; + + /** + * Setter for Account.spawns.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.spawns.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.spawns.serverName. + */ + public void setServerName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.spawns.serverName. + */ + public java.lang.String getServerName() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.spawns.location. + */ + public void setLocation(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.spawns.location. + */ + public java.lang.String getLocation() { + return (java.lang.String) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Spawns.spawns.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Spawns.spawns.serverName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Spawns.spawns.location; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getServerName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getLocation(); + } + + /** + * {@inheritDoc} + */ + @Override + public SpawnsRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SpawnsRecord value2(java.lang.String value) { + setServerName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SpawnsRecord value3(java.lang.String value) { + setLocation(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SpawnsRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SpawnsRecord + */ + public SpawnsRecord() { + super(mineplex.database.tables.Spawns.spawns); + } + + /** + * Create a detached, initialised SpawnsRecord + */ + public SpawnsRecord(java.lang.Integer id, java.lang.String serverName, java.lang.String location) { + super(mineplex.database.tables.Spawns.spawns); + + setValue(0, id); + setValue(1, serverName); + setValue(2, location); + } +}