Class OriginalNamingStrategy

java.lang.Object
com.querydsl.sql.codegen.AbstractNamingStrategy
com.querydsl.sql.codegen.OriginalNamingStrategy
All Implemented Interfaces:
NamingStrategy

public class OriginalNamingStrategy extends AbstractNamingStrategy
OriginalNamingStrategy preserves the table and column names in the conversion
Author:
tiwe
  • Constructor Details

    • OriginalNamingStrategy

      public OriginalNamingStrategy()
  • Method Details

    • getClassName

      public String getClassName(String tableName)
      Description copied from interface: NamingStrategy
      Convert the given tableName to a simple class name
      Returns:
    • getDefaultAlias

      public String getDefaultAlias(EntityType entityType)
      Description copied from interface: NamingStrategy
      Get the default alias for the given EntityType
      Returns:
    • getDefaultVariableName

      public String getDefaultVariableName(EntityType entityType)
      Description copied from interface: NamingStrategy
      Get the default variable name for the given EntityType
      Returns:
    • getPropertyName

      public String getPropertyName(String columnName, EntityType entityType)
      Description copied from interface: NamingStrategy
      Convert the given column name to a property name
      Returns:
    • getPropertyNameForForeignKey

      public String getPropertyNameForForeignKey(String foreignKeyName, EntityType entityType)
      Description copied from interface: NamingStrategy
      Convert the given foreign key name to a foreign key property name
      Returns:
    • getPropertyNameForInverseForeignKey

      public String getPropertyNameForInverseForeignKey(String foreignKeyName, EntityType entityType)
      Description copied from interface: NamingStrategy
      Convert the given foreign key name to a foreign key property name
      Returns:
    • getPropertyNameForPrimaryKey

      public String getPropertyNameForPrimaryKey(String primaryKeyName, EntityType model)
      Description copied from interface: NamingStrategy
      Convert the given primary key name to a primary key property name
      Returns: