Package org.hibernate.metamodel.source.annotations.attribute

Examples of org.hibernate.metamodel.source.annotations.attribute.AttributeType


    final Class<?> type = (Class<?>) findResolvedType( member.getName(), resolvedMembers );
    final Map<DotName, List<AnnotationInstance>> annotations = JandexHelper.getMemberAnnotations(
        classInfo, member.getName()
    );

    AttributeType attributeType = determineAttributeType( annotations );
    switch ( attributeType ) {
      case BASIC: {
        SimpleAttribute attribute = SimpleAttribute.createSimpleAttribute(
            attributeName,
            type.getName(),
View Full Code Here


    final Class<?> type = (Class<?>) findResolvedType( member.getName(), resolvedMembers );
    final Map<DotName, List<AnnotationInstance>> annotations = JandexHelper.getMemberAnnotations(
        classInfo, member.getName()
    );

    AttributeType attributeType = determineAttributeType( annotations );
    switch ( attributeType ) {
      case BASIC: {
        SimpleAttribute attribute = SimpleAttribute.createSimpleAttribute( attributeName, type, annotations );
        if ( attribute.isId() ) {
          idAttributeMap.put( attributeName, attribute );
View Full Code Here

    Class<?> attributeType = (Class<?>) findResolvedType( member.getName(), resolvedMembers );
    final Map<DotName, List<AnnotationInstance>> annotations = JandexHelper.getMemberAnnotations(
        classInfo, member.getName()
    );

    AttributeType attributeNature = determineAttributeType( annotations );
    String accessTypeString = accessType.toString().toLowerCase();
    switch ( attributeNature ) {
      case BASIC: {
        BasicAttribute attribute = BasicAttribute.createSimpleAttribute(
            attributeName, attributeType, annotations, accessTypeString, getLocalBindingContext()
View Full Code Here

TOP

Related Classes of org.hibernate.metamodel.source.annotations.attribute.AttributeType

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.