code: private int getTTLForColumn(Object columnTTLs, Attribute attribute)
      {
          Integer ttl = null;
          if (columnTTLs != null)
          {
              if (columnTTLs instanceof Map)
              {
                  ttl = (Integer) (columnTTLs == null ? 0 : ((Map) columnTTLs).get(((AbstractAttribute) attribute)
                          .getJPAColumnName()));
              }
              else if (columnTTLs instanceof Integer)
              {
                  ttl = (Integer) columnTTLs;
              }
          }
          return ttl == null ? 0 : ttl;
      }
docs: Determined TTL for a given column.
  
  @param columnTTLs
  the column tt ls
  @param attribute
  the attribute
  @return the TTL for column