/**
* This class is generated by jOOQ
*/
package org.constellation.database.api.jooq.tables.daos;
/**
* 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 StyledLayerDao extends org.jooq.impl.DAOImpl<org.constellation.database.api.jooq.tables.records.StyledLayerRecord, org.constellation.database.api.jooq.tables.pojos.StyledLayer, org.jooq.Record2<java.lang.Integer, java.lang.Integer>> {
/**
* Create a new StyledLayerDao without any configuration
*/
public StyledLayerDao() {
super(org.constellation.database.api.jooq.tables.StyledLayer.STYLED_LAYER, org.constellation.database.api.jooq.tables.pojos.StyledLayer.class);
}
/**
* Create a new StyledLayerDao with an attached configuration
*/
public StyledLayerDao(org.jooq.Configuration configuration) {
super(org.constellation.database.api.jooq.tables.StyledLayer.STYLED_LAYER, org.constellation.database.api.jooq.tables.pojos.StyledLayer.class, configuration);
}
/**
* {@inheritDoc}
*/
@Override
protected org.jooq.Record2<java.lang.Integer, java.lang.Integer> getId(org.constellation.database.api.jooq.tables.pojos.StyledLayer object) {
return compositeKeyRecord(object.getStyle(), object.getLayer());
}
/**
* Fetch records that have <code>style IN (values)</code>
*/
public java.util.List<org.constellation.database.api.jooq.tables.pojos.StyledLayer> fetchByStyle(java.lang.Integer... values) {
return fetch(org.constellation.database.api.jooq.tables.StyledLayer.STYLED_LAYER.STYLE, values);
}
/**
* Fetch records that have <code>layer IN (values)</code>
*/
public java.util.List<org.constellation.database.api.jooq.tables.pojos.StyledLayer> fetchByLayer(java.lang.Integer... values) {
return fetch(org.constellation.database.api.jooq.tables.StyledLayer.STYLED_LAYER.LAYER, values);
}
/**
* Fetch records that have <code>is_default IN (values)</code>
*/
public java.util.List<org.constellation.database.api.jooq.tables.pojos.StyledLayer> fetchByIsDefault(java.lang.Boolean... values) {
return fetch(org.constellation.database.api.jooq.tables.StyledLayer.STYLED_LAYER.IS_DEFAULT, values);
}
}