Convert tabs to spaces basic refactoring
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / jpa / PolicyRoles.java
index e7230d6..f220570 100644 (file)
@@ -45,59 +45,59 @@ import org.onap.policy.rest.jpa.UserInfo;
 @Table(name="roles")
 @NamedQuery(name="PolicyRoles.findAll", query="SELECT r FROM PolicyRoles r ")
 public class PolicyRoles implements Serializable {
-       private static final long serialVersionUID = 1L;
-
-       @Id
-       @GeneratedValue(strategy = GenerationType.AUTO)
-       
-       @Column(name="id")
-       private int id;
-
-       @ManyToOne
-       @JoinColumn(name="loginid")
-       @OrderBy("asc")
-       private UserInfo loginId;
-
-       public UserInfo getLoginId() {
-               return loginId;
-       }
-
-       public void setLoginId(UserInfo loginId) {
-               this.loginId = loginId;
-       }
-
-       @Column(name="scope", nullable=true, length=45)
-       private String scope;
-
-       @Column(name="role", nullable=false, length=45)
-       private String role;
-       
-       public PolicyRoles() {
-               // Empty constructor
-       }
-
-       public int getId() {
-               return this.id;
-       }
-
-       public void setId(int id) {
-               this.id = id;
-       }
-
-       public String getScope() {
-               return this.scope;
-       }
-
-       public void setScope(String scope) {
-               this.scope = scope;
-               
-       }
-       public String getRole() {
-               return this.role;
-       }
-
-       public void setRole(String role) {
-               this.role = role;
-       }
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @GeneratedValue(strategy = GenerationType.AUTO)
+
+    @Column(name="id")
+    private int id;
+
+    @ManyToOne
+    @JoinColumn(name="loginid")
+    @OrderBy("asc")
+    private UserInfo loginId;
+
+    public UserInfo getLoginId() {
+        return loginId;
+    }
+
+    public void setLoginId(UserInfo loginId) {
+        this.loginId = loginId;
+    }
+
+    @Column(name="scope", nullable=true, length=45)
+    private String scope;
+
+    @Column(name="role", nullable=false, length=45)
+    private String role;
+
+    public PolicyRoles() {
+        // Empty constructor
+    }
+
+    public int getId() {
+        return this.id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
+
+    public String getScope() {
+        return this.scope;
+    }
+
+    public void setScope(String scope) {
+        this.scope = scope;
+
+    }
+    public String getRole() {
+        return this.role;
+    }
+
+    public void setRole(String role) {
+        this.role = role;
+    }
 
 }