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

io.ebean.enhance.querybean.Constants Maven / Gradle / Ivy

package io.ebean.enhance.querybean;

/**
 * Set of most interesting constants used by the entity.
 */
public interface Constants {

  /**
   * Entity beans can be ignored for this enhancement.
   */
  String C_ENTITYBEAN = "io/ebean/bean/EntityBean";

  String ENTITY_ANNOTATION = "Ljavax/persistence/Entity;";

  String EMBEDDABLE_ANNOTATION = "Ljavax/persistence/Embeddable;";

  String MAPPEDSUPERCLASS_ANNOTATION = "Ljavax/persistence/MappedSuperclass;";

  /**
   * Annotation used to mark beans that are already enhanced.
   */
  String ANNOTATION_ALREADY_ENHANCED_MARKER = "Lio/ebean/typequery/AlreadyEnhancedMarker;";

  /**
   * The TypeQueryBean annotation.
   */
  String ANNOTATION_TYPE_QUERY_BEAN = "Lio/ebean/typequery/TypeQueryBean;";

  String TQ_ASSOC_BEAN = "io/ebean/typequery/TQAssocBean";

  /**
   * The TQRootBean object class name.
   */
  String TQ_ROOT_BEAN = "io/ebean/typequery/TQRootBean";

  /**
   * The TQPath object class name.
   */
  String TQ_PATH = "io/ebean/typequery/TQPath";

  String ASSOC_BEAN_BASIC_CONSTRUCTOR_DESC = "(Ljava/lang/String;Ljava/lang/Object;I)V";

  String ASSOC_BEAN_MAIN_CONSTRUCTOR_DESC =  "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;I)V";

  String ASSOC_BEAN_BASIC_SIG = "(Ljava/lang/String;TR;I)V";

  String ASSOC_BEAN_MAIN_SIG = "(Ljava/lang/String;TR;Ljava/lang/String;I)V";

  /**
   * The name field inherited that effectively holds the path for other properties to create from.
   */
  String FIELD_PATH = "_name";

  /**
   * The root object field inherited.
   */
  String FIELD_ROOT = "_root";

  /**
   * EbeanServer as constructor argument.
   */
  String WITH_EBEANSERVER_ARGUMENT = "(Lio/ebean/EbeanServer;)V";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy