📄 x_ad_tab.java
字号:
public void setHelp (String Help)
{
if (Help != null && Help.length() > 2000)
{
log.warning("Length > 2000 - truncated");
Help = Help.substring(0,1999);
}
set_Value ("Help", Help);
}
/** Get Comment/Help.
Comment or Hint */
public String getHelp()
{
return (String)get_Value("Help");
}
/** Set Import Fields.
Create Fields from Table Columns */
public void setImportFields (String ImportFields)
{
if (ImportFields != null && ImportFields.length() > 1)
{
log.warning("Length > 1 - truncated");
ImportFields = ImportFields.substring(0,0);
}
set_Value ("ImportFields", ImportFields);
}
/** Get Import Fields.
Create Fields from Table Columns */
public String getImportFields()
{
return (String)get_Value("ImportFields");
}
/** Included_Tab_ID AD_Reference_ID=278 */
public static final int INCLUDED_TAB_ID_AD_Reference_ID=278;
/** Set Included Tab.
Included Tab in this Tab (Master Dateail) */
public void setIncluded_Tab_ID (int Included_Tab_ID)
{
if (Included_Tab_ID <= 0) set_Value ("Included_Tab_ID", null);
else
set_Value ("Included_Tab_ID", new Integer(Included_Tab_ID));
}
/** Get Included Tab.
Included Tab in this Tab (Master Dateail) */
public int getIncluded_Tab_ID()
{
Integer ii = (Integer)get_Value("Included_Tab_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Advanced Tab.
This Tab contains advanced Functionality */
public void setIsAdvancedTab (boolean IsAdvancedTab)
{
set_Value ("IsAdvancedTab", new Boolean(IsAdvancedTab));
}
/** Get Advanced Tab.
This Tab contains advanced Functionality */
public boolean isAdvancedTab()
{
Object oo = get_Value("IsAdvancedTab");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Accounting Tab.
This Tab contains accounting information */
public void setIsInfoTab (boolean IsInfoTab)
{
set_Value ("IsInfoTab", new Boolean(IsInfoTab));
}
/** Get Accounting Tab.
This Tab contains accounting information */
public boolean isInfoTab()
{
Object oo = get_Value("IsInfoTab");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Insert Record.
The user can insert a new Record */
public void setIsInsertRecord (boolean IsInsertRecord)
{
set_Value ("IsInsertRecord", new Boolean(IsInsertRecord));
}
/** Get Insert Record.
The user can insert a new Record */
public boolean isInsertRecord()
{
Object oo = get_Value("IsInsertRecord");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Read Only.
Field is read only */
public void setIsReadOnly (boolean IsReadOnly)
{
set_Value ("IsReadOnly", new Boolean(IsReadOnly));
}
/** Get Read Only.
Field is read only */
public boolean isReadOnly()
{
Object oo = get_Value("IsReadOnly");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Single Row Layout.
Default for toggle between Single- and Multi-Row (Grid) Layout */
public void setIsSingleRow (boolean IsSingleRow)
{
set_Value ("IsSingleRow", new Boolean(IsSingleRow));
}
/** Get Single Row Layout.
Default for toggle between Single- and Multi-Row (Grid) Layout */
public boolean isSingleRow()
{
Object oo = get_Value("IsSingleRow");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Order Tab.
The Tab determines the Order */
public void setIsSortTab (boolean IsSortTab)
{
set_Value ("IsSortTab", new Boolean(IsSortTab));
}
/** Get Order Tab.
The Tab determines the Order */
public boolean isSortTab()
{
Object oo = get_Value("IsSortTab");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set TranslationTab.
This Tab contains translation information */
public void setIsTranslationTab (boolean IsTranslationTab)
{
set_Value ("IsTranslationTab", new Boolean(IsTranslationTab));
}
/** Get TranslationTab.
This Tab contains translation information */
public boolean isTranslationTab()
{
Object oo = get_Value("IsTranslationTab");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Name.
Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
if (Name.length() > 60)
{
log.warning("Length > 60 - truncated");
Name = Name.substring(0,59);
}
set_Value ("Name", Name);
}
/** Get Name.
Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set Sql ORDER BY.
Fully qualified ORDER BY clause */
public void setOrderByClause (String OrderByClause)
{
if (OrderByClause != null && OrderByClause.length() > 2000)
{
log.warning("Length > 2000 - truncated");
OrderByClause = OrderByClause.substring(0,1999);
}
set_Value ("OrderByClause", OrderByClause);
}
/** Get Sql ORDER BY.
Fully qualified ORDER BY clause */
public String getOrderByClause()
{
return (String)get_Value("OrderByClause");
}
/** Set Process Now */
public void setProcessing (boolean Processing)
{
set_Value ("Processing", new Boolean(Processing));
}
/** Get Process Now */
public boolean isProcessing()
{
Object oo = get_Value("Processing");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Read Only Logic.
Logic to determine if field is read only (applies only when field is read-write) */
public void setReadOnlyLogic (String ReadOnlyLogic)
{
if (ReadOnlyLogic != null && ReadOnlyLogic.length() > 2000)
{
log.warning("Length > 2000 - truncated");
ReadOnlyLogic = ReadOnlyLogic.substring(0,1999);
}
set_Value ("ReadOnlyLogic", ReadOnlyLogic);
}
/** Get Read Only Logic.
Logic to determine if field is read only (applies only when field is read-write) */
public String getReadOnlyLogic()
{
return (String)get_Value("ReadOnlyLogic");
}
/** Set Sequence.
Method of ordering records;
lowest number comes first */
public void setSeqNo (int SeqNo)
{
set_Value ("SeqNo", new Integer(SeqNo));
}
/** Get Sequence.
Method of ordering records;
lowest number comes first */
public int getSeqNo()
{
Integer ii = (Integer)get_Value("SeqNo");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Tab Level.
Hierarchical Tab Level (0 = top) */
public void setTabLevel (int TabLevel)
{
set_Value ("TabLevel", new Integer(TabLevel));
}
/** Get Tab Level.
Hierarchical Tab Level (0 = top) */
public int getTabLevel()
{
Integer ii = (Integer)get_Value("TabLevel");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Sql WHERE.
Fully qualified SQL WHERE clause */
public void setWhereClause (String WhereClause)
{
if (WhereClause != null && WhereClause.length() > 2000)
{
log.warning("Length > 2000 - truncated");
WhereClause = WhereClause.substring(0,1999);
}
set_Value ("WhereClause", WhereClause);
}
/** Get Sql WHERE.
Fully qualified SQL WHERE clause */
public String getWhereClause()
{
return (String)get_Value("WhereClause");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -