Skip to content

Commit

Permalink
VUU25: Implement interface for Metadata DTOs
Browse files Browse the repository at this point in the history
  • Loading branch information
cfisher-scottlogic committed Oct 10, 2023
1 parent 5fcb328 commit 1c05d6b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.finos.vuu.layoutserver.dto;

public interface MetadataDTO {

String getName();

void setName(String name);

String getGroup();

void setGroup(String group);

String getScreenshot();

void setScreenshot(String screenshot);

String getUser();

void setUser(String user);

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
import lombok.Data;

import java.util.Date;
import org.finos.vuu.layoutserver.dto.MetadataDTO;

@Data
public class MetadataRequestDTO {
public class MetadataRequestDTO implements MetadataDTO {

private String name;
private String group;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package org.finos.vuu.layoutserver.dto.response;

import lombok.Data;

import java.util.Date;
import java.util.UUID;
import lombok.Data;
import org.finos.vuu.layoutserver.dto.MetadataDTO;

@Data
public class MetadataResponseDTO {
public class MetadataResponseDTO implements MetadataDTO {

private UUID layoutId;
private String name;
Expand Down

0 comments on commit 1c05d6b

Please sign in to comment.