All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hiskrtapps.apocalypse.dao.api.Entity Maven / Gradle / Ivy

/*
 * © 2020 Ceppi Productions.
 */
package io.github.hiskrtapps.apocalypse.dao.api;

/**
 * Interface for Entity Beans.
 */
public interface Entity {

  /**
   * @param columnName to get by
   * @param  type of the return value
   * @return value for the given column, null if column does not exists
   */
   T get(String columnName);

  /**
   * @param columnName to set by
   * @param columnValue to set
   */
  void set(String columnName, Object columnValue);

  /**
   * @param values sorted that compound primary key
   */
  void primaryKey(Object... values);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy