return parent;
}
+ @CheckForNull
+ public QualityProfileKey getParentKey() {
+ if(getParent() != null && !getParent().isEmpty()) {
+ return QualityProfileKey.of(this.getParent(), this.getLanguage());
+ } else {
+ return null;
+ }
+ }
+
+
public QualityProfileDto setParent(@Nullable String parent) {
this.parent = parent;
return this;
.prop("name", profile.getName())
.prop("lang", profile.getLanguage())
.prop("parent", profile.getParent())
+ .prop("parentKey", profile.getParentKey().toString())
.endObject();
}
json.endArray();