-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
AD_Process.Name
when editing AD_Process_Trl.Name
for base …
…language (#10250) * Add PO files for AD_Process_Trl #10232 Signed-off-by: TheBestPessimist <cristian@tbp.land> * Update `AD_Process` from `AD_Process_Trl` if trl is in base language #10232 Signed-off-by: TheBestPessimist <cristian@tbp.land> * Set the base language to also be a system language #10232 Signed-off-by: TheBestPessimist <cristian@tbp.land>
- Loading branch information
1 parent
6b1cf03
commit 53ee181
Showing
6 changed files
with
460 additions
and
0 deletions.
There are no files selected for viewing
262 changes: 262 additions & 0 deletions
262
...metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/I_AD_Process_Trl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,262 @@ | ||
package org.compiere.model; | ||
|
||
import javax.annotation.Nullable; | ||
import org.adempiere.model.ModelColumn; | ||
|
||
/** Generated Interface for AD_Process_Trl | ||
* @author metasfresh (generated) | ||
*/ | ||
public interface I_AD_Process_Trl | ||
{ | ||
|
||
String Table_Name = "AD_Process_Trl"; | ||
|
||
// /** AD_Table_ID=287 */ | ||
// int Table_ID = org.compiere.model.MTable.getTable_ID(Table_Name); | ||
|
||
|
||
/** | ||
* Get Client. | ||
* Client/Tenant for this installation. | ||
* | ||
* <br>Type: TableDir | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
int getAD_Client_ID(); | ||
|
||
String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; | ||
|
||
/** | ||
* Set Language. | ||
* Language for this entity | ||
* | ||
* <br>Type: Table | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
void setAD_Language (java.lang.String AD_Language); | ||
|
||
/** | ||
* Get Language. | ||
* Language for this entity | ||
* | ||
* <br>Type: Table | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
java.lang.String getAD_Language(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_AD_Language = new ModelColumn<>(I_AD_Process_Trl.class, "AD_Language", null); | ||
String COLUMNNAME_AD_Language = "AD_Language"; | ||
|
||
/** | ||
* Set Organisation. | ||
* Organisational entity within client | ||
* | ||
* <br>Type: Search | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
void setAD_Org_ID (int AD_Org_ID); | ||
|
||
/** | ||
* Get Organisation. | ||
* Organisational entity within client | ||
* | ||
* <br>Type: Search | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
int getAD_Org_ID(); | ||
|
||
String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; | ||
|
||
/** | ||
* Set Prozess. | ||
* Process or Report | ||
* | ||
* <br>Type: TableDir | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
void setAD_Process_ID (int AD_Process_ID); | ||
|
||
/** | ||
* Get Prozess. | ||
* Process or Report | ||
* | ||
* <br>Type: TableDir | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
int getAD_Process_ID(); | ||
|
||
org.compiere.model.I_AD_Process getAD_Process(); | ||
|
||
void setAD_Process(org.compiere.model.I_AD_Process AD_Process); | ||
|
||
ModelColumn<I_AD_Process_Trl, org.compiere.model.I_AD_Process> COLUMN_AD_Process_ID = new ModelColumn<>(I_AD_Process_Trl.class, "AD_Process_ID", org.compiere.model.I_AD_Process.class); | ||
String COLUMNNAME_AD_Process_ID = "AD_Process_ID"; | ||
|
||
/** | ||
* Get Created. | ||
* Date this record was created | ||
* | ||
* <br>Type: DateTime | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
java.sql.Timestamp getCreated(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_Created = new ModelColumn<>(I_AD_Process_Trl.class, "Created", null); | ||
String COLUMNNAME_Created = "Created"; | ||
|
||
/** | ||
* Get Created By. | ||
* User who created this records | ||
* | ||
* <br>Type: Table | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
int getCreatedBy(); | ||
|
||
String COLUMNNAME_CreatedBy = "CreatedBy"; | ||
|
||
/** | ||
* Set Description. | ||
* | ||
* <br>Type: Text | ||
* <br>Mandatory: false | ||
* <br>Virtual Column: false | ||
*/ | ||
void setDescription (@Nullable java.lang.String Description); | ||
|
||
/** | ||
* Get Description. | ||
* | ||
* <br>Type: Text | ||
* <br>Mandatory: false | ||
* <br>Virtual Column: false | ||
*/ | ||
@Nullable java.lang.String getDescription(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_Description = new ModelColumn<>(I_AD_Process_Trl.class, "Description", null); | ||
String COLUMNNAME_Description = "Description"; | ||
|
||
/** | ||
* Set Help. | ||
* Comment or Hint | ||
* | ||
* <br>Type: Text | ||
* <br>Mandatory: false | ||
* <br>Virtual Column: false | ||
*/ | ||
void setHelp (@Nullable java.lang.String Help); | ||
|
||
/** | ||
* Get Help. | ||
* Comment or Hint | ||
* | ||
* <br>Type: Text | ||
* <br>Mandatory: false | ||
* <br>Virtual Column: false | ||
*/ | ||
@Nullable java.lang.String getHelp(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_Help = new ModelColumn<>(I_AD_Process_Trl.class, "Help", null); | ||
String COLUMNNAME_Help = "Help"; | ||
|
||
/** | ||
* Set Active. | ||
* The record is active in the system | ||
* | ||
* <br>Type: YesNo | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
void setIsActive (boolean IsActive); | ||
|
||
/** | ||
* Get Active. | ||
* The record is active in the system | ||
* | ||
* <br>Type: YesNo | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
boolean isActive(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_IsActive = new ModelColumn<>(I_AD_Process_Trl.class, "IsActive", null); | ||
String COLUMNNAME_IsActive = "IsActive"; | ||
|
||
/** | ||
* Set Translated. | ||
* This column is translated | ||
* | ||
* <br>Type: YesNo | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
void setIsTranslated (boolean IsTranslated); | ||
|
||
/** | ||
* Get Translated. | ||
* This column is translated | ||
* | ||
* <br>Type: YesNo | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
boolean isTranslated(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_IsTranslated = new ModelColumn<>(I_AD_Process_Trl.class, "IsTranslated", null); | ||
String COLUMNNAME_IsTranslated = "IsTranslated"; | ||
|
||
/** | ||
* Set Name. | ||
* | ||
* <br>Type: String | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
void setName (java.lang.String Name); | ||
|
||
/** | ||
* Get Name. | ||
* | ||
* <br>Type: String | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
java.lang.String getName(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_Name = new ModelColumn<>(I_AD_Process_Trl.class, "Name", null); | ||
String COLUMNNAME_Name = "Name"; | ||
|
||
/** | ||
* Get Updated. | ||
* Date this record was updated | ||
* | ||
* <br>Type: DateTime | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
java.sql.Timestamp getUpdated(); | ||
|
||
ModelColumn<I_AD_Process_Trl, Object> COLUMN_Updated = new ModelColumn<>(I_AD_Process_Trl.class, "Updated", null); | ||
String COLUMNNAME_Updated = "Updated"; | ||
|
||
/** | ||
* Get Updated By. | ||
* User who updated this records | ||
* | ||
* <br>Type: Table | ||
* <br>Mandatory: true | ||
* <br>Virtual Column: false | ||
*/ | ||
int getUpdatedBy(); | ||
|
||
String COLUMNNAME_UpdatedBy = "UpdatedBy"; | ||
} |
127 changes: 127 additions & 0 deletions
127
...metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_AD_Process_Trl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
// Generated Model - DO NOT CHANGE | ||
package org.compiere.model; | ||
|
||
import java.sql.ResultSet; | ||
import java.util.Properties; | ||
import javax.annotation.Nullable; | ||
|
||
/** Generated Model for AD_Process_Trl | ||
* @author metasfresh (generated) | ||
*/ | ||
public class X_AD_Process_Trl extends org.compiere.model.PO implements I_AD_Process_Trl, org.compiere.model.I_Persistent | ||
{ | ||
|
||
private static final long serialVersionUID = 367610936L; | ||
|
||
/** Standard Constructor */ | ||
public X_AD_Process_Trl (final Properties ctx, final int AD_Process_Trl_ID, @Nullable final String trxName) | ||
{ | ||
super (ctx, AD_Process_Trl_ID, trxName); | ||
} | ||
|
||
/** Load Constructor */ | ||
public X_AD_Process_Trl (final Properties ctx, final ResultSet rs, @Nullable final String trxName) | ||
{ | ||
super (ctx, rs, trxName); | ||
} | ||
|
||
|
||
/** Load Meta Data */ | ||
@Override | ||
protected org.compiere.model.POInfo initPO(final Properties ctx) | ||
{ | ||
return org.compiere.model.POInfo.getPOInfo(Table_Name); | ||
} | ||
|
||
/** | ||
* AD_Language AD_Reference_ID=106 | ||
* Reference name: AD_Language | ||
*/ | ||
public static final int AD_LANGUAGE_AD_Reference_ID=106; | ||
@Override | ||
public void setAD_Language (final java.lang.String AD_Language) | ||
{ | ||
set_ValueNoCheck (COLUMNNAME_AD_Language, AD_Language); | ||
} | ||
|
||
@Override | ||
public java.lang.String getAD_Language() | ||
{ | ||
return get_ValueAsString(COLUMNNAME_AD_Language); | ||
} | ||
|
||
@Override | ||
public org.compiere.model.I_AD_Process getAD_Process() | ||
{ | ||
return get_ValueAsPO(COLUMNNAME_AD_Process_ID, org.compiere.model.I_AD_Process.class); | ||
} | ||
|
||
@Override | ||
public void setAD_Process(final org.compiere.model.I_AD_Process AD_Process) | ||
{ | ||
set_ValueFromPO(COLUMNNAME_AD_Process_ID, org.compiere.model.I_AD_Process.class, AD_Process); | ||
} | ||
|
||
@Override | ||
public void setAD_Process_ID (final int AD_Process_ID) | ||
{ | ||
if (AD_Process_ID < 1) | ||
set_ValueNoCheck (COLUMNNAME_AD_Process_ID, null); | ||
else | ||
set_ValueNoCheck (COLUMNNAME_AD_Process_ID, AD_Process_ID); | ||
} | ||
|
||
@Override | ||
public int getAD_Process_ID() | ||
{ | ||
return get_ValueAsInt(COLUMNNAME_AD_Process_ID); | ||
} | ||
|
||
@Override | ||
public void setDescription (final java.lang.String Description) | ||
{ | ||
set_Value (COLUMNNAME_Description, Description); | ||
} | ||
|
||
@Override | ||
public java.lang.String getDescription() | ||
{ | ||
return get_ValueAsString(COLUMNNAME_Description); | ||
} | ||
|
||
@Override | ||
public void setHelp (final java.lang.String Help) | ||
{ | ||
set_Value (COLUMNNAME_Help, Help); | ||
} | ||
|
||
@Override | ||
public java.lang.String getHelp() | ||
{ | ||
return get_ValueAsString(COLUMNNAME_Help); | ||
} | ||
|
||
@Override | ||
public void setIsTranslated (final boolean IsTranslated) | ||
{ | ||
set_Value (COLUMNNAME_IsTranslated, IsTranslated); | ||
} | ||
|
||
@Override | ||
public boolean isTranslated() | ||
{ | ||
return get_ValueAsBoolean(COLUMNNAME_IsTranslated); | ||
} | ||
|
||
@Override | ||
public void setName (final java.lang.String Name) | ||
{ | ||
set_Value (COLUMNNAME_Name, Name); | ||
} | ||
|
||
@Override | ||
public java.lang.String getName() | ||
{ | ||
return get_ValueAsString(COLUMNNAME_Name); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.