Class EntityMapping

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)
  • Method Details

    • getEntityClassName

      public @Nullable String getEntityClassName()
    • setEntityClassName

      public void setEntityClassName(String entityClassName)
    • 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