Examples of minCardinality()


Examples of com.hp.hpl.jena.eyeball.cardinality.PropertyCardinality.minCardinality()

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