Convert tabs to spaces basic refactoring
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / jpa / PIPType.java
index 61ab9ff..aa8c45e 100644 (file)
@@ -42,91 +42,91 @@ import javax.persistence.Transient;
 @Table(name="PIPType")
 @NamedQuery(name="PIPType.findAll", query="SELECT p FROM PIPType p")
 public class PIPType implements Serializable {
-       private static final long serialVersionUID = 1L;
-       
-       public static final String TYPE_SQL = "SQL";
-       public static final String TYPE_LDAP = "LDAP";
-       public static final String TYPE_CSV = "CSV";
-       public static final String TYPE_HYPERCSV = "Hyper-CSV";
-       public static final String TYPE_CUSTOM = "Custom";
-
-       @Id
-       @GeneratedValue(strategy=GenerationType.AUTO)
-       @Column(name="id")
-       private int id;
-
-       @Column(name="type", nullable=false, length=45)
-       private String type;
-
-       //bi-directional many-to-one association to PIPConfiguration
-       @OneToMany(mappedBy="piptype")
-       private Set<PIPConfiguration> pipconfigurations;
-
-       public PIPType() {
-               // Empty constructor
-       }
-
-       public int getId() {
-               return this.id;
-       }
-
-       public void setId(int id) {
-               this.id = id;
-       }
-
-       public String getType() {
-               return this.type;
-       }
-
-       public void setType(String type) {
-               this.type = type;
-       }
-
-       public Set<PIPConfiguration> getPipconfigurations() {
-               return this.pipconfigurations;
-       }
-
-       public void setPipconfigurations(Set<PIPConfiguration> pipconfigurations) {
-               this.pipconfigurations = pipconfigurations;
-       }
-
-       public PIPConfiguration addPipconfiguration(PIPConfiguration pipconfiguration) {
-               getPipconfigurations().add(pipconfiguration);
-               pipconfiguration.setPiptype(this);
-
-               return pipconfiguration;
-       }
-
-       public PIPConfiguration removePipconfiguration(PIPConfiguration pipconfiguration) {
-               getPipconfigurations().remove(pipconfiguration);
-               pipconfiguration.setPiptype(null);
-
-               return pipconfiguration;
-       }
-       
-       @Transient
-       public boolean  isSQL() {
-               return this.type.equals(TYPE_SQL);
-       }
-
-       @Transient
-       public boolean  isLDAP() {
-               return this.type.equals(TYPE_LDAP);
-       }
-
-       @Transient
-       public boolean  isCSV() {
-               return this.type.equals(TYPE_CSV);
-       }
-
-       @Transient
-       public boolean  isHyperCSV() {
-               return this.type.equals(TYPE_HYPERCSV);
-       }
-
-       @Transient
-       public boolean  isCustom() {
-               return this.type.equals(TYPE_CUSTOM);
-       }
+    private static final long serialVersionUID = 1L;
+
+    public static final String TYPE_SQL = "SQL";
+    public static final String TYPE_LDAP = "LDAP";
+    public static final String TYPE_CSV = "CSV";
+    public static final String TYPE_HYPERCSV = "Hyper-CSV";
+    public static final String TYPE_CUSTOM = "Custom";
+
+    @Id
+    @GeneratedValue(strategy=GenerationType.AUTO)
+    @Column(name="id")
+    private int id;
+
+    @Column(name="type", nullable=false, length=45)
+    private String type;
+
+    //bi-directional many-to-one association to PIPConfiguration
+    @OneToMany(mappedBy="piptype")
+    private Set<PIPConfiguration> pipconfigurations;
+
+    public PIPType() {
+        // Empty constructor
+    }
+
+    public int getId() {
+        return this.id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
+
+    public String getType() {
+        return this.type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public Set<PIPConfiguration> getPipconfigurations() {
+        return this.pipconfigurations;
+    }
+
+    public void setPipconfigurations(Set<PIPConfiguration> pipconfigurations) {
+        this.pipconfigurations = pipconfigurations;
+    }
+
+    public PIPConfiguration addPipconfiguration(PIPConfiguration pipconfiguration) {
+        getPipconfigurations().add(pipconfiguration);
+        pipconfiguration.setPiptype(this);
+
+        return pipconfiguration;
+    }
+
+    public PIPConfiguration removePipconfiguration(PIPConfiguration pipconfiguration) {
+        getPipconfigurations().remove(pipconfiguration);
+        pipconfiguration.setPiptype(null);
+
+        return pipconfiguration;
+    }
+
+    @Transient
+    public boolean     isSQL() {
+        return this.type.equals(TYPE_SQL);
+    }
+
+    @Transient
+    public boolean     isLDAP() {
+        return this.type.equals(TYPE_LDAP);
+    }
+
+    @Transient
+    public boolean     isCSV() {
+        return this.type.equals(TYPE_CSV);
+    }
+
+    @Transient
+    public boolean     isHyperCSV() {
+        return this.type.equals(TYPE_HYPERCSV);
+    }
+
+    @Transient
+    public boolean     isCustom() {
+        return this.type.equals(TYPE_CUSTOM);
+    }
 
 }