Package org.compiere.model
Class X_AD_MigrationScript
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_MigrationScript
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_MigrationScript
,I_Persistent
,Evaluatee
public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_Persistent
Generated Model for AD_MigrationScript- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_AD_Reference_ID
Status AD_Reference_ID=53239static String
STATUS_Completed
Completed = COstatic String
STATUS_Error
Error = ERstatic String
STATUS_InProgress
In Progress = IP-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_MigrationScript
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_MigrationScript_ID, COLUMNNAME_AD_MigrationScript_UU, COLUMNNAME_AD_Org_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DeveloperName, COLUMNNAME_FileName, COLUMNNAME_IsActive, COLUMNNAME_isApply, COLUMNNAME_Name, COLUMNNAME_ProjectName, COLUMNNAME_Reference, COLUMNNAME_ReleaseNo, COLUMNNAME_Script, COLUMNNAME_ScriptRoll, COLUMNNAME_Status, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_URL, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_MigrationScript(Properties ctx, int AD_MigrationScript_ID, String trxName)
Standard ConstructorX_AD_MigrationScript(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelint
getAD_MigrationScript_ID()
Get Migration Script.String
getAD_MigrationScript_UU()
Get AD_MigrationScript_UU.String
getDescription()
Get Description.String
getDeveloperName()
Get Developer Name.String
getFileName()
Get File Name.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getProjectName()
Get Project.String
getReference()
Get Reference.String
getReleaseNo()
Get Release No.byte[]
getScript()
Get Script.String
getScriptRoll()
Get Roll the Script.String
getStatus()
Get Status.String
getURL()
Get URL.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isApply()
Get Apply Script.void
setAD_MigrationScript_ID(int AD_MigrationScript_ID)
Set Migration Script.void
setAD_MigrationScript_UU(String AD_MigrationScript_UU)
Set AD_MigrationScript_UU.void
setDescription(String Description)
Set Description.void
setDeveloperName(String DeveloperName)
Set Developer Name.void
setFileName(String FileName)
Set File Name.void
setisApply(boolean isApply)
Set Apply Script.void
setName(String Name)
Set Name.void
setProjectName(String ProjectName)
Set Project.void
setReference(String Reference)
Set Reference.void
setReleaseNo(String ReleaseNo)
Set Release No.void
setScript(byte[] Script)
Set Script.void
setScriptRoll(String ScriptRoll)
Set Roll the Script.void
setStatus(String Status)
Set Status.void
setURL(String URL)
Set URL.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_AD_MigrationScript
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
STATUS_AD_Reference_ID
public static final int STATUS_AD_Reference_ID
Status AD_Reference_ID=53239- See Also:
- Constant Field Values
-
STATUS_Completed
public static final String STATUS_Completed
Completed = CO- See Also:
- Constant Field Values
-
STATUS_Error
public static final String STATUS_Error
Error = ER- See Also:
- Constant Field Values
-
STATUS_InProgress
public static final String STATUS_InProgress
In Progress = IP- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_MigrationScript
public X_AD_MigrationScript(Properties ctx, int AD_MigrationScript_ID, String trxName)
Standard Constructor
-
X_AD_MigrationScript
public X_AD_MigrationScript(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAD_MigrationScript_ID
public void setAD_MigrationScript_ID(int AD_MigrationScript_ID)
Set Migration Script.- Specified by:
setAD_MigrationScript_ID
in interfaceI_AD_MigrationScript
- Parameters:
AD_MigrationScript_ID
- Table to check whether the migration script has been applied
-
getAD_MigrationScript_ID
public int getAD_MigrationScript_ID()
Get Migration Script.- Specified by:
getAD_MigrationScript_ID
in interfaceI_AD_MigrationScript
- Returns:
- Table to check whether the migration script has been applied
-
setAD_MigrationScript_UU
public void setAD_MigrationScript_UU(String AD_MigrationScript_UU)
Set AD_MigrationScript_UU.- Specified by:
setAD_MigrationScript_UU
in interfaceI_AD_MigrationScript
- Parameters:
AD_MigrationScript_UU
- AD_MigrationScript_UU
-
getAD_MigrationScript_UU
public String getAD_MigrationScript_UU()
Get AD_MigrationScript_UU.- Specified by:
getAD_MigrationScript_UU
in interfaceI_AD_MigrationScript
- Returns:
- AD_MigrationScript_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_MigrationScript
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_MigrationScript
- Returns:
- Optional short description of the record
-
setDeveloperName
public void setDeveloperName(String DeveloperName)
Set Developer Name.- Specified by:
setDeveloperName
in interfaceI_AD_MigrationScript
- Parameters:
DeveloperName
- Developer Name
-
getDeveloperName
public String getDeveloperName()
Get Developer Name.- Specified by:
getDeveloperName
in interfaceI_AD_MigrationScript
- Returns:
- Developer Name
-
setFileName
public void setFileName(String FileName)
Set File Name.- Specified by:
setFileName
in interfaceI_AD_MigrationScript
- Parameters:
FileName
- Name of the local file or URL
-
getFileName
public String getFileName()
Get File Name.- Specified by:
getFileName
in interfaceI_AD_MigrationScript
- Returns:
- Name of the local file or URL
-
setisApply
public void setisApply(boolean isApply)
Set Apply Script.- Specified by:
setisApply
in interfaceI_AD_MigrationScript
- Parameters:
isApply
- Apply Script
-
isApply
public boolean isApply()
Get Apply Script.- Specified by:
isApply
in interfaceI_AD_MigrationScript
- Returns:
- Apply Script
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_MigrationScript
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_MigrationScript
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProjectName
public void setProjectName(String ProjectName)
Set Project.- Specified by:
setProjectName
in interfaceI_AD_MigrationScript
- Parameters:
ProjectName
- Name of the Project
-
getProjectName
public String getProjectName()
Get Project.- Specified by:
getProjectName
in interfaceI_AD_MigrationScript
- Returns:
- Name of the Project
-
setReference
public void setReference(String Reference)
Set Reference.- Specified by:
setReference
in interfaceI_AD_MigrationScript
- Parameters:
Reference
- Reference for this record
-
getReference
public String getReference()
Get Reference.- Specified by:
getReference
in interfaceI_AD_MigrationScript
- Returns:
- Reference for this record
-
setReleaseNo
public void setReleaseNo(String ReleaseNo)
Set Release No.- Specified by:
setReleaseNo
in interfaceI_AD_MigrationScript
- Parameters:
ReleaseNo
- Internal Release Number
-
getReleaseNo
public String getReleaseNo()
Get Release No.- Specified by:
getReleaseNo
in interfaceI_AD_MigrationScript
- Returns:
- Internal Release Number
-
setScript
public void setScript(byte[] Script)
Set Script.- Specified by:
setScript
in interfaceI_AD_MigrationScript
- Parameters:
Script
- Dynamic Java Language Script to calculate result
-
getScript
public byte[] getScript()
Get Script.- Specified by:
getScript
in interfaceI_AD_MigrationScript
- Returns:
- Dynamic Java Language Script to calculate result
-
setScriptRoll
public void setScriptRoll(String ScriptRoll)
Set Roll the Script.- Specified by:
setScriptRoll
in interfaceI_AD_MigrationScript
- Parameters:
ScriptRoll
- Roll the Script
-
getScriptRoll
public String getScriptRoll()
Get Roll the Script.- Specified by:
getScriptRoll
in interfaceI_AD_MigrationScript
- Returns:
- Roll the Script
-
setStatus
public void setStatus(String Status)
Set Status.- Specified by:
setStatus
in interfaceI_AD_MigrationScript
- Parameters:
Status
- Status of the currently running check
-
getStatus
public String getStatus()
Get Status.- Specified by:
getStatus
in interfaceI_AD_MigrationScript
- Returns:
- Status of the currently running check
-
setURL
public void setURL(String URL)
Set URL.- Specified by:
setURL
in interfaceI_AD_MigrationScript
- Parameters:
URL
- Full URL address - e.g. http://www.idempiere.org
-
getURL
public String getURL()
Get URL.- Specified by:
getURL
in interfaceI_AD_MigrationScript
- Returns:
- Full URL address - e.g. http://www.idempiere.org
-
-