src/main/java/de/oglimmer/lunchy/database/generated/tables/records/LocationRecord.java
/**
* This class is generated by jOOQ
*/
package de.oglimmer.lunchy.database.generated.tables.records;
import de.oglimmer.lunchy.database.generated.tables.Location;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record20;
import org.jooq.Row20;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.7.2"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LocationRecord extends UpdatableRecordImpl<LocationRecord> implements Record20<Integer, String, String, String, String, String, String, String, String, Integer, Timestamp, Timestamp, Integer, Double, Double, String, Integer, Integer, Byte, Integer> {
private static final long serialVersionUID = -2051168699;
/**
* Setter for <code>oli_lunchy.location.id</code>.
*/
public void setId(Integer value) {
setValue(0, value);
}
/**
* Getter for <code>oli_lunchy.location.id</code>.
*/
public Integer getId() {
return (Integer) getValue(0);
}
/**
* Setter for <code>oli_lunchy.location.official_Name</code>.
*/
public void setOfficialName(String value) {
setValue(1, value);
}
/**
* Getter for <code>oli_lunchy.location.official_Name</code>.
*/
public String getOfficialName() {
return (String) getValue(1);
}
/**
* Setter for <code>oli_lunchy.location.street_Name</code>.
*/
public void setStreetName(String value) {
setValue(2, value);
}
/**
* Getter for <code>oli_lunchy.location.street_Name</code>.
*/
public String getStreetName() {
return (String) getValue(2);
}
/**
* Setter for <code>oli_lunchy.location.address</code>.
*/
public void setAddress(String value) {
setValue(3, value);
}
/**
* Getter for <code>oli_lunchy.location.address</code>.
*/
public String getAddress() {
return (String) getValue(3);
}
/**
* Setter for <code>oli_lunchy.location.city</code>.
*/
public void setCity(String value) {
setValue(4, value);
}
/**
* Getter for <code>oli_lunchy.location.city</code>.
*/
public String getCity() {
return (String) getValue(4);
}
/**
* Setter for <code>oli_lunchy.location.zip</code>.
*/
public void setZip(String value) {
setValue(5, value);
}
/**
* Getter for <code>oli_lunchy.location.zip</code>.
*/
public String getZip() {
return (String) getValue(5);
}
/**
* Setter for <code>oli_lunchy.location.country</code>.
*/
public void setCountry(String value) {
setValue(6, value);
}
/**
* Getter for <code>oli_lunchy.location.country</code>.
*/
public String getCountry() {
return (String) getValue(6);
}
/**
* Setter for <code>oli_lunchy.location.url</code>.
*/
public void setUrl(String value) {
setValue(7, value);
}
/**
* Getter for <code>oli_lunchy.location.url</code>.
*/
public String getUrl() {
return (String) getValue(7);
}
/**
* Setter for <code>oli_lunchy.location.comment</code>.
*/
public void setComment(String value) {
setValue(8, value);
}
/**
* Getter for <code>oli_lunchy.location.comment</code>.
*/
public String getComment() {
return (String) getValue(8);
}
/**
* Setter for <code>oli_lunchy.location.turn_Around_Time</code>.
*/
public void setTurnAroundTime(Integer value) {
setValue(9, value);
}
/**
* Getter for <code>oli_lunchy.location.turn_Around_Time</code>.
*/
public Integer getTurnAroundTime() {
return (Integer) getValue(9);
}
/**
* Setter for <code>oli_lunchy.location.created_On</code>.
*/
public void setCreatedOn(Timestamp value) {
setValue(10, value);
}
/**
* Getter for <code>oli_lunchy.location.created_On</code>.
*/
public Timestamp getCreatedOn() {
return (Timestamp) getValue(10);
}
/**
* Setter for <code>oli_lunchy.location.last_Update</code>.
*/
public void setLastUpdate(Timestamp value) {
setValue(11, value);
}
/**
* Getter for <code>oli_lunchy.location.last_Update</code>.
*/
public Timestamp getLastUpdate() {
return (Timestamp) getValue(11);
}
/**
* Setter for <code>oli_lunchy.location.fk_User</code>.
*/
public void setFkUser(Integer value) {
setValue(12, value);
}
/**
* Getter for <code>oli_lunchy.location.fk_User</code>.
*/
public Integer getFkUser() {
return (Integer) getValue(12);
}
/**
* Setter for <code>oli_lunchy.location.geo_Lat</code>.
*/
public void setGeoLat(Double value) {
setValue(13, value);
}
/**
* Getter for <code>oli_lunchy.location.geo_Lat</code>.
*/
public Double getGeoLat() {
return (Double) getValue(13);
}
/**
* Setter for <code>oli_lunchy.location.geo_Lng</code>.
*/
public void setGeoLng(Double value) {
setValue(14, value);
}
/**
* Getter for <code>oli_lunchy.location.geo_Lng</code>.
*/
public Double getGeoLng() {
return (Double) getValue(14);
}
/**
* Setter for <code>oli_lunchy.location.tags</code>.
*/
public void setTags(String value) {
setValue(15, value);
}
/**
* Getter for <code>oli_lunchy.location.tags</code>.
*/
public String getTags() {
return (String) getValue(15);
}
/**
* Setter for <code>oli_lunchy.location.fk_Office</code>.
*/
public void setFkOffice(Integer value) {
setValue(16, value);
}
/**
* Getter for <code>oli_lunchy.location.fk_Office</code>.
*/
public Integer getFkOffice() {
return (Integer) getValue(16);
}
/**
* Setter for <code>oli_lunchy.location.fk_Community</code>.
*/
public void setFkCommunity(Integer value) {
setValue(17, value);
}
/**
* Getter for <code>oli_lunchy.location.fk_Community</code>.
*/
public Integer getFkCommunity() {
return (Integer) getValue(17);
}
/**
* Setter for <code>oli_lunchy.location.geo_Moved_Manually</code>.
*/
public void setGeoMovedManually(Byte value) {
setValue(18, value);
}
/**
* Getter for <code>oli_lunchy.location.geo_Moved_Manually</code>.
*/
public Byte getGeoMovedManually() {
return (Byte) getValue(18);
}
/**
* Setter for <code>oli_lunchy.location.archived</code>.
*/
public void setArchived(Integer value) {
setValue(19, value);
}
/**
* Getter for <code>oli_lunchy.location.archived</code>.
*/
public Integer getArchived() {
return (Integer) getValue(19);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
/**
* {@inheritDoc}
*/
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Record20 type implementation
// -------------------------------------------------------------------------
/**
* {@inheritDoc}
*/
@Override
public Row20<Integer, String, String, String, String, String, String, String, String, Integer, Timestamp, Timestamp, Integer, Double, Double, String, Integer, Integer, Byte, Integer> fieldsRow() {
return (Row20) super.fieldsRow();
}
/**
* {@inheritDoc}
*/
@Override
public Row20<Integer, String, String, String, String, String, String, String, String, Integer, Timestamp, Timestamp, Integer, Double, Double, String, Integer, Integer, Byte, Integer> valuesRow() {
return (Row20) super.valuesRow();
}
/**
* {@inheritDoc}
*/
@Override
public Field<Integer> field1() {
return Location.LOCATION.ID;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field2() {
return Location.LOCATION.OFFICIAL_NAME;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field3() {
return Location.LOCATION.STREET_NAME;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field4() {
return Location.LOCATION.ADDRESS;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field5() {
return Location.LOCATION.CITY;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field6() {
return Location.LOCATION.ZIP;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field7() {
return Location.LOCATION.COUNTRY;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field8() {
return Location.LOCATION.URL;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field9() {
return Location.LOCATION.COMMENT;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Integer> field10() {
return Location.LOCATION.TURN_AROUND_TIME;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Timestamp> field11() {
return Location.LOCATION.CREATED_ON;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Timestamp> field12() {
return Location.LOCATION.LAST_UPDATE;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Integer> field13() {
return Location.LOCATION.FK_USER;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Double> field14() {
return Location.LOCATION.GEO_LAT;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Double> field15() {
return Location.LOCATION.GEO_LNG;
}
/**
* {@inheritDoc}
*/
@Override
public Field<String> field16() {
return Location.LOCATION.TAGS;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Integer> field17() {
return Location.LOCATION.FK_OFFICE;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Integer> field18() {
return Location.LOCATION.FK_COMMUNITY;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Byte> field19() {
return Location.LOCATION.GEO_MOVED_MANUALLY;
}
/**
* {@inheritDoc}
*/
@Override
public Field<Integer> field20() {
return Location.LOCATION.ARCHIVED;
}
/**
* {@inheritDoc}
*/
@Override
public Integer value1() {
return getId();
}
/**
* {@inheritDoc}
*/
@Override
public String value2() {
return getOfficialName();
}
/**
* {@inheritDoc}
*/
@Override
public String value3() {
return getStreetName();
}
/**
* {@inheritDoc}
*/
@Override
public String value4() {
return getAddress();
}
/**
* {@inheritDoc}
*/
@Override
public String value5() {
return getCity();
}
/**
* {@inheritDoc}
*/
@Override
public String value6() {
return getZip();
}
/**
* {@inheritDoc}
*/
@Override
public String value7() {
return getCountry();
}
/**
* {@inheritDoc}
*/
@Override
public String value8() {
return getUrl();
}
/**
* {@inheritDoc}
*/
@Override
public String value9() {
return getComment();
}
/**
* {@inheritDoc}
*/
@Override
public Integer value10() {
return getTurnAroundTime();
}
/**
* {@inheritDoc}
*/
@Override
public Timestamp value11() {
return getCreatedOn();
}
/**
* {@inheritDoc}
*/
@Override
public Timestamp value12() {
return getLastUpdate();
}
/**
* {@inheritDoc}
*/
@Override
public Integer value13() {
return getFkUser();
}
/**
* {@inheritDoc}
*/
@Override
public Double value14() {
return getGeoLat();
}
/**
* {@inheritDoc}
*/
@Override
public Double value15() {
return getGeoLng();
}
/**
* {@inheritDoc}
*/
@Override
public String value16() {
return getTags();
}
/**
* {@inheritDoc}
*/
@Override
public Integer value17() {
return getFkOffice();
}
/**
* {@inheritDoc}
*/
@Override
public Integer value18() {
return getFkCommunity();
}
/**
* {@inheritDoc}
*/
@Override
public Byte value19() {
return getGeoMovedManually();
}
/**
* {@inheritDoc}
*/
@Override
public Integer value20() {
return getArchived();
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value1(Integer value) {
setId(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value2(String value) {
setOfficialName(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value3(String value) {
setStreetName(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value4(String value) {
setAddress(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value5(String value) {
setCity(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value6(String value) {
setZip(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value7(String value) {
setCountry(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value8(String value) {
setUrl(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value9(String value) {
setComment(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value10(Integer value) {
setTurnAroundTime(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value11(Timestamp value) {
setCreatedOn(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value12(Timestamp value) {
setLastUpdate(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value13(Integer value) {
setFkUser(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value14(Double value) {
setGeoLat(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value15(Double value) {
setGeoLng(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value16(String value) {
setTags(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value17(Integer value) {
setFkOffice(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value18(Integer value) {
setFkCommunity(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value19(Byte value) {
setGeoMovedManually(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord value20(Integer value) {
setArchived(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public LocationRecord values(Integer value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, Integer value10, Timestamp value11, Timestamp value12, Integer value13, Double value14, Double value15, String value16, Integer value17, Integer value18, Byte value19, Integer value20) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
value6(value6);
value7(value7);
value8(value8);
value9(value9);
value10(value10);
value11(value11);
value12(value12);
value13(value13);
value14(value14);
value15(value15);
value16(value16);
value17(value17);
value18(value18);
value19(value19);
value20(value20);
return this;
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached LocationRecord
*/
public LocationRecord() {
super(Location.LOCATION);
}
/**
* Create a detached, initialised LocationRecord
*/
public LocationRecord(Integer id, String officialName, String streetName, String address, String city, String zip, String country, String url, String comment, Integer turnAroundTime, Timestamp createdOn, Timestamp lastUpdate, Integer fkUser, Double geoLat, Double geoLng, String tags, Integer fkOffice, Integer fkCommunity, Byte geoMovedManually, Integer archived) {
super(Location.LOCATION);
setValue(0, id);
setValue(1, officialName);
setValue(2, streetName);
setValue(3, address);
setValue(4, city);
setValue(5, zip);
setValue(6, country);
setValue(7, url);
setValue(8, comment);
setValue(9, turnAroundTime);
setValue(10, createdOn);
setValue(11, lastUpdate);
setValue(12, fkUser);
setValue(13, geoLat);
setValue(14, geoLng);
setValue(15, tags);
setValue(16, fkOffice);
setValue(17, fkCommunity);
setValue(18, geoMovedManually);
setValue(19, archived);
}
}