public interface

DAOMethodNameCalculator

org.mybatis.generator.api.DAOMethodNameCalculator
Known Indirect Subclasses

Class Overview

This interface is used to supply names for DAO methods. Users can provide different implementations if the supplied implementations aren't sufficient.

Summary

Public Methods
abstract String getCountByExampleMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the count by example method.
abstract String getDeleteByExampleMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the delete by example method.
abstract String getDeleteByPrimaryKeyMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the delete by primary key method.
abstract String getInsertMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the insert method.
abstract String getInsertSelectiveMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the insert selective method.
abstract String getSelectByExampleWithBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the select by example with BLOBs method.
abstract String getSelectByExampleWithoutBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the select by example method.
abstract String getSelectByPrimaryKeyMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the select by primary key method.
abstract String getUpdateByExampleSelectiveMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by example selective method.
abstract String getUpdateByExampleWithBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by example with BLOBs method.
abstract String getUpdateByExampleWithoutBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by example without BLOBs method.
abstract String getUpdateByPrimaryKeySelectiveMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by primary key selective method.
abstract String getUpdateByPrimaryKeyWithBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by primary key with BLOBs method.
abstract String getUpdateByPrimaryKeyWithoutBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by primary key without BLOBs method.

Public Methods

public abstract String getCountByExampleMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the count by example method.

Returns
  • the calculated name

public abstract String getDeleteByExampleMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the delete by example method.

Returns
  • the calculated name

public abstract String getDeleteByPrimaryKeyMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the delete by primary key method.

Returns
  • the calculated name

public abstract String getInsertMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the insert method.

Returns
  • the calculated name

public abstract String getInsertSelectiveMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the insert selective method.

Returns
  • the calculated name

public abstract String getSelectByExampleWithBLOBsMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the select by example with BLOBs method. If the table contains BLOBs, then we will generate different select by example methods - one including BLOBs, one not including BLOBs.

Returns
  • the calculated name

public abstract String getSelectByExampleWithoutBLOBsMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the select by example method.

Returns
  • the calculated name

public abstract String getSelectByPrimaryKeyMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the select by primary key method.

Returns
  • the calculated name

public abstract String getUpdateByExampleSelectiveMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the update by example selective method.

Returns
  • the calculated name

public abstract String getUpdateByExampleWithBLOBsMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the update by example with BLOBs method.

Returns
  • the calculated name

public abstract String getUpdateByExampleWithoutBLOBsMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the update by example without BLOBs method.

Returns
  • the calculated name

public abstract String getUpdateByPrimaryKeySelectiveMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the update by primary key selective method.

Returns
  • the calculated name

public abstract String getUpdateByPrimaryKeyWithBLOBsMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the update by primary key with BLOBs method.

Returns
  • the calculated name

public abstract String getUpdateByPrimaryKeyWithoutBLOBsMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the update by primary key without BLOBs method.

Returns
  • the calculated name