Package com.alvazan.orm.api.base.anno

Examples of com.alvazan.orm.api.base.anno.NoSqlEmbeddable


    }
  }
 
  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);
      return;
    } else {
View Full Code Here


    }
  }
 
  private void scanForAnnotations(MetaAbstractClass<?> meta) {
    NoSqlEntity noSqlEntity = meta.getMetaClass().getAnnotation(NoSqlEntity.class);
    NoSqlEmbeddable embeddable = meta.getMetaClass().getAnnotation(NoSqlEmbeddable.class);
    String cf;
    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);
      return;
    } else {
View Full Code Here

    }
  }
 
  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 {
View Full Code Here

    }
  }
 
  private void scanForAnnotations(MetaAbstractClass<?> meta) {
    NoSqlEntity noSqlEntity = meta.getMetaClass().getAnnotation(NoSqlEntity.class);
    NoSqlEmbeddable embeddable = meta.getMetaClass().getAnnotation(NoSqlEmbeddable.class);
    String cf;
    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);
      return;
    } else {
View Full Code Here

    }
  }
 
  private void scanForAnnotations(MetaAbstractClass<?> meta) {
    NoSqlEntity noSqlEntity = meta.getMetaClass().getAnnotation(NoSqlEntity.class);
    NoSqlEmbeddable embeddable = meta.getMetaClass().getAnnotation(NoSqlEmbeddable.class);
    String cf;
    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);
      return;
    } else {
View Full Code Here

    }
  }
 
  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);
      return;
    } else {
View Full Code Here

TOP

Related Classes of com.alvazan.orm.api.base.anno.NoSqlEmbeddable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.