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

enterprises.orbital.base.PersistentPropertyKey Maven / Gradle / Ivy

The newest version!
package enterprises.orbital.base;

/**
 * Map an instance of an arbitrary class to a property name which should be used for that class.
 *
 * @param 
 *          a class which should behave like a key when used with PersistentProperty.
 */
public interface PersistentPropertyKey {
  /**
   * Return the key which should be used for this object.
   * 
   * @param field
   *          the object to be mapped to a key.
   * @return string key value.
   */
  public String getPeristentPropertyKey(A field);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy