Examples of qualifiedName()


Examples of org.netbeans.api.language.util.ast.AstDfn.qualifiedName()

                } else {
                    if (!hasMainClassFromTest) {
                        if (mainClasses.size() == 1) {
                            final AstDfn next = mainClasses.iterator().next();
                            //Just one main class, resolve from the symbol
                            clazz = next.qualifiedName();
                        } else {
                            //Several main classes, let the user choose
                            clazz = showMainClassWarning(file, mainClasses);
                            if (clazz == null) {
                                return null;
View Full Code Here

Examples of org.qi4j.api.property.PropertyDescriptor.qualifiedName()

            // New EntityState
            EntityState entityState = store.newEntityState( identity, this );

            // Set identity property
            PropertyDescriptor persistentPropertyDescriptor = state().getProperty( IDENTITY_METHOD );
            entityState.setProperty( persistentPropertyDescriptor.qualifiedName(), identity.identity() );

            return entityState;
        }
        catch( EntityAlreadyExistsException e )
        {
View Full Code Here

Examples of org.qi4j.api.value.ValueDescriptor.qualifiedName()

                    .newValueBuilderWithState( actualValueType.type(), new Function<PropertyDescriptor, Object>()
                    {
                        @Override
                        public Object map( PropertyDescriptor descriptor )
                        {
                            return values.get( descriptor.qualifiedName() );
                        }
                    },new Function<AssociationDescriptor, EntityReference>()
                    {
                        @Override
                        public EntityReference map( AssociationDescriptor associationDescriptor )
View Full Code Here

Examples of org.qi4j.runtime.association.AssociationModel.qualifiedName()

            association = new AssociationInstance<T>( entityState instanceof BuilderEntityState ? associationModel.getBuilderInfo() : associationModel, entityFunction, new Property<EntityReference>()
            {
                @Override
                public EntityReference get()
                {
                    return entityState.getAssociation( associationModel.qualifiedName() );
                }

                @Override
                public void set( EntityReference newValue ) throws IllegalArgumentException, IllegalStateException
                {
View Full Code Here

Examples of org.qi4j.runtime.association.AssociationModel.qualifiedName()

                }

                @Override
                public void set( EntityReference newValue ) throws IllegalArgumentException, IllegalStateException
                {
                    entityState.setAssociation( associationModel.qualifiedName(), newValue );
                }
            });
            state.put( accessor, association );
        }
View Full Code Here

Examples of org.qi4j.runtime.association.ManyAssociationModel.qualifiedName()

        {
            final ManyAssociationModel associationModel = stateModel.getManyAssociation( accessor );
            if (associationModel == null)
                throw new IllegalArgumentException("No such many-association:"+accessor);

            manyAssociation = new ManyAssociationInstance<T>( entityState instanceof BuilderEntityState ? associationModel.getBuilderInfo() : associationModel, entityFunction, entityState.getManyAssociation( associationModel.qualifiedName() ));
            state.put( accessor, manyAssociation );
        }

        return manyAssociation;
    }
View Full Code Here

Examples of org.qi4j.runtime.association.NamedAssociationModel.qualifiedName()

            namedAssociation = new NamedAssociationInstance<>(
                entityState instanceof BuilderEntityState
                ? associationModel.getBuilderInfo()
                : associationModel,
                entityFunction,
                entityState.namedAssociationValueOf( associationModel.qualifiedName() ) );
            state.put( accessor, namedAssociation );
        }

        return namedAssociation;
    }
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.