Skip to content

Commit 20d3162

Browse files
committed
Improving javadoc.
1 parent 5675843 commit 20d3162

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

src/main/java/edu/ie3/simona/api/data/container/ExtInputContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void addPrimaryValue(UUID asset, Value value) {
8686
* Method for adding flex option requests.
8787
*
8888
* @param receiver the uuid of the agent, that will receive the request
89-
* @param sender uuid of the sender
89+
* @param sender option for the uuid of the sender
9090
*/
9191
public void addRequest(UUID receiver, UUID sender) {
9292
flexRequests.put(receiver, new FlexOptionRequest(receiver, sender));

src/main/java/edu/ie3/simona/api/data/container/ExtOutputContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ public final class ExtOutputContainer implements ExtDataContainer {
2323
private final Optional<Long> maybeNextTick;
2424

2525
/**
26-
* Map receiver uuid to result from SIMONA.
26+
* Map: receiver uuid to result from SIMONA.
2727
*
2828
* <p>ATTENTION: The time stamp of the result entities is not necessarily corresponding to the
2929
* tick
3030
*/
3131
private final Map<UUID, ResultEntity> resultMap;
3232

33-
/** Map receiver uuid to {@link EmData} from SIMONA. */
33+
/** Map: receiver uuid to {@link EmData} from SIMONA. */
3434
private final Map<UUID, EmData> emDataMap;
3535

3636
/**

src/main/java/edu/ie3/simona/api/data/model/em/EmSetPoint.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
import tech.units.indriya.ComparableQuantity;
1414

1515
/**
16-
* Energy management set point that will be sent to SIMONA
16+
* Energy management set point that will be sent to SIMONA.
1717
*
18-
* @param receiver of the message
19-
* @param sender of the message
20-
* @param power an option for the em set point
18+
* @param receiver The receiver of the set point.
19+
* @param sender The sender of the set point.
20+
* @param power An option for the em set point.
2121
*/
2222
public record EmSetPoint(UUID receiver, UUID sender, Optional<PValue> power) implements EmData {
2323
/**
2424
* Constructor for {@link EmSetPoint}.
2525
*
2626
* <p>Note: Using this constructor will signal SIMONA, that the current set point should be kept.
2727
*
28-
* @param receiver of the set point.
29-
* @param sender of the set point.
28+
* @param receiver The receiver of the set point.
29+
* @param sender The sender of the set point.
3030
*/
3131
public EmSetPoint(UUID receiver, UUID sender) {
3232
this(receiver, sender, Optional.empty());
@@ -35,9 +35,9 @@ public EmSetPoint(UUID receiver, UUID sender) {
3535
/**
3636
* Constructor for {@link EmSetPoint}.
3737
*
38-
* @param receiver of the set point
39-
* @param sender of the set point
40-
* @param p power value of the set point
38+
* @param receiver The receiver of the set point.
39+
* @param sender The sender of the set point.
40+
* @param p Power value of the set point.
4141
*/
4242
public EmSetPoint(UUID receiver, UUID sender, ComparableQuantity<Power> p) {
4343
this(receiver, sender, Optional.of(new PValue(p)));
@@ -46,9 +46,9 @@ public EmSetPoint(UUID receiver, UUID sender, ComparableQuantity<Power> p) {
4646
/**
4747
* Constructor for {@link EmSetPoint}.
4848
*
49-
* @param receiver of the set point
50-
* @param sender of the set point
51-
* @param power value of the set point
49+
* @param receiver The receiver of the set point.
50+
* @param sender The sender of the set point.
51+
* @param power value of the set point.
5252
*/
5353
public EmSetPoint(UUID receiver, UUID sender, PValue power) {
5454
this(receiver, sender, Optional.ofNullable(power));

src/main/java/edu/ie3/simona/api/data/model/em/FlexOptionRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
/**
1212
* Energy management flex option request that will be sent to SIMONA.
1313
*
14-
* @param receiver of the message
15-
* @param sender of the request
14+
* @param receiver The receiver of the request.
15+
* @param sender The sender of the request.
1616
*/
1717
public record FlexOptionRequest(UUID receiver, UUID sender) implements EmData {
1818

src/main/java/edu/ie3/simona/api/data/model/em/FlexOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
/**
1717
* Flex option that will be sent to SIMONA.
1818
*
19-
* @param receiver The receiver of the message.
20-
* @param sender The sender of the request.
19+
* @param receiver The receiver of the flex options.
20+
* @param sender The sender of the flex options.
2121
* @param pRef Active power (might be negative, thus feed-in) that was suggested for regular usage.
2222
* @param pMin Minimal active power to which the sender can be reduced (might be negative, thus
2323
* feed-in), that was determined by the system. Therefore, equates to lower bound of possible

0 commit comments

Comments
 (0)