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

com.deliveredtechnologies.rulebook.NameValueReferable Maven / Gradle / Ivy

There is a newer version: 0.12
Show newest version
package com.deliveredtechnologies.rulebook;

/**
 * A name value pair where the value refers to an object.
 * The object reference in the value allows a reference to this object to remain
 * consistent, while the referred object in the value can change.
 */
public interface NameValueReferable {

  /**
   * Gets the name.
   * @return  the name
   */
  String getName();

  /**
   * Sets the name.
   * @param name  the name
   */
  void setName(String name);

  /**
   * Gets the value.
   * @return  the value object reference
   */
  T getValue();

  /**
   * Sets the vaue.
   * @param obj the value object [reference]
   */
  void setValue(T obj);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy