Examples of toNamespace()


Examples of org.qi4j.api.common.QualifiedName.toNamespace()

        else if( propertyFunction.traversedProperty() != null )
        {
            subject = addTriple( propertyFunction.traversedProperty(), false ).value;
        }
        QualifiedName qualifiedName = QualifiedName.fromAccessor( propertyFunction.accessor() );
        String prefix = addNamespace( qualifiedName.toNamespace() );
        return addTriple( subject, prefix + ":" + qualifiedName.name(), optional );
    }

    public Triple addTripleAssociation( AssociationFunction<?> associationReference, boolean optional )
    {
View Full Code Here

Examples of org.qi4j.api.common.QualifiedName.toNamespace()

        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 );
    }

    public Triple addTripleManyAssociation( final ManyAssociationFunction<?> manyAssociationReference,
                                            final boolean optional
View Full Code Here

Examples of org.qi4j.api.common.QualifiedName.toNamespace()

        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
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.