Code cleaning after review
This commit is contained in:
parent
e70df09b08
commit
6bc902756b
@ -17,7 +17,6 @@ package org.thingsboard.server.common.data.query;
|
|||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@ -27,17 +26,14 @@ public class DynamicValue<T> {
|
|||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
private T resolvedValue;
|
private T resolvedValue;
|
||||||
|
|
||||||
|
private final DynamicValueSourceType sourceType;
|
||||||
|
private final String sourceAttribute;
|
||||||
|
private final boolean inherit;
|
||||||
|
|
||||||
public DynamicValue(DynamicValueSourceType sourceType, String sourceAttribute) {
|
public DynamicValue(DynamicValueSourceType sourceType, String sourceAttribute) {
|
||||||
this.sourceAttribute = sourceAttribute;
|
this.sourceAttribute = sourceAttribute;
|
||||||
this.sourceType = sourceType;
|
this.sourceType = sourceType;
|
||||||
this.inherit = false;
|
this.inherit = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Getter
|
|
||||||
private final DynamicValueSourceType sourceType;
|
|
||||||
@Getter
|
|
||||||
private final String sourceAttribute;
|
|
||||||
@Getter
|
|
||||||
private final boolean inherit;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user