Originally Opened: @amedranogil (2014-06-04 12:19:53)
Originally Closed: 2014-09-12 14:07:16
I seems the methods are copied from old implementations:
public static final RoomFunction valueOf(String name) {
for (int i = 0; i < names.length; i++)
if (names[i].equals(name))
return getLevelByOrder(i);
return null;
}
public static RoomFunction getLevelByOrder(int order) {
OntClassInfo info = OntologyManagement.getInstance().getOntClassInfo(
MY_URI);
return info == null ? null : (RoomFunction) info.getInstances()[order];
//^ it breaks here
}
info.getinstances() is an empty set!
Also "getLEVELByOrder" seems a bit suspicious.
--
From: this issue has been automatically imported from our old issue tracker
Originally Opened: @amedranogil (2014-06-04 12:19:53) Originally Closed: 2014-09-12 14:07:16
I seems the methods are copied from old implementations:
info.getinstances() is an empty set!
Also "getLEVELByOrder" seems a bit suspicious.
--
From: this issue has been automatically imported from our old issue tracker