adding base project
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ActiveTechStack_DTO {
|
||||
private int id;
|
||||
private String Name;
|
||||
|
||||
// public Integer getId() {
|
||||
// return id;
|
||||
// }
|
||||
// public void setId(Integer id) {
|
||||
// this.id = id;
|
||||
// }
|
||||
// public Integer getName() {
|
||||
// return Name;
|
||||
// }
|
||||
// public void setName(Integer name) {
|
||||
// Name = name;
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class FileDetails implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private int id;
|
||||
private String text;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class FileListDto implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private int id;
|
||||
private String fileName;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "NAMING_CONVENSION")
|
||||
public class NamingConvension {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "ID")
|
||||
private Integer id;
|
||||
|
||||
@Column(name = "VARIABLE_NAME")
|
||||
private String variableName;
|
||||
|
||||
@Column(name = "OBJECT_NAME_DYNAMIC_STRING")
|
||||
private String objectNameDynamicString;
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.realnet.fnd.entity.Rn_Who_AccId_Column;
|
||||
|
||||
import lombok.ToString;
|
||||
|
||||
@ToString
|
||||
@Entity
|
||||
@Table(name = "RN_BCF_EXCEPTION_RULES")
|
||||
public class Rn_Bcf_Exception_Rules extends Rn_Who_AccId_Column {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "ID")
|
||||
private Integer id;
|
||||
|
||||
@Column(name = "TECH_STACK")
|
||||
private String tech_stack;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
private String object_type;
|
||||
|
||||
@Column(name = "SUB_OBJECT_TYPE")
|
||||
private String sub_object_type;
|
||||
|
||||
@Column(name = "OBJECT_NAME_VARIABLE")
|
||||
private String object_name_variable;
|
||||
|
||||
@Column(name = "OBJECT_NAME_DYNAMIC_STRING")
|
||||
private String object_name_dynamic_string;
|
||||
|
||||
public Rn_Bcf_Exception_Rules() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public Rn_Bcf_Exception_Rules(Integer id, String tech_stack, String object_type, String sub_object_type,
|
||||
String object_name_variable, String object_name_dynamic_string) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.tech_stack = tech_stack;
|
||||
this.object_type = object_type;
|
||||
this.sub_object_type = sub_object_type;
|
||||
this.object_name_variable = object_name_variable;
|
||||
this.object_name_dynamic_string = object_name_dynamic_string;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTech_stack() {
|
||||
return tech_stack;
|
||||
}
|
||||
|
||||
public void setTech_stack(String tech_stack) {
|
||||
this.tech_stack = tech_stack;
|
||||
}
|
||||
|
||||
public String getObject_type() {
|
||||
return object_type;
|
||||
}
|
||||
|
||||
public void setObject_type(String object_type) {
|
||||
this.object_type = object_type;
|
||||
}
|
||||
|
||||
public String getSub_object_type() {
|
||||
return sub_object_type;
|
||||
}
|
||||
|
||||
public void setSub_object_type(String sub_object_type) {
|
||||
this.sub_object_type = sub_object_type;
|
||||
}
|
||||
|
||||
public String getObject_name_variable() {
|
||||
return object_name_variable;
|
||||
}
|
||||
|
||||
public void setObject_name_variable(String object_name_variable) {
|
||||
this.object_name_variable = object_name_variable;
|
||||
}
|
||||
|
||||
public String getObject_name_dynamic_string() {
|
||||
return object_name_dynamic_string;
|
||||
}
|
||||
|
||||
public void setObject_name_dynamic_string(String object_name_dynamic_string) {
|
||||
this.object_name_dynamic_string = object_name_dynamic_string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// // WHO COLUMNS
|
||||
// @Temporal(TemporalType.TIMESTAMP)
|
||||
// @Column(name = "CREATED_AT", nullable = false, updatable = false)
|
||||
// @CreatedDate
|
||||
// private Date createdAt;
|
||||
//
|
||||
// //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createdAt;
|
||||
//
|
||||
// @Temporal(TemporalType.TIMESTAMP)
|
||||
// @Column(name = "UPDATED_AT", nullable = false)
|
||||
// @LastModifiedDate
|
||||
// private Date updatedAt;
|
||||
//
|
||||
// @Column(name = "CREATED_BY", updatable = false)
|
||||
// private Long createdBy;
|
||||
//
|
||||
// @Column(name = "UPDATED_BY")
|
||||
// private Long updatedBy;
|
||||
//
|
||||
// @Column(name = "ACCOUNT_ID")
|
||||
// private Long accountId;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,196 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import com.realnet.fnd.entity.Rn_Who_Columns;
|
||||
|
||||
@Entity
|
||||
@Table(name = "RN_BCF_EXTRACTOR_T")
|
||||
public class Rn_Bcf_Extractor extends Rn_Who_Columns {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "ID")
|
||||
private Integer id;
|
||||
|
||||
@Column(name = "TECH_STACK")
|
||||
private String tech_stack;
|
||||
|
||||
@Column(name = "TECH_STACK_KEY")
|
||||
private String tech_stack_key;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
private String object_type;
|
||||
|
||||
@Column(name = "SUB_OBJECT_TYPE")
|
||||
private String sub_object_type;
|
||||
|
||||
@Column(name = "FORM_TYPE_NAME")
|
||||
private String form_type_name;
|
||||
|
||||
@Column(name = "STD_WF_NAME")
|
||||
private String std_wf_name;
|
||||
|
||||
@Column(name = "ICON_FILE_NAME")
|
||||
private String icon_file_name;
|
||||
|
||||
@Column(name = "SAMPLE_FILE_NAME")
|
||||
private String sample_file_name;
|
||||
|
||||
@Column(name = "EXTRACTOR_STAGE")
|
||||
private String extractor_stage;
|
||||
|
||||
@OneToMany(mappedBy = "rn_bcf_extractor", targetEntity = Rn_Bcf_Extractor_Params.class, cascade = CascadeType.ALL, fetch = FetchType.EAGER)
|
||||
@JsonManagedReference
|
||||
private List<Rn_Bcf_Extractor_Params> rn_bcf_extractor_Params;
|
||||
|
||||
// SYSTEM ACCOUNT ID
|
||||
@Column(name = "ACCOUNT_ID")
|
||||
private long accountId;
|
||||
|
||||
public Rn_Bcf_Extractor() {
|
||||
super();
|
||||
}
|
||||
|
||||
public Rn_Bcf_Extractor(Integer id, String tech_stack, String tech_stack_key, String object_type,
|
||||
String sub_object_type, String form_type_name, String std_wf_name, String icon_file_name,
|
||||
String sample_file_name, String extractor_stage, List<Rn_Bcf_Extractor_Params> rn_bcf_extractor_Params,
|
||||
long accountId) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.tech_stack = tech_stack;
|
||||
this.tech_stack_key = tech_stack_key;
|
||||
this.object_type = object_type;
|
||||
this.sub_object_type = sub_object_type;
|
||||
this.form_type_name = form_type_name;
|
||||
this.std_wf_name = std_wf_name;
|
||||
this.icon_file_name = icon_file_name;
|
||||
this.sample_file_name = sample_file_name;
|
||||
this.extractor_stage = extractor_stage;
|
||||
this.rn_bcf_extractor_Params = rn_bcf_extractor_Params;
|
||||
this.accountId = accountId;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTech_stack() {
|
||||
return tech_stack;
|
||||
}
|
||||
|
||||
public void setTech_stack(String tech_stack) {
|
||||
this.tech_stack = tech_stack;
|
||||
}
|
||||
|
||||
public String getTech_stack_key() {
|
||||
return tech_stack_key;
|
||||
}
|
||||
|
||||
public void setTech_stack_key(String tech_stack_key) {
|
||||
this.tech_stack_key = tech_stack_key;
|
||||
}
|
||||
|
||||
public String getObject_type() {
|
||||
return object_type;
|
||||
}
|
||||
|
||||
public void setObject_type(String object_type) {
|
||||
this.object_type = object_type;
|
||||
}
|
||||
|
||||
public String getSub_object_type() {
|
||||
return sub_object_type;
|
||||
}
|
||||
|
||||
public void setSub_object_type(String sub_object_type) {
|
||||
this.sub_object_type = sub_object_type;
|
||||
}
|
||||
|
||||
public String getForm_type_name() {
|
||||
return form_type_name;
|
||||
}
|
||||
|
||||
public void setForm_type_name(String form_type_name) {
|
||||
this.form_type_name = form_type_name;
|
||||
}
|
||||
|
||||
public String getStd_wf_name() {
|
||||
return std_wf_name;
|
||||
}
|
||||
|
||||
public void setStd_wf_name(String std_wf_name) {
|
||||
this.std_wf_name = std_wf_name;
|
||||
}
|
||||
|
||||
public String getIcon_file_name() {
|
||||
return icon_file_name;
|
||||
}
|
||||
|
||||
public void setIcon_file_name(String icon_file_name) {
|
||||
this.icon_file_name = icon_file_name;
|
||||
}
|
||||
|
||||
public String getSample_file_name() {
|
||||
return sample_file_name;
|
||||
}
|
||||
|
||||
public void setSample_file_name(String sample_file_name) {
|
||||
this.sample_file_name = sample_file_name;
|
||||
}
|
||||
|
||||
public String getExtractor_stage() {
|
||||
return extractor_stage;
|
||||
}
|
||||
|
||||
public void setExtractor_stage(String extractor_stage) {
|
||||
this.extractor_stage = extractor_stage;
|
||||
}
|
||||
|
||||
public List<Rn_Bcf_Extractor_Params> getRn_bcf_extractor_Params() {
|
||||
return rn_bcf_extractor_Params;
|
||||
}
|
||||
|
||||
public void setRn_bcf_extractor_Params(List<Rn_Bcf_Extractor_Params> rn_bcf_extractor_Params) {
|
||||
this.rn_bcf_extractor_Params = rn_bcf_extractor_Params;
|
||||
}
|
||||
|
||||
public long getAccountId() {
|
||||
return accountId;
|
||||
}
|
||||
|
||||
public void setAccountId(long accountId) {
|
||||
this.accountId = accountId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Rn_Bcf_Extractor [id=" + id + ", tech_stack=" + tech_stack + ", tech_stack_key=" + tech_stack_key
|
||||
+ ", object_type=" + object_type + ", sub_object_type=" + sub_object_type + ", form_type_name="
|
||||
+ form_type_name + ", std_wf_name=" + std_wf_name + ", icon_file_name=" + icon_file_name
|
||||
+ ", sample_file_name=" + sample_file_name + ", extractor_stage=" + extractor_stage
|
||||
+ ", rn_bcf_extractor_Params=" + rn_bcf_extractor_Params + ", accountId=" + accountId + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@JsonSerialize
|
||||
public class Rn_Bcf_Extractor_DTO implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String tech_stack;
|
||||
|
||||
private String tech_stack_key;
|
||||
|
||||
private String object_type;
|
||||
|
||||
private String sub_object_type;
|
||||
|
||||
private String form_type_name;
|
||||
|
||||
private String std_wf_name;
|
||||
|
||||
private String icon_file_name;
|
||||
|
||||
private String sample_file_name;
|
||||
|
||||
// private String extractor_stage;
|
||||
|
||||
// private long accountId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,270 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.realnet.fnd.entity.Rn_Who_Columns;
|
||||
|
||||
@Entity
|
||||
@Table(name = "RN_BCF_EXTRACTOR_PARAMS_T")
|
||||
public class Rn_Bcf_Extractor_Params extends Rn_Who_Columns {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "ID")
|
||||
private Integer id;
|
||||
|
||||
// @Column(name = "HEADER_ID")
|
||||
// private int header_id;
|
||||
|
||||
@Column(name = "TECH_STACK")
|
||||
private String tech_stack;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
private String object_type;
|
||||
|
||||
@Column(name = "SUB_OBJECT_TYPE")
|
||||
private String sub_object_type;
|
||||
|
||||
@Column(name = "FILE_CODE")
|
||||
private String file_code;
|
||||
|
||||
@Column(name = "NAME_STRING")
|
||||
private String name_string;
|
||||
|
||||
@Column(name = "ADDRESS_STRING")
|
||||
private String address_string;
|
||||
|
||||
@Column(name = "MOVED_ADDRESS_STRING")
|
||||
private String moved_address_string;
|
||||
|
||||
@Column(name = "REFERENCE_ADDRESS_STRING")
|
||||
private String reference_address_string;
|
||||
|
||||
@Column(name = "DESCRIPTION")
|
||||
private String description;
|
||||
|
||||
@Column(name = "FILE_NAME_VAR")
|
||||
private String file_name_var;
|
||||
|
||||
@Column(name = "FILE_NAME_DYNAMIC_STRING")
|
||||
private String file_name_dynamic_string;
|
||||
|
||||
@Column(name = "IS_EXTRACTION_ENABLED")
|
||||
private boolean is_extraction_enabled;
|
||||
|
||||
@Column(name = "IS_CREATION_ENABLED")
|
||||
private boolean is_creation_enabled;
|
||||
|
||||
@Column(name = "Total_Project_Path_Dynamic_String")
|
||||
private String total_project_path_dynamic_string;
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY, optional = false)
|
||||
@JoinColumn(name = "HEADER_ID")
|
||||
@JsonBackReference
|
||||
private Rn_Bcf_Extractor rn_bcf_extractor;
|
||||
|
||||
// @JsonIgnore
|
||||
// private int headerId;
|
||||
//
|
||||
// public int getHeaderId() {
|
||||
// return headerId;
|
||||
// }
|
||||
//
|
||||
// public void setHeaderId(int headerId) {
|
||||
// this.headerId = headerId;
|
||||
// }
|
||||
|
||||
// SYSTEM ACCOUNT ID
|
||||
@Column(name = "ACCOUNT_ID")
|
||||
private long accountId;
|
||||
|
||||
public Rn_Bcf_Extractor_Params() {
|
||||
super();
|
||||
}
|
||||
|
||||
public Rn_Bcf_Extractor_Params(Integer id, String tech_stack, String object_type, String sub_object_type,
|
||||
String file_code, String name_string, String address_string, String moved_address_string,
|
||||
String reference_address_string, String description, String file_name_var, String file_name_dynamic_string,
|
||||
boolean is_extraction_enabled, boolean is_creation_enabled, Rn_Bcf_Extractor rn_bcf_extractor,
|
||||
long accountId,String total_project_path_dynamic_string) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.tech_stack = tech_stack;
|
||||
this.object_type = object_type;
|
||||
this.sub_object_type = sub_object_type;
|
||||
this.file_code = file_code;
|
||||
this.name_string = name_string;
|
||||
this.address_string = address_string;
|
||||
this.moved_address_string = moved_address_string;
|
||||
this.reference_address_string = reference_address_string;
|
||||
this.description = description;
|
||||
this.file_name_var = file_name_var;
|
||||
this.file_name_dynamic_string = file_name_dynamic_string;
|
||||
this.is_extraction_enabled = is_extraction_enabled;
|
||||
this.is_creation_enabled = is_creation_enabled;
|
||||
this.rn_bcf_extractor = rn_bcf_extractor;
|
||||
this.accountId = accountId;
|
||||
this.total_project_path_dynamic_string=total_project_path_dynamic_string;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTech_stack() {
|
||||
return tech_stack;
|
||||
}
|
||||
|
||||
public void setTech_stack(String tech_stack) {
|
||||
this.tech_stack = tech_stack;
|
||||
}
|
||||
|
||||
public String getObject_type() {
|
||||
return object_type;
|
||||
}
|
||||
|
||||
public void setObject_type(String object_type) {
|
||||
this.object_type = object_type;
|
||||
}
|
||||
|
||||
public String getSub_object_type() {
|
||||
return sub_object_type;
|
||||
}
|
||||
|
||||
public void setSub_object_type(String sub_object_type) {
|
||||
this.sub_object_type = sub_object_type;
|
||||
}
|
||||
|
||||
public String getFile_code() {
|
||||
return file_code;
|
||||
}
|
||||
|
||||
public void setFile_code(String file_code) {
|
||||
this.file_code = file_code;
|
||||
}
|
||||
|
||||
public String getName_string() {
|
||||
return name_string;
|
||||
}
|
||||
|
||||
public void setName_string(String name_string) {
|
||||
this.name_string = name_string;
|
||||
}
|
||||
|
||||
public String getAddress_string() {
|
||||
return address_string;
|
||||
}
|
||||
|
||||
public void setAddress_string(String address_string) {
|
||||
this.address_string = address_string;
|
||||
}
|
||||
|
||||
public String getMoved_address_string() {
|
||||
return moved_address_string;
|
||||
}
|
||||
|
||||
public void setMoved_address_string(String moved_address_string) {
|
||||
this.moved_address_string = moved_address_string;
|
||||
}
|
||||
|
||||
public String getReference_address_string() {
|
||||
return reference_address_string;
|
||||
}
|
||||
|
||||
public void setReference_address_string(String reference_address_string) {
|
||||
this.reference_address_string = reference_address_string;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getFile_name_var() {
|
||||
return file_name_var;
|
||||
}
|
||||
|
||||
public void setFile_name_var(String file_name_var) {
|
||||
this.file_name_var = file_name_var;
|
||||
}
|
||||
|
||||
public String getFile_name_dynamic_string() {
|
||||
return file_name_dynamic_string;
|
||||
}
|
||||
|
||||
public void setFile_name_dynamic_string(String file_name_dynamic_string) {
|
||||
this.file_name_dynamic_string = file_name_dynamic_string;
|
||||
}
|
||||
|
||||
public boolean isIs_extraction_enabled() {
|
||||
return is_extraction_enabled;
|
||||
}
|
||||
|
||||
public void setIs_extraction_enabled(boolean is_extraction_enabled) {
|
||||
this.is_extraction_enabled = is_extraction_enabled;
|
||||
}
|
||||
|
||||
public boolean isIs_creation_enabled() {
|
||||
return is_creation_enabled;
|
||||
}
|
||||
|
||||
public void setIs_creation_enabled(boolean is_creation_enabled) {
|
||||
this.is_creation_enabled = is_creation_enabled;
|
||||
}
|
||||
|
||||
public Rn_Bcf_Extractor getRn_bcf_extractor() {
|
||||
return rn_bcf_extractor;
|
||||
}
|
||||
|
||||
public void setRn_bcf_extractor(Rn_Bcf_Extractor rn_bcf_extractor) {
|
||||
this.rn_bcf_extractor = rn_bcf_extractor;
|
||||
}
|
||||
|
||||
public long getAccountId() {
|
||||
return accountId;
|
||||
}
|
||||
|
||||
public void setAccountId(long accountId) {
|
||||
this.accountId = accountId;
|
||||
}
|
||||
|
||||
public String getTotal_project_path_dynamic_string() {
|
||||
return total_project_path_dynamic_string;
|
||||
}
|
||||
|
||||
public void setTotal_project_path_dynamic_string(String total_project_path_dynamic_string) {
|
||||
this.total_project_path_dynamic_string = total_project_path_dynamic_string;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Rn_Bcf_Extractor_Params [id=" + id + ", tech_stack=" + tech_stack + ", object_type=" + object_type
|
||||
+ ", sub_object_type=" + sub_object_type + ", file_code=" + file_code + ", name_string=" + name_string
|
||||
+ ", address_string=" + address_string + ", moved_address_string=" + moved_address_string
|
||||
+ ", reference_address_string=" + reference_address_string + ", description=" + description
|
||||
+ ", file_name_var=" + file_name_var + ", file_name_dynamic_string=" + file_name_dynamic_string
|
||||
+ ", is_extraction_enabled=" + is_extraction_enabled + ", is_creation_enabled=" + is_creation_enabled
|
||||
+ ", accountId=" + accountId + "]";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.realnet.fnd.entity.Rn_Who_AccId_Column;
|
||||
|
||||
import lombok.ToString;
|
||||
|
||||
@ToString
|
||||
@Entity
|
||||
@Table(name = "RN_BCF_RULES")
|
||||
public class Rn_Bcf_Rules extends Rn_Who_AccId_Column {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "ID")
|
||||
private Integer id;
|
||||
|
||||
@Column(name = "GROUP_ID")
|
||||
private String group_id;
|
||||
|
||||
@Column(name = "RULE_NAME")
|
||||
private String rule_name;
|
||||
|
||||
@Column(name = "TECH_STACK")
|
||||
private String tech_stack;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
private String object_type;
|
||||
|
||||
@Column(name = "SUB_OBJECT_TYPE")
|
||||
private String sub_object_type;
|
||||
|
||||
@Column(name = "FILE_CODE")
|
||||
private String file_code;
|
||||
|
||||
@Column(name = "RULE_TYPE")
|
||||
private String rule_type;
|
||||
|
||||
// Big text
|
||||
@Column(name = "IDENTIFIER_START_STRING")
|
||||
private String identifier_start_string;
|
||||
|
||||
// Big text
|
||||
@Column(name = "IDENTIFIER_END_STRING")
|
||||
private String identifier_end_string;
|
||||
|
||||
// Big text
|
||||
@Column(name = "REPLACEMENT_STRING",length = 8000)
|
||||
private String replacement_string;
|
||||
|
||||
public Rn_Bcf_Rules() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public Rn_Bcf_Rules(Integer id, String group_id, String rule_name, String tech_stack, String object_type,
|
||||
String sub_object_type, String file_code, String rule_type, String identifier_start_string,
|
||||
String identifier_end_string, String replacement_string) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.group_id = group_id;
|
||||
this.rule_name = rule_name;
|
||||
this.tech_stack = tech_stack;
|
||||
this.object_type = object_type;
|
||||
this.sub_object_type = sub_object_type;
|
||||
this.file_code = file_code;
|
||||
this.rule_type = rule_type;
|
||||
this.identifier_start_string = identifier_start_string;
|
||||
this.identifier_end_string = identifier_end_string;
|
||||
this.replacement_string = replacement_string;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getGroup_id() {
|
||||
return group_id;
|
||||
}
|
||||
|
||||
public void setGroup_id(String group_id) {
|
||||
this.group_id = group_id;
|
||||
}
|
||||
|
||||
public String getRule_name() {
|
||||
return rule_name;
|
||||
}
|
||||
|
||||
public void setRule_name(String rule_name) {
|
||||
this.rule_name = rule_name;
|
||||
}
|
||||
|
||||
public String getTech_stack() {
|
||||
return tech_stack;
|
||||
}
|
||||
|
||||
public void setTech_stack(String tech_stack) {
|
||||
this.tech_stack = tech_stack;
|
||||
}
|
||||
|
||||
public String getObject_type() {
|
||||
return object_type;
|
||||
}
|
||||
|
||||
public void setObject_type(String object_type) {
|
||||
this.object_type = object_type;
|
||||
}
|
||||
|
||||
public String getSub_object_type() {
|
||||
return sub_object_type;
|
||||
}
|
||||
|
||||
public void setSub_object_type(String sub_object_type) {
|
||||
this.sub_object_type = sub_object_type;
|
||||
}
|
||||
|
||||
public String getFile_code() {
|
||||
return file_code;
|
||||
}
|
||||
|
||||
public void setFile_code(String file_code) {
|
||||
this.file_code = file_code;
|
||||
}
|
||||
|
||||
public String getRule_type() {
|
||||
return rule_type;
|
||||
}
|
||||
|
||||
public void setRule_type(String rule_type) {
|
||||
this.rule_type = rule_type;
|
||||
}
|
||||
|
||||
public String getIdentifier_start_string() {
|
||||
return identifier_start_string;
|
||||
}
|
||||
|
||||
public void setIdentifier_start_string(String identifier_start_string) {
|
||||
this.identifier_start_string = identifier_start_string;
|
||||
}
|
||||
|
||||
public String getIdentifier_end_string() {
|
||||
return identifier_end_string;
|
||||
}
|
||||
|
||||
public void setIdentifier_end_string(String identifier_end_string) {
|
||||
this.identifier_end_string = identifier_end_string;
|
||||
}
|
||||
|
||||
public String getReplacement_string() {
|
||||
return replacement_string;
|
||||
}
|
||||
|
||||
public void setReplacement_string(String replacement_string) {
|
||||
this.replacement_string = replacement_string;
|
||||
}
|
||||
|
||||
|
||||
// // WHO COLUMNS
|
||||
// @Temporal(TemporalType.TIMESTAMP)
|
||||
// @Column(name = "CREATED_AT", nullable = false, updatable = false)
|
||||
// @CreatedDate
|
||||
// private Date createdAt;
|
||||
//
|
||||
// @Temporal(TemporalType.TIMESTAMP)
|
||||
// @Column(name = "UPDATED_AT", nullable = false)
|
||||
// @LastModifiedDate
|
||||
// private Date updatedAt;
|
||||
//
|
||||
// @Column(name = "CREATED_BY", updatable = false)
|
||||
// private Long createdBy;
|
||||
//
|
||||
// @Column(name = "UPDATED_BY")
|
||||
// private Long updatedBy;
|
||||
//
|
||||
// @Column(name = "ACCOUNT_ID")
|
||||
// private Long accountId;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import com.realnet.fnd.entity.Rn_Who_AccId_Column;
|
||||
|
||||
import lombok.ToString;
|
||||
|
||||
@ToString
|
||||
@Entity
|
||||
@Table(name = "RN_BCF_TECHNOLOGY_STACK")
|
||||
public class Rn_Bcf_Technology_Stack1 extends Rn_Who_AccId_Column {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "ID")
|
||||
private Integer id;
|
||||
|
||||
@Column(name = "TECH_STACK")
|
||||
private String tech_stack;
|
||||
|
||||
@Column(name = "TECH_STACK_KEY")
|
||||
private String tech_stack_key;
|
||||
|
||||
// Big text
|
||||
@Column(name = "TAGS")
|
||||
private String tags;
|
||||
|
||||
@Column(name = "BASE_PRJ_FILE_NAME")
|
||||
private String base_prj_file_name;
|
||||
|
||||
@Column(name = "IS_ACTIVE")
|
||||
private boolean active;
|
||||
|
||||
public Rn_Bcf_Technology_Stack1() {
|
||||
super();
|
||||
}
|
||||
|
||||
public Rn_Bcf_Technology_Stack1(Integer id, String tech_stack, String tech_stack_key, String tags,
|
||||
String base_prj_file_name, boolean active) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.tech_stack = tech_stack;
|
||||
this.tech_stack_key = tech_stack_key;
|
||||
this.tags = tags;
|
||||
this.base_prj_file_name = base_prj_file_name;
|
||||
this.active = active;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTech_stack() {
|
||||
return tech_stack;
|
||||
}
|
||||
|
||||
public void setTech_stack(String tech_stack) {
|
||||
this.tech_stack = tech_stack;
|
||||
}
|
||||
|
||||
public String getTech_stack_key() {
|
||||
return tech_stack_key;
|
||||
}
|
||||
|
||||
public void setTech_stack_key(String tech_stack_key) {
|
||||
this.tech_stack_key = tech_stack_key;
|
||||
}
|
||||
|
||||
public String getTags() {
|
||||
return tags;
|
||||
}
|
||||
|
||||
public void setTags(String tags) {
|
||||
this.tags = tags;
|
||||
}
|
||||
|
||||
public String getBase_prj_file_name() {
|
||||
return base_prj_file_name;
|
||||
}
|
||||
|
||||
public void setBase_prj_file_name(String base_prj_file_name) {
|
||||
this.base_prj_file_name = base_prj_file_name;
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
return active;
|
||||
}
|
||||
|
||||
public void setActive(boolean active) {
|
||||
this.active = active;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
//@Data
|
||||
public class RuleCopyDTO {
|
||||
private String from_tech_stack;
|
||||
private String from_object_type;
|
||||
private String from_sub_object_type;
|
||||
private String to_tech_stack;
|
||||
private String to_object_type;
|
||||
private String to_sub_object_type;
|
||||
|
||||
public String getFrom_tech_stack() {
|
||||
return from_tech_stack;
|
||||
}
|
||||
|
||||
public void setFrom_tech_stack(String from_tech_stack) {
|
||||
this.from_tech_stack = from_tech_stack;
|
||||
}
|
||||
|
||||
public String getFrom_object_type() {
|
||||
return from_object_type;
|
||||
}
|
||||
|
||||
public void setFrom_object_type(String from_object_type) {
|
||||
this.from_object_type = from_object_type;
|
||||
}
|
||||
|
||||
public String getFrom_sub_object_type() {
|
||||
return from_sub_object_type;
|
||||
}
|
||||
|
||||
public void setFrom_sub_object_type(String from_sub_object_type) {
|
||||
this.from_sub_object_type = from_sub_object_type;
|
||||
}
|
||||
|
||||
public String getTo_tech_stack() {
|
||||
return to_tech_stack;
|
||||
}
|
||||
|
||||
public void setTo_tech_stack(String to_tech_stack) {
|
||||
this.to_tech_stack = to_tech_stack;
|
||||
}
|
||||
|
||||
public String getTo_object_type() {
|
||||
return to_object_type;
|
||||
}
|
||||
|
||||
public void setTo_object_type(String to_object_type) {
|
||||
this.to_object_type = to_object_type;
|
||||
}
|
||||
|
||||
public String getTo_sub_object_type() {
|
||||
return to_sub_object_type;
|
||||
}
|
||||
|
||||
public void setTo_sub_object_type(String to_sub_object_type) {
|
||||
this.to_sub_object_type = to_sub_object_type;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.realnet.codeextractor.entity;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
public class Rule_library_keyword {
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Integer id;
|
||||
|
||||
private String tech_stack;
|
||||
|
||||
private String object_type;
|
||||
|
||||
private String sub_object_type;
|
||||
|
||||
private String version;
|
||||
|
||||
private String replcement_string;
|
||||
private boolean isactive;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user