Package org.qi4j.api.value

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


            new Function<AssociationDescriptor, EntityReference>()
            {
                @Override
                public EntityReference map( AssociationDescriptor descriptor )
                {
                    Object value = values.get( descriptor.qualifiedName() );
                    if( value == null )
                    {
                        return null;
                    }
                    return EntityReference.parseEntityReference( value.toString() );
View Full Code Here

            new Function<AssociationDescriptor, Iterable<EntityReference>>()
            {
                @Override
                public Iterable<EntityReference> map( AssociationDescriptor descriptor )
                {
                    Object value = values.get( descriptor.qualifiedName() );
                    if( value == null )
                    {
                        return Iterables.empty();
                    }
                    String[] ids = value.toString().split( "," );
View Full Code Here

            new Function<AssociationDescriptor, Map<String, EntityReference>>()
            {
                @Override
                public Map<String, EntityReference> map( AssociationDescriptor descriptor )
                {
                    Object value = values.get( descriptor.qualifiedName() );
                    if( value == null )
                    {
                        return Collections.emptyMap();
                    }
                    String[] namedRefs = value.toString().split( "," );
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.