/**
* This class is generated by jOOQ
*/
package org.constellation.database.api.jooq.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.5.3"
},
comments = "This class is generated by jOOQ"
)
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class StyledDataRecord extends org.jooq.impl.UpdatableRecordImpl<org.constellation.database.api.jooq.tables.records.StyledDataRecord> implements org.jooq.Record2<java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = 875209046;
/**
* Setter for <code>admin.styled_data.style</code>.
*/
public StyledDataRecord setStyle(java.lang.Integer value) {
setValue(0, value);
return this;
}
/**
* Getter for <code>admin.styled_data.style</code>.
*/
@javax.validation.constraints.NotNull
public java.lang.Integer getStyle() {
return (java.lang.Integer) getValue(0);
}
/**
* Setter for <code>admin.styled_data.data</code>.
*/
public StyledDataRecord setData(java.lang.Integer value) {
setValue(1, value);
return this;
}
/**
* Getter for <code>admin.styled_data.data</code>.
*/
@javax.validation.constraints.NotNull
public java.lang.Integer getData() {
return (java.lang.Integer) getValue(1);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Record2<java.lang.Integer, java.lang.Integer> key() {
return (org.jooq.Record2) super.key();
}
// -------------------------------------------------------------------------
// Record2 type implementation
// -------------------------------------------------------------------------
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row2<java.lang.Integer, java.lang.Integer> fieldsRow() {
return (org.jooq.Row2) super.fieldsRow();
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row2<java.lang.Integer, java.lang.Integer> valuesRow() {
return (org.jooq.Row2) super.valuesRow();
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.constellation.database.api.jooq.tables.StyledData.STYLED_DATA.STYLE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field2() {
return org.constellation.database.api.jooq.tables.StyledData.STYLED_DATA.DATA;
}
/**
* {@inheritDoc}
*/
@Override
public java.lang.Integer value1() {
return getStyle();
}
/**
* {@inheritDoc}
*/
@Override
public java.lang.Integer value2() {
return getData();
}
/**
* {@inheritDoc}
*/
@Override
public StyledDataRecord value1(java.lang.Integer value) {
setStyle(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public StyledDataRecord value2(java.lang.Integer value) {
setData(value);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public StyledDataRecord values(java.lang.Integer value1, java.lang.Integer value2) {
return this;
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached StyledDataRecord
*/
public StyledDataRecord() {
super(org.constellation.database.api.jooq.tables.StyledData.STYLED_DATA);
}
/**
* Create a detached, initialised StyledDataRecord
*/
public StyledDataRecord(java.lang.Integer style, java.lang.Integer data) {
super(org.constellation.database.api.jooq.tables.StyledData.STYLED_DATA);
setValue(0, style);
setValue(1, data);
}
}