X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fonap%2Fmusic%2Fdatastore%2Fjsonobjects%2FJsonDelete.java;h=b9b82e08f45ce516af880b649d4a7817bd1b4f89;hb=66aac8e2b8f61f075b285f969c1f8a88fdb313bd;hp=ce7f509ba1a0c40150d78bcbb3e916fc7ddcb5a3;hpb=a6e37de1411ae04f49347d72121c3a4d3f6fd0ac;p=music.git diff --git a/src/main/java/org/onap/music/datastore/jsonobjects/JsonDelete.java b/src/main/java/org/onap/music/datastore/jsonobjects/JsonDelete.java index ce7f509b..b9b82e08 100644 --- a/src/main/java/org/onap/music/datastore/jsonobjects/JsonDelete.java +++ b/src/main/java/org/onap/music/datastore/jsonobjects/JsonDelete.java @@ -4,6 +4,8 @@ * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property * =================================================================== + * Modifications Copyright (c) 2019 Samsung + * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -19,9 +21,10 @@ * ============LICENSE_END============================================= * ==================================================================== */ + package org.onap.music.datastore.jsonobjects; -import java.util.ArrayList; +import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @@ -33,11 +36,11 @@ import io.swagger.annotations.ApiModelProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class JsonDelete { - private ArrayList columns = null; + private List columns = null; private Map consistencyInfo; private Map conditions; - String ttl; - String timestamp; + private String ttl; + private String timestamp; @ApiModelProperty(value = "Conditions") @@ -59,11 +62,11 @@ public class JsonDelete { } @ApiModelProperty(value = "Column values") - public ArrayList getColumns() { + public List getColumns() { return columns; } - public void setColumns(ArrayList columns) { + public void setColumns(List columns) { this.columns = columns; } @@ -86,4 +89,3 @@ public class JsonDelete { this.timestamp = timestamp; } } -