}
}
private void scanForAnnotations(MetaAbstractClass<?> meta) {
NoSqlEntity noSqlEntity = meta.getMetaClass().getAnnotation(NoSqlEntity.class);
NoSqlEmbeddable embeddable = meta.getMetaClass().getAnnotation(NoSqlEmbeddable.class);
String cf = null;
String virtualCf = null;
if(noSqlEntity != null) {
cf = noSqlEntity.columnfamily();
if("".equals(cf))
cf = meta.getMetaClass().getSimpleName();
if(embeddable != null)
throw new IllegalArgumentException("You can't have NoSqlEntity AND be NoSqlEmbeddable. remove one of the annotations");
} else if(embeddable != null) {
String virtualCfName = embeddable.virtualCfName();
if("".equals(virtualCfName))
virtualCfName = meta.getMetaClass().getSimpleName();
meta.setup(null, virtualCfName, true, false);
return;
} else {