[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / PersUserWidgetSelection.java
index 4993b46..692479b 100644 (file)
@@ -1,81 +1,81 @@
-/*-\r
- * ================================================================================\r
- * ECOMP Portal\r
- * ================================================================================\r
- * Copyright (C) 2017 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.openecomp.portalapp.portal.domain;\r
-\r
-import org.openecomp.portalsdk.core.domain.support.DomainVo;\r
-\r
-/**\r
- * Models a row in the table with personalization of user widget selections.\r
- */\r
-public class PersUserWidgetSelection extends DomainVo {\r
-\r
-       /**\r
-        * \r
-        */\r
-       private static final long serialVersionUID = -6547880514779039200L;\r
-\r
-       private Long userId;\r
-\r
-       private Long widgetId;\r
-\r
-       private String statusCode;\r
-\r
-       public PersUserWidgetSelection() {}\r
-       \r
-       /**\r
-        * Convenience constructor\r
-        * \r
-        * @param id\r
-        * @param userId\r
-        * @param widgetId\r
-        * @param statusCode\r
-        */\r
-       public PersUserWidgetSelection(final Long id, final Long userId, final Long widgetId, final String statusCode) {\r
-               super.id = id;\r
-               this.userId = userId;\r
-               this.widgetId = widgetId;\r
-               this.statusCode = statusCode;\r
-       }\r
-       \r
-       public Long getWidgetId() {\r
-               return widgetId;\r
-       }\r
-\r
-       public void setWidgetId(Long widgetId) {\r
-               this.widgetId = widgetId;\r
-       }\r
-\r
-       public Long getUserId() {\r
-               return userId;\r
-       }\r
-\r
-       public void setUserId(Long userId) {\r
-               this.userId = userId;\r
-       }\r
-\r
-       public String getStatusCode() {\r
-               return statusCode;\r
-       }\r
-\r
-       public void setStatusCode(String statusCode) {\r
-               this.statusCode = statusCode;\r
-       }\r
-       \r
-}\r
+/*-
+ * ================================================================================
+ * ECOMP Portal
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property
+ * ================================================================================
+ * 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
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ================================================================================
+ */
+package org.openecomp.portalapp.portal.domain;
+
+import org.openecomp.portalsdk.core.domain.support.DomainVo;
+
+/**
+ * Models a row in the table with personalization of user widget selections.
+ */
+public class PersUserWidgetSelection extends DomainVo {
+
+       /**
+        * 
+        */
+       private static final long serialVersionUID = -6547880514779039200L;
+
+       private Long userId;
+
+       private Long widgetId;
+
+       private String statusCode;
+
+       public PersUserWidgetSelection() {}
+       
+       /**
+        * Convenience constructor
+        * 
+        * @param id
+        * @param userId
+        * @param widgetId
+        * @param statusCode
+        */
+       public PersUserWidgetSelection(final Long id, final Long userId, final Long widgetId, final String statusCode) {
+               super.id = id;
+               this.userId = userId;
+               this.widgetId = widgetId;
+               this.statusCode = statusCode;
+       }
+       
+       public Long getWidgetId() {
+               return widgetId;
+       }
+
+       public void setWidgetId(Long widgetId) {
+               this.widgetId = widgetId;
+       }
+
+       public Long getUserId() {
+               return userId;
+       }
+
+       public void setUserId(Long userId) {
+               this.userId = userId;
+       }
+
+       public String getStatusCode() {
+               return statusCode;
+       }
+
+       public void setStatusCode(String statusCode) {
+               this.statusCode = statusCode;
+       }
+       
+}