-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add builders from existing objects #3130
base: main
Are you sure you want to change the base?
Conversation
2a7fd64
to
cd5ce9d
Compare
9645e84
to
4bfb458
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole mechanism is ok, but the interfaces introduced to think it as a generic solution makes it obscure or too complex I think (and besides it's not completely covering the usecase I think).
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/LineAdderImpl.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/AdderUser.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/CurrentLimitsNestedAdder.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/AdderUser.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/NestedAdder.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/CurrentLimitsPayload.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/Network.java
Outdated
Show resolved
Hide resolved
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/CurrentLimitsNestedAdderImpl.java
Outdated
Show resolved
Hide resolved
iidm/iidm-api/src/main/java/com/powsybl/iidm/network/LineAdder.java
Outdated
Show resolved
Hide resolved
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/TemporaryLimitNestedAdderImpl.java
Outdated
Show resolved
Hide resolved
b431abd
to
56b0abe
Compare
Signed-off-by: CHIQUET Benoit <benoit.chiquet@rte-france.com>
6a8e1fb
to
c57b1cf
Compare
Signed-off-by: CHIQUET Benoit <benoit.chiquet@rte-france.com>
Signed-off-by: CHIQUET Benoit <benoit.chiquet@rte-france.com>
Signed-off-by: CHIQUET Benoit <benoit.chiquet@rte-france.com>
c57b1cf
to
4ebfc62
Compare
…ity curve as template Signed-off-by: CHIQUET Benoit <benoit.chiquet@rte-france.com>
53da2eb
to
c903d96
Compare
Signed-off-by: CHIQUET Benoit <benoit.chiquet@rte-france.com>
c903d96
to
347db8e
Compare
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
What kind of change does this PR introduce?
This PR introduces adder initialized by copying an existing component.
What is the current behavior?
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
the
NetworkImpl::newLine
method now has two parametric implementations with one parameter.Users that used
network.newLine(null)
need to cast nullnetwork.newLine((String) null)
in order to pass compilationOther information:
This PR is inspired from previous work there.