Open miovd opened 4 years ago
Regarding the API, getStringProperty()
, getDoubleProperty()
, getBooleanProperty()
and getIntProperty()
would replace getProperty()
in Identifiable
interface. Furthermore, getOptionalStringProperty()
, etc. could be implemented as well.
Regarding IIDM-XML serialization, a new required type
field would be added in property
element to specify which type a property is e.g.
<property name="isExample" type="boolean" value="true"/>
Do you want to request a feature or report a bug? Feature
What is the current behavior? Network's properties are always
String
.What is the expected behavior? Network's properties should be able to have different types (
boolean
,double
,string
...)Please tell us about your environment: