Package org.springframework.roo.classpath.scanner

Examples of org.springframework.roo.classpath.scanner.MemberDetails


                final FieldMetadata field = BeanInfoUtils
                        .getFieldForJavaBeanMethod(memberDetails, method);
                if (field != null
                        && MemberFindingUtils.getAnnotationOfType(
                                field.getAnnotations(), NOT_NULL) != null) {
                    final MemberDetails typeMemberDetails = getMemberDetails(type);
                    if (getJavaTypePersistenceMetadataDetails(type,
                            typeMemberDetails, metadataIdentificationString) != null) {
                        dependentTypes
                                .add(getJavaTypeMetadataDetails(type,
                                        typeMemberDetails,
View Full Code Here


                        metadataIdentificationString));

        for (final JavaType fieldType : baseTypeDetails
                .getPersistentFieldTypes(baseType, persistenceMemberLocator)) {
            if (isApplicationType(fieldType)) {
                final MemberDetails fieldTypeDetails = getMemberDetails(fieldType);
                specialTypes.put(
                        fieldType,
                        getJavaTypeMetadataDetails(fieldType, fieldTypeDetails,
                                metadataIdentificationString));
            }
View Full Code Here

                    + typeName.getFullyQualifiedTypeName() + "'");
            return;
        }

        // Confirm they typed a valid finder name
        final MemberDetails memberDetails = memberDetailsScanner
                .getMemberDetails(getClass().getName(), cid);
        if (dynamicFinderServices.getQueryHolder(memberDetails, finderName,
                jpaActiveRecordMetadata.getPlural(),
                jpaActiveRecordMetadata.getEntityName()) == null) {
            LOGGER.warning("Finder name '" + finderName.getSymbolName()
View Full Code Here

        if (cid == null) {
            throw new IllegalStateException(
                    "Could not determine class or interface type details for type "
                            + javaType);
        }
        final MemberDetails memberDetails = memberDetailsScanner
                .getMemberDetails(getClass().getName(), cid);
        final List<FieldMetadata> idFields = persistenceMemberLocator
                .getIdentifierFields(javaType);
        final FieldMetadata versionField = persistenceMemberLocator
                .getVersionField(javaType);
View Full Code Here

    }

    public List<MethodMetadata> getProxyMethods(
            final ClassOrInterfaceTypeDetails governorTypeDetails) {
        final List<MethodMetadata> proxyMethods = new ArrayList<MethodMetadata>();
        final MemberDetails memberDetails = memberDetailsScanner
                .getMemberDetails(GwtTypeServiceImpl.class.getName(),
                        governorTypeDetails);
        for (final MemberHoldingTypeDetails memberHoldingTypeDetails : memberDetails
                .getDetails()) {
            for (final MethodMetadata method : memberDetails.getMethods()) {
                if (!proxyMethods.contains(method)
                        && isPublicAccessor(method)
                        && isValidMethodReturnType(method,
                                memberHoldingTypeDetails)) {
                    if (method
View Full Code Here

                .getEntityManagerMethod();
        if (entityManagerMethod == null) {
            return null;
        }

        final MemberDetails memberDetails = getMemberDetails(governorPhysicalTypeMetadata);
        if (memberDetails == null) {
            return null;
        }

        final String plural = jpaActiveRecordMetadata.getPlural();
View Full Code Here

        if (!annotationValues.isAnnotationFound() || identifierType == null) {
            return null;
        }

        // Get the governor's member details
        final MemberDetails memberDetails = getMemberDetails(governorPhysicalType);
        if (memberDetails == null) {
            return null;
        }

        final MongoEntityMetadata parent = getParentMetadata(governorPhysicalType
View Full Code Here

TOP

Related Classes of org.springframework.roo.classpath.scanner.MemberDetails

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.