Skip to content
Snippets Groups Projects
Commit 2b57c226 authored by helene ortiz's avatar helene ortiz
Browse files

Add getNewProperty method for specific case of simulation state

property.
parent 5a0df760
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ Future release
--------------
* Check nssim3d application for 3d viewer
* Changes following move of conf directory (and children) to src/main/resources
* Add getNewProperty method for specific case of simulation state property.
4.3.8 10/07/2024
-----
......
......@@ -411,6 +411,12 @@ public class PropertyManager {
}
return property;
}
public Property getNewProperty(Servant servant, String propertyName) {
int id = PropertyDatabase.getInstance().getPropertyIdForServant(servant.getId(), propertyName);
return PropertyFactory.getInstance().createProperty(servant.getDatabaseId(), id, "unknown", false);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment