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
Generated Model for AD_MigrationScript
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Status AD_Reference_ID=53239static final String
Completed = COstatic final String
Error = ERstatic final String
In Progress = IPFields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_AD_MigrationScript
(Properties ctx, int AD_MigrationScript_ID, String trxName) Standard ConstructorX_AD_MigrationScript
(Properties ctx, int AD_MigrationScript_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_MigrationScript
(Properties ctx, String AD_MigrationScript_UU, String trxName) Standard ConstructorX_AD_MigrationScript
(Properties ctx, String AD_MigrationScript_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_MigrationScript
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Migration Script.Get AD_MigrationScript_UU.Get Description.Get Developer Name.Get File Name.Get Record ID/ColumnNamegetName()
Get Name.Get Project.Get Reference.Get Release No.byte[]
Get Script.Get Roll the Script.Get Status.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
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
Set Status.void
Set URL.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
STATUS_AD_Reference_ID
public static final int STATUS_AD_Reference_IDStatus AD_Reference_ID=53239- See Also:
-
STATUS_Completed
Completed = CO- See Also:
-
STATUS_Error
Error = ER- See Also:
-
STATUS_InProgress
In Progress = IP- See Also:
-
-
Constructor Details
-
X_AD_MigrationScript
Standard Constructor -
X_AD_MigrationScript
public X_AD_MigrationScript(Properties ctx, int AD_MigrationScript_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_MigrationScript
Standard Constructor -
X_AD_MigrationScript
public X_AD_MigrationScript(Properties ctx, String AD_MigrationScript_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_MigrationScript
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
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
Set AD_MigrationScript_UU.- Specified by:
setAD_MigrationScript_UU
in interfaceI_AD_MigrationScript
- Parameters:
AD_MigrationScript_UU
- AD_MigrationScript_UU
-
getAD_MigrationScript_UU
Get AD_MigrationScript_UU.- Specified by:
getAD_MigrationScript_UU
in interfaceI_AD_MigrationScript
- Returns:
- AD_MigrationScript_UU
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_MigrationScript
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_MigrationScript
- Returns:
- Optional short description of the record
-
setDeveloperName
Set Developer Name.- Specified by:
setDeveloperName
in interfaceI_AD_MigrationScript
- Parameters:
DeveloperName
- Developer Name
-
getDeveloperName
Get Developer Name.- Specified by:
getDeveloperName
in interfaceI_AD_MigrationScript
- Returns:
- Developer Name
-
setFileName
Set File Name.- Specified by:
setFileName
in interfaceI_AD_MigrationScript
- Parameters:
FileName
- Name of the local file or URL
-
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
Set Name.- Specified by:
setName
in interfaceI_AD_MigrationScript
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_MigrationScript
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProjectName
Set Project.- Specified by:
setProjectName
in interfaceI_AD_MigrationScript
- Parameters:
ProjectName
- Name of the Project
-
getProjectName
Get Project.- Specified by:
getProjectName
in interfaceI_AD_MigrationScript
- Returns:
- Name of the Project
-
setReference
Set Reference.- Specified by:
setReference
in interfaceI_AD_MigrationScript
- Parameters:
Reference
- Reference for this record
-
getReference
Get Reference.- Specified by:
getReference
in interfaceI_AD_MigrationScript
- Returns:
- Reference for this record
-
setReleaseNo
Set Release No.- Specified by:
setReleaseNo
in interfaceI_AD_MigrationScript
- Parameters:
ReleaseNo
- Internal Release Number
-
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
Set Roll the Script.- Specified by:
setScriptRoll
in interfaceI_AD_MigrationScript
- Parameters:
ScriptRoll
- Roll the Script
-
getScriptRoll
Get Roll the Script.- Specified by:
getScriptRoll
in interfaceI_AD_MigrationScript
- Returns:
- Roll the Script
-
setStatus
Set Status.- Specified by:
setStatus
in interfaceI_AD_MigrationScript
- Parameters:
Status
- Status of the currently running check
-
getStatus
Get Status.- Specified by:
getStatus
in interfaceI_AD_MigrationScript
- Returns:
- Status of the currently running check
-
setURL
Set URL.- Specified by:
setURL
in interfaceI_AD_MigrationScript
- Parameters:
URL
- Full URL address - e.g. http://www.idempiere.org
-
getURL
Get URL.- Specified by:
getURL
in interfaceI_AD_MigrationScript
- Returns:
- Full URL address - e.g. http://www.idempiere.org
-