code: private void onFamilyType(EntityMetadata entityMetadata, final Class clazz, Field f)
      {
          if (entityMetadata.getType() == null || !entityMetadata.getType().equals(Type.SUPER_COLUMN_FAMILY))
          {
              if ((f.isAnnotationPresent(Embedded.class) && f.getType().getAnnotation(Embeddable.class) != null))
              {
                  entityMetadata.setType(Type.SUPER_COLUMN_FAMILY);
              }
              else if (f.isAnnotationPresent(ElementCollection.class) && !MetadataUtils.isBasicElementCollectionField(f))
              {
                  entityMetadata.setType(Type.SUPER_COLUMN_FAMILY);
              }
              else
              {
                  entityMetadata.setType(Type.COLUMN_FAMILY);
              }
          }
      }
docs: On family type.
  
  @param entityMetadata
  the entity metadata
  @param clazz
  the clazz
  @param f
  the f