Package com.hp.hpl.jena.eyeball.cardinality

Examples of com.hp.hpl.jena.eyeball.cardinality.PropertyCardinality


    @DataPoint public static int Adams = 42;
   
    @Theory public void testPropertyCardinality( String name, int min, int max )
        {
        Resource res = resource( name );
        PropertyCardinality pc = new PropertyCardinality( res, min, max );
        assertEquals( min, pc.minCardinality() );
        assertEquals( max, pc.maxCardinality() );
        assertEquals( res, pc.property() );
        }
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.eyeball.cardinality.PropertyCardinality

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.