java.lang.Object
org.springframework.data.cassandra.core.mapping.EntityMapping

public class EntityMapping extends Object
Mapping information for an individual entity class.
Author:
Matthew T. Adams, John Blum
  • Constructor Details

    • EntityMapping

      public EntityMapping(String entityClassName, String tableName)
    • EntityMapping

      public EntityMapping(String entityClassName, String tableName, String forceQuote)
  • Method Details

    • getEntityClassName

      @Nullable public String getEntityClassName()
    • setEntityClassName

      public void setEntityClassName(String entityClassName)
    • getForceQuote

      @Deprecated public String getForceQuote()
      Deprecated.
      since 3.0. The type name gets converted into CqlIdentifier hence it no longer requires an indication whether the name should be quoted.
      Returns:
    • setForceQuote

      @Deprecated public void setForceQuote(String forceQuote)
      Deprecated.
    • getPropertyMappings

      public Map<String,PropertyMapping> getPropertyMappings()
    • setPropertyMappings

      public void setPropertyMappings(@Nullable Map<String,PropertyMapping> propertyMappings)
    • getTableName

      public String getTableName()
    • setTableName

      public void setTableName(String tableName)
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object