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

io.ebean.enhance.transactional.TransactionalMethodKey Maven / Gradle / Ivy

There is a newer version: 15.10.0
Show newest version
package io.ebean.enhance.transactional;

/**
 * Holds profileId and details for a given @Transactional method.
 */
public class TransactionalMethodKey {

  private final String className;
  private final String methodName;
  private final String methodDesc;
  private int profileId;
  private int lineNumber;

  public TransactionalMethodKey(String className, String methodName, String methodDesc) {
    this.className = className;
    this.methodName = methodName;
    this.methodDesc = methodDesc;
  }

  public String toString() {
    return "profileId:"+profileId+" method:"+className+"."+methodName+methodDesc+":"+lineNumber;
  }

  public int getProfileId() {
    return profileId;
  }

  public void setProfileId(int profileId) {
    this.profileId = profileId;
  }

  public void setLineNumber(int lineNumber) {
    this.lineNumber = lineNumber;
  }

  public String getMethodName() {
    return methodName;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy