Package org.jboss.jandex

Examples of org.jboss.jandex.AnnotationValue.asBoolean()


      this.nullable = false;
    }
    else {
      AnnotationValue nullableValue = columnAnnotation.value( "nullable" );
      if ( nullableValue != null ) {
        this.nullable = nullableValue.asBoolean();
      }
    }

    AnnotationValue insertableValue = columnAnnotation.value( "insertable" );
    if ( insertableValue != null ) {
View Full Code Here


      }
    }

    AnnotationValue insertableValue = columnAnnotation.value( "insertable" );
    if ( insertableValue != null ) {
      this.insertable = insertableValue.asBoolean();
    }

    AnnotationValue updatableValue = columnAnnotation.value( "updatable" );
    if ( updatableValue != null ) {
      this.updatable = updatableValue.asBoolean();
View Full Code Here

      this.insertable = insertableValue.asBoolean();
    }

    AnnotationValue updatableValue = columnAnnotation.value( "updatable" );
    if ( updatableValue != null ) {
      this.updatable = updatableValue.asBoolean();
    }

    AnnotationValue columnDefinition = columnAnnotation.value( "columnDefinition" );
    if ( columnDefinition != null ) {
      this.columnDefinition = columnDefinition.asString();
View Full Code Here

        }

        private boolean booleanValue(final AnnotationInstance annotation, final String attribute) {
            if (annotation == null) return false;
            final AnnotationValue value = annotation.value(attribute);
            return value != null ? value.asBoolean() : false;
        }
    }

}
View Full Code Here

        return value == null ? null : value.asString();
    }

    private boolean asBool(final AnnotationInstance annotation, String property) {
        AnnotationValue value = annotation.value(property);
        return value == null ? false : value.asBoolean();
    }

    private String[] asArray(final AnnotationInstance annotation, String property) {
        AnnotationValue value = annotation.value(property);
        return value == null ? null : value.asStringArray();
View Full Code Here

    String proxyInterfaceClass = null;

    if ( proxyAnnotation != null ) {
      AnnotationValue lazyValue = proxyAnnotation.value( "lazy" );
      if ( lazyValue != null ) {
        lazy = lazyValue.asBoolean();
      }

      AnnotationValue proxyClassValue = proxyAnnotation.value( "proxyClass" );
      if ( proxyClassValue != null ) {
        proxyInterfaceClass = proxyClassValue.asString();
View Full Code Here

    String sql = customSQLAnnotation.value( "sql" ).asString();
    boolean isCallable = false;
    AnnotationValue callableValue = customSQLAnnotation.value( "callable" );
    if ( callableValue != null ) {
      isCallable = callableValue.asBoolean();
    }

    ResultCheckStyle checkStyle = ResultCheckStyle.NONE;
    AnnotationValue checkStyleValue = customSQLAnnotation.value( "check" );
    if ( checkStyleValue != null ) {
View Full Code Here

      this.unique = nameValue.asBoolean();
    }

    AnnotationValue nullableValue = columnAnnotation.value( "nullable" );
    if ( nullableValue != null ) {
      this.nullable = nullableValue.asBoolean();
    }

    AnnotationValue insertableValue = columnAnnotation.value( "insertable" );
    if ( insertableValue != null ) {
      this.insertable = insertableValue.asBoolean();
View Full Code Here

      this.nullable = nullableValue.asBoolean();
    }

    AnnotationValue insertableValue = columnAnnotation.value( "insertable" );
    if ( insertableValue != null ) {
      this.insertable = insertableValue.asBoolean();
    }

    AnnotationValue updatableValue = columnAnnotation.value( "updatable" );
    if ( updatableValue != null ) {
      this.updatable = updatableValue.asBoolean();
View Full Code Here

      this.insertable = insertableValue.asBoolean();
    }

    AnnotationValue updatableValue = columnAnnotation.value( "updatable" );
    if ( updatableValue != null ) {
      this.updatable = updatableValue.asBoolean();
    }

    AnnotationValue columnDefinition = columnAnnotation.value( "columnDefinition" );
    if ( columnDefinition != null ) {
      this.columnDefinition = columnDefinition.asString();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.