Migrate ccdsk/apps to ccsdk/cds
[ccsdk/apps.git] / ms / controllerblueprints / modules / service / src / main / java / org / onap / ccsdk / apps / controllerblueprints / service / common / ErrorMessage.java
diff --git a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/common/ErrorMessage.java b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/common/ErrorMessage.java
deleted file mode 100644 (file)
index 5486262..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/*\r
- * Copyright © 2017-2018 AT&T Intellectual Property.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- *     http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-package org.onap.ccsdk.apps.controllerblueprints.service.common;\r
-\r
-import com.fasterxml.jackson.annotation.JsonFormat;\r
-import com.fasterxml.jackson.annotation.JsonInclude;\r
-import com.fasterxml.jackson.annotation.JsonInclude.Include;\r
-import com.fasterxml.jackson.annotation.JsonTypeInfo;\r
-import com.fasterxml.jackson.annotation.JsonTypeName;\r
-\r
-import java.io.Serializable;\r
-import java.util.Date;\r
-\r
-@JsonInclude(Include.NON_NULL)\r
-@JsonTypeName("errorMessage")\r
-@JsonTypeInfo(include= JsonTypeInfo.As.WRAPPER_OBJECT, use=JsonTypeInfo.Id.NAME)\r
-public class ErrorMessage implements Serializable {\r
-    private String message;\r
-    private Integer code;\r
-    private String debugMessage;\r
-    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")\r
-    private Date timestamp = new Date();\r
-\r
-    public ErrorMessage(String message, Integer code, String debugMessage){\r
-        this.message = message;\r
-        this.code = code;\r
-        this.debugMessage = debugMessage;\r
-    }\r
-\r
-    public String getMessage() {\r
-        return message;\r
-    }\r
-\r
-    public void setMessage(String message) {\r
-        this.message = message;\r
-    }\r
-\r
-    public Integer getCode() {\r
-        return code;\r
-    }\r
-\r
-    public void setCode(Integer code) {\r
-        this.code = code;\r
-    }\r
-\r
-    public String getDebugMessage() {\r
-        return debugMessage;\r
-    }\r
-\r
-    public void setDebugMessage(String developerMessage) {\r
-        this.debugMessage = developerMessage;\r
-    }\r
-\r
-    public Date getTimestamp() {\r
-        return timestamp;\r
-    }\r
-\r
-    public void setTimestamp(Date timestamp) {\r
-        this.timestamp = timestamp;\r
-    }\r
-}
\ No newline at end of file