public class

ExtendedDAOMethodNameCalculator

extends Object
implements DAOMethodNameCalculator
java.lang.Object
   ↳ org.mybatis.generator.internal.ExtendedDAOMethodNameCalculator

Summary

Public Constructors
ExtendedDAOMethodNameCalculator()
Public Methods
String getCountByExampleMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the count by example method.
String getDeleteByExampleMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the delete by example method.
String getDeleteByPrimaryKeyMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the delete by primary key method.
String getInsertMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the insert method.
String getInsertSelectiveMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the insert selective method.
String getSelectByExampleWithBLOBsMethodName(IntrospectedTable introspectedTable)
1.
String getSelectByExampleWithoutBLOBsMethodName(IntrospectedTable introspectedTable)
1.
String getSelectByPrimaryKeyMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the select by primary key method.
String getUpdateByExampleSelectiveMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by example selective method.
String getUpdateByExampleWithBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by example with BLOBs method.
String getUpdateByExampleWithoutBLOBsMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by example without BLOBs method.
String getUpdateByPrimaryKeySelectiveMethodName(IntrospectedTable introspectedTable)
Calculates and returns a name for the update by primary key selective method.
String getUpdateByPrimaryKeyWithBLOBsMethodName(IntrospectedTable introspectedTable)
1.
String getUpdateByPrimaryKeyWithoutBLOBsMethodName(IntrospectedTable introspectedTable)
1.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mybatis.generator.api.DAOMethodNameCalculator

Public Constructors

public ExtendedDAOMethodNameCalculator ()

Public Methods

public String getCountByExampleMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getDeleteByExampleMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getDeleteByPrimaryKeyMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getInsertMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the insert method.

Returns
  • the calculated name

public String getInsertSelectiveMethodName (IntrospectedTable introspectedTable)

Calculates and returns a name for the insert selective method.

Returns
  • the calculated name

public String getSelectByExampleWithBLOBsMethodName (IntrospectedTable introspectedTable)

1. if this will be the only selectByExample, then the result should be selectByExample. 2. Else the method name should be selectByExampleWithBLOBs

Returns
  • the calculated name

public String getSelectByExampleWithoutBLOBsMethodName (IntrospectedTable introspectedTable)

1. if this will be the only selectByExample, then the result should be selectByExample. 2. Else the method name should be selectByExampleWithoutBLOBs

Returns
  • the calculated name

public String getSelectByPrimaryKeyMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getUpdateByExampleSelectiveMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getUpdateByExampleWithBLOBsMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getUpdateByExampleWithoutBLOBsMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getUpdateByPrimaryKeySelectiveMethodName (IntrospectedTable introspectedTable)

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

Returns
  • the calculated name

public String getUpdateByPrimaryKeyWithBLOBsMethodName (IntrospectedTable introspectedTable)

1. if this will be the only updateByPrimaryKey, then the result should be updateByPrimaryKey. 2. If the other method is enabled, but there are seperate base and blob classes, then the method name should be updateByPrimaryKey 3. Else the method name should be updateByPrimaryKeyWithBLOBs

Returns
  • the calculated name

public String getUpdateByPrimaryKeyWithoutBLOBsMethodName (IntrospectedTable introspectedTable)

1. if this will be the only updateByPrimaryKey, then the result should be updateByPrimaryKey. 2. If the other method is enabled, but there are seperate base and blob classes, then the method name should be updateByPrimaryKey 3. Else the method name should be updateByPrimaryKeyWithoutBLOBs

Returns
  • the calculated name