254 | | //TODO |
255 | | return null; |
| 254 | Model model = propertyPartition.getModel(); |
| 255 | Property sbm_classRelation = model.getProperty(URICollection.PROPERTY_SB_CLASS_RELATION); |
| 256 | NodeIterator nit = model.listObjectsOfProperty(propertyPartition, sbm_classRelation); |
| 257 | ArrayList<Resource> classRelations = new ArrayList<Resource>(); |
| 258 | if( nit.hasNext()){ |
| 259 | Resource classRelation = nit.next().asResource(); |
| 260 | classRelations.add(classRelation); |
| 261 | } |
| 262 | return classRelations.toArray(new Resource[0]); |