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

io.github.hiskrtapps.apocalypse.dao.api.criteria.CriteriaImpl Maven / Gradle / Ivy

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

/**
 * abstract base class for any {@link Criteria}.
 * it implements the basic methods for name attribute manipulation
 *
 */
public abstract class CriteriaImpl implements Criteria {

  /**
   * name of the criteria
   */
  private final String name;

  /**
   * @param name of the criteria
   */
  protected CriteriaImpl(final String name) {
    this.name = name;
  }

  @Override
  public String name() {
    return name;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy