Package org.qi4j.api.common

Examples of org.qi4j.api.common.QualifiedName


        String subject = "?entity";
        if( associationReference.traversedAssociation() != null )
        {
            subject = addTripleAssociation( associationReference.traversedAssociation(), false ).value;
        }
        QualifiedName qualifiedName = QualifiedName.fromAccessor( associationReference.accessor() );
        String prefix = addNamespace( qualifiedName.toNamespace() );
        return addTriple( subject, prefix + ":" + qualifiedName.name(), optional );
    }
View Full Code Here


        String subject = "?entity";
        if( traversedAssociation != null )
        {
            subject = addTripleAssociation( traversedAssociation, false ).value;
        }
        QualifiedName qualifiedName = QualifiedName.fromAccessor( manyAssociationReference.accessor() );
        String predicatePrefix = addNamespace( qualifiedName.toNamespace() );
        String predicate = predicatePrefix + ":" + qualifiedName.name();
        Triple collectionTriple = addTriple( subject, predicate, optional );

        String liSubject = collectionTriple.value;
        return addTriple( liSubject, "rdf:li", false );
    }
View Full Code Here

        HashMap<QualifiedName, ValueType> result = new HashMap<QualifiedName, ValueType>();
        for( PropertyDescriptor persistent : descriptor.state().properties() )
        {
            if( persistent.valueType() instanceof ValueCompositeType )
            {
                QualifiedName name = persistent.qualifiedName();
                result.put( name, persistent.valueType() );
            }
        }
        return result;
    }
View Full Code Here

        final Map<QualifiedName, Object> values = new HashMap<>();
        while( reader.hasMoreElementReaders() )
        {
            MessageReader childReader = reader.getNextElementReader();
            QName childName = childReader.getName();
            QualifiedName childQualifiedName = QualifiedName.fromClass( (Class) typeClass,
                                                                        childName.getLocalPart() );
            PropertyDescriptor propertyDescriptor = stateDescriptor.findPropertyModelByQualifiedName(
                childQualifiedName );
            Type propertyType = propertyDescriptor.type();
            AegisType type = getTypeMapping().getType( propertyType );
View Full Code Here

TOP

Related Classes of org.qi4j.api.common.QualifiedName

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.