Hi,i want add restriction to a class's propperty.
I have the following:final OntClass cConfItem = ontModel.createClass(NS + 
"confi-item");
ObjectProperty opHeberge = ontModel.createObjectProperty(NS + "heberge");
cConfItem.addProperty(opHeberge, iTomcat);


i want to add "maxCardinality" restriction to opHeberge  property when i 
affects it to the cConfItem class.
Thank you

Reply via email to