Commit 5a1f4d69 authored by Nikolaos Kyriakoulis's avatar Nikolaos Kyriakoulis
Browse files

Removed duplicate @JsonProperty annotations.

parent 72b50dc8
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -64,7 +64,6 @@ public class AttachmentRefFVO {
  */
  @NotNull 
  @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
  @JsonProperty("@type")
  public String getAtType() {
    return type;
  }
@@ -84,7 +83,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@baseType")
  public String getBaseType() {
    return baseType;
  }
@@ -104,7 +102,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@schemaLocation")
  public String getSchemaLocation() {
    return schemaLocation;
  }
@@ -124,7 +121,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("href")
  public String getHref() {
    return href;
  }
@@ -144,7 +140,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "id", description = "unique identifier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("id")
  public String getId() {
    return id;
  }
@@ -164,7 +159,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("name")
  public String getName() {
    return name;
  }
@@ -184,7 +178,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@referredType")
  public String getReferredType() {
    return referredType;
  }
@@ -204,7 +197,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "description", description = "A narrative text describing the content of the attachment", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("description")
  public String getDescription() {
    return description;
  }
@@ -224,7 +216,6 @@ public class AttachmentRefFVO {
  */
  
  @Schema(name = "url", description = "Link to the attachment media/content", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("url")
  public String getUrl() {
    return url;
  }
+0 −9
Original line number Diff line number Diff line
@@ -64,7 +64,6 @@ public class AttachmentRefMVO {
  */
  @NotNull 
  @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
  @JsonProperty("@type")
  public String getType() {
    return type;
  }
@@ -84,7 +83,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@baseType")
  public String getAtBaseType() {
    return baseType;
  }
@@ -104,7 +102,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@schemaLocation")
  public String getSchemaLocation() {
    return schemaLocation;
  }
@@ -124,7 +121,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "href", description = "Hyperlink reference", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("href")
  public String getHref() {
    return href;
  }
@@ -144,7 +140,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "id", description = "The identifier of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("id")
  public String getId() {
    return id;
  }
@@ -164,7 +159,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "name", description = "Name of the referred entity.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("name")
  public String getName() {
    return name;
  }
@@ -184,7 +178,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "@referredType", description = "The actual type of the target instance when needed for disambiguation.", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@referredType")
  public String getReferredType() {
    return referredType;
  }
@@ -204,7 +197,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "description", description = "A narrative text describing the content of the attachment", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("description")
  public String getDescription() {
    return description;
  }
@@ -224,7 +216,6 @@ public class AttachmentRefMVO {
  */
  
  @Schema(name = "url", description = "Link to the attachment media/content", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("url")
  public String getUrl() {
    return url;
  }
+0 −2
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ public class Characteristic extends BaseRootNamedEntity {
     */

    @Schema(name = "valueType", description = "Data type of the value of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @JsonProperty("valueType")
    public String getValueType() {
        return valueType;
    }
@@ -83,7 +82,6 @@ public class Characteristic extends BaseRootNamedEntity {
     */
    @Valid
    @Schema(name = "characteristicRelationship", description = "Collection of characteristic relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @JsonProperty("characteristicRelationship")
    public List<CharacteristicRelationship> getCharacteristicRelationship() {
        return characteristicRelationship;
    }
+0 −6
Original line number Diff line number Diff line
@@ -59,7 +59,6 @@ public class CharacteristicFVO {
  */
  @NotNull 
  @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
  @JsonProperty("@type")
  public String getType() {
    return type;
  }
@@ -79,7 +78,6 @@ public class CharacteristicFVO {
  */
  
  @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@baseType")
  public String getBaseType() {
    return baseType;
  }
@@ -99,7 +97,6 @@ public class CharacteristicFVO {
  */
  
  @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@schemaLocation")
  public String getSchemaLocation() {
    return schemaLocation;
  }
@@ -119,7 +116,6 @@ public class CharacteristicFVO {
  */
  
  @Schema(name = "name", description = "Name of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("name")
  public String getName() {
    return name;
  }
@@ -139,7 +135,6 @@ public class CharacteristicFVO {
  */
  
  @Schema(name = "valueType", description = "Data type of the value of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("valueType")
  public String getValueType() {
    return valueType;
  }
@@ -167,7 +162,6 @@ public class CharacteristicFVO {
  */
  @Valid 
  @Schema(name = "characteristicRelationship", description = "Collection of characteristic relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("characteristicRelationship")
  public List<CharacteristicRelationshipFVO> getCharacteristicRelationship() {
    return characteristicRelationship;
  }
+0 −7
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@ public class CharacteristicMVO {
  */
  @NotNull 
  @Schema(name = "@type", description = "When sub-classing, this defines the sub-class Extensible name", requiredMode = Schema.RequiredMode.REQUIRED)
  @JsonProperty("@type")
  public String getType() {
    return type;
  }
@@ -82,7 +81,6 @@ public class CharacteristicMVO {
  */
  
  @Schema(name = "@baseType", description = "When sub-classing, this defines the super-class", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@baseType")
  public String getBaseType() {
    return baseType;
  }
@@ -102,7 +100,6 @@ public class CharacteristicMVO {
  */
  
  @Schema(name = "@schemaLocation", description = "A URI to a JSON-Schema file that defines additional attributes and relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("@schemaLocation")
  public String getSchemaLocation() {
    return schemaLocation;
  }
@@ -122,7 +119,6 @@ public class CharacteristicMVO {
  */
  
  @Schema(name = "uuid", description = "Unique identifier of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("uuid")
  public String getUuid() {
    return uuid;
  }
@@ -142,7 +138,6 @@ public class CharacteristicMVO {
  */
  
  @Schema(name = "name", description = "Name of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("name")
  public String getName() {
    return name;
  }
@@ -162,7 +157,6 @@ public class CharacteristicMVO {
  */
  
  @Schema(name = "valueType", description = "Data type of the value of the characteristic", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("valueType")
  public String getValueType() {
    return valueType;
  }
@@ -190,7 +184,6 @@ public class CharacteristicMVO {
  */
  @Valid 
  @Schema(name = "characteristicRelationship", description = "Collection of characteristic relationships", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("characteristicRelationship")
  public List<CharacteristicRelationshipMVO> getCharacteristicRelationship() {
    return characteristicRelationship;
  }
Loading