summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java')
-rw-r--r--ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java66
1 files changed, 28 insertions, 38 deletions
diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java
index 2aa8a7db..c3f1c6ed 100644
--- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java
+++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/LuCountry.java
@@ -6,7 +6,7 @@
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
- * under the Apache License, Version 2.0 (the “License”);
+ * under the Apache License, Version 2.0 (the "License");
* you may not use this software except in compliance with the License.
* You may obtain a copy of the License at
*
@@ -19,7 +19,7 @@
* limitations under the License.
*
* Unless otherwise specified, all documentation contained herein is licensed
- * under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+ * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
* you may not use this documentation except in compliance with the License.
* You may obtain a copy of the License at
*
@@ -37,43 +37,39 @@
*/
package org.onap.portalsdk.core.domain;
-
-import org.onap.portalsdk.core.domain.support.*;
-
-
/**
- * <p>luCountry.java</p>
*
- * <p>Represents a country data object.</p>
+ * <p>
+ * Represents a country data object.
+ * </p>
*
* @version 1.0
*/
public class LuCountry extends DomainVo {
- /**
- *
- */
private static final long serialVersionUID = 1L;
- LuCountry() {}
+ private String abbr;
+ private String country;
+ private String fullName;
+ private String webphoneCountryLabel;
- public String getCountry() {
- return country;
- }
-
- public String getAbbr() {
- return abbr;
- }
+ public String getCountry() {
+ return country;
+ }
- public void setCountry(String country) {
- this.country = country;
- }
+ public String getAbbr() {
+ return abbr;
+ }
- public void setAbbr(String abbr) {
- this.abbr = abbr;
- }
+ public void setCountry(String country) {
+ this.country = country;
+ }
+ public void setAbbr(String abbr) {
+ this.abbr = abbr;
+ }
- public String getFullName() {
+ public String getFullName() {
return fullName;
}
@@ -89,17 +85,11 @@ public class LuCountry extends DomainVo {
this.webphoneCountryLabel = webphoneCountryLabel;
}
- public int compareTo(Object obj){
- String c1 = getCountry();
- String c2 = ((LuCountry)obj).getCountry();
-
- return c1.compareTo(c2);
- }
-
-
- private String abbr;
- private String country;
- private String fullName;
- private String webphoneCountryLabel;
+ @Override
+ public int compareTo(Object obj) {
+ String c1 = getCountry();
+ String c2 = ((LuCountry) obj).getCountry();
+ return c1.compareTo(c2);
+ }
}