protected static Object matchJavaValue(Object value) { if (value == null) { return value; } Object returnObject = value; if (value.getClass().equals(ULong.class)) { returnObject = ((ULong) value).longValue(); } return returnObject; }
/** * {@inheritDoc} */ @Override public GenomeStatisticsRecord values(UInteger value1, String value2, ULong value3, UInteger value4, UInteger value5, Timestamp value6) { value1(value1); value2(value2); value3(value3); value4(value4); value5(value5); value6(value6); return this; }
/** * Create a detached, initialised GenomeStatisticsRecord */ public GenomeStatisticsRecord(UInteger genomeStatisticsId, String statistic, ULong value, UInteger speciesId, UInteger attribTypeId, Timestamp timestamp) { super(GenomeStatistics.GENOME_STATISTICS); set(0, genomeStatisticsId); set(1, statistic); set(2, value); set(3, speciesId); set(4, attribTypeId); set(5, timestamp); }
/** * {@inheritDoc} */ @Override public EmailNotificationsConfigurationRecord values(ULong value1, String value2, String value3, String value4, Timestamp value5) { value1(value1); value2(value2); value3(value3); value4(value4); value5(value5); return this; }
/** * Create a detached, initialised EmailNotificationsConfigurationRecord */ public EmailNotificationsConfigurationRecord(ULong recordId, String kbAccountId, String kbTenantId, String eventType, Timestamp createdAt) { super(EmailNotificationsConfiguration.EMAIL_NOTIFICATIONS_CONFIGURATION); set(0, recordId); set(1, kbAccountId); set(2, kbTenantId); set(3, eventType); set(4, createdAt); }
public EmailNotificationsConfiguration( ULong recordId, String kbAccountId, String kbTenantId, String eventType, Timestamp createdAt ) { this.recordId = recordId; this.kbAccountId = kbAccountId; this.kbTenantId = kbTenantId; this.eventType = eventType; this.createdAt = createdAt; }
/** * Setter for <code>homo_sapiens_core_89_37.genome_statistics.value</code>. */ public void setValue(ULong value) { set(2, value); }
/** * Getter for <code>homo_sapiens_core_89_37.genome_statistics.value</code>. */ public ULong getValue() { return (ULong) get(2); }
/** * {@inheritDoc} */ @Override public Row6<UInteger, String, ULong, UInteger, UInteger, Timestamp> fieldsRow() { return (Row6) super.fieldsRow(); }
/** * {@inheritDoc} */ @Override public Row6<UInteger, String, ULong, UInteger, UInteger, Timestamp> valuesRow() { return (Row6) super.valuesRow(); }
/** * {@inheritDoc} */ @Override public Field<ULong> field3() { return GenomeStatistics.GENOME_STATISTICS.VALUE; }
/** * {@inheritDoc} */ @Override public ULong value3() { return getValue(); }
/** * {@inheritDoc} */ @Override public GenomeStatisticsRecord value3(ULong value) { setValue(value); return this; }
/** * {@inheritDoc} */ @Override protected ULong getId(EmailNotificationsConfiguration object) { return object.getRecordId(); }
/** * Fetch records that have <code>record_id IN (values)</code> */ public List<EmailNotificationsConfiguration> fetchByRecordId(ULong... values) { return fetch(org.killbill.billing.plugin.notification.dao.gen.tables.EmailNotificationsConfiguration.EMAIL_NOTIFICATIONS_CONFIGURATION.RECORD_ID, values); }
/** * Fetch a unique record that has <code>record_id = value</code> */ public EmailNotificationsConfiguration fetchOneByRecordId(ULong value) { return fetchOne(org.killbill.billing.plugin.notification.dao.gen.tables.EmailNotificationsConfiguration.EMAIL_NOTIFICATIONS_CONFIGURATION.RECORD_ID, value); }
/** * {@inheritDoc} */ @Override public Identity<EmailNotificationsConfigurationRecord, ULong> getIdentity() { return Keys.IDENTITY_EMAIL_NOTIFICATIONS_CONFIGURATION; }
/** * Setter for <code>killbill.email_notifications_configuration.record_id</code>. */ public void setRecordId(ULong value) { set(0, value); }
/** * Getter for <code>killbill.email_notifications_configuration.record_id</code>. */ public ULong getRecordId() { return (ULong) get(0); }
/** * {@inheritDoc} */ @Override public Record1<ULong> key() { return (Record1) super.key(); }
/** * {@inheritDoc} */ @Override public Row5<ULong, String, String, String, Timestamp> fieldsRow() { return (Row5) super.fieldsRow(); }
/** * {@inheritDoc} */ @Override public Row5<ULong, String, String, String, Timestamp> valuesRow() { return (Row5) super.valuesRow(); }
/** * {@inheritDoc} */ @Override public Field<ULong> field1() { return EmailNotificationsConfiguration.EMAIL_NOTIFICATIONS_CONFIGURATION.RECORD_ID; }
/** * {@inheritDoc} */ @Override public ULong component1() { return getRecordId(); }
/** * {@inheritDoc} */ @Override public ULong value1() { return getRecordId(); }
/** * {@inheritDoc} */ @Override public EmailNotificationsConfigurationRecord value1(ULong value) { setRecordId(value); return this; }
public ULong getRecordId() { return this.recordId; }
public void setRecordId(ULong recordId) { this.recordId = recordId; }