📄 x_ad_system.java
字号:
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 Processors.
Number of Database Processors */
public void setNoProcessors (int NoProcessors)
{
set_Value ("NoProcessors", new Integer(NoProcessors));
}
/** Get Processors.
Number of Database Processors */
public int getNoProcessors()
{
Integer ii = (Integer)get_Value("NoProcessors");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Old Name */
public void setOldName (String OldName)
{
if (OldName != null && OldName.length() > 60)
{
log.warning("Length > 60 - truncated");
OldName = OldName.substring(0,59);
}
set_ValueNoCheck ("OldName", OldName);
}
/** Get Old Name */
public String getOldName()
{
return (String)get_Value("OldName");
}
/** Set Password.
Password of any length (case sensitive) */
public void setPassword (String Password)
{
if (Password == null) throw new IllegalArgumentException ("Password is mandatory.");
if (Password.length() > 20)
{
log.warning("Length > 20 - truncated");
Password = Password.substring(0,19);
}
set_Value ("Password", Password);
}
/** Get Password.
Password of any length (case sensitive) */
public String getPassword()
{
return (String)get_Value("Password");
}
/** 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 Profile.
Information to help profiling the system for solving support issues */
public void setProfileInfo (String ProfileInfo)
{
if (ProfileInfo != null && ProfileInfo.length() > 60)
{
log.warning("Length > 60 - truncated");
ProfileInfo = ProfileInfo.substring(0,59);
}
set_ValueNoCheck ("ProfileInfo", ProfileInfo);
}
/** Get Profile.
Information to help profiling the system for solving support issues */
public String getProfileInfo()
{
return (String)get_Value("ProfileInfo");
}
/** Set Record ID.
Direct internal record ID */
public void setRecord_ID (int Record_ID)
{
if (Record_ID <= 0) set_Value ("Record_ID", null);
else
set_Value ("Record_ID", new Integer(Record_ID));
}
/** Get Record ID.
Direct internal record ID */
public int getRecord_ID()
{
Integer ii = (Integer)get_Value("Record_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Release No.
Internal Release Number */
public void setReleaseNo (String ReleaseNo)
{
if (ReleaseNo != null && ReleaseNo.length() > 4)
{
log.warning("Length > 4 - truncated");
ReleaseNo = ReleaseNo.substring(0,3);
}
set_ValueNoCheck ("ReleaseNo", ReleaseNo);
}
/** Get Release No.
Internal Release Number */
public String getReleaseNo()
{
return (String)get_Value("ReleaseNo");
}
/** ReplicationType AD_Reference_ID=126 */
public static final int REPLICATIONTYPE_AD_Reference_ID=126;
/** Local = L */
public static final String REPLICATIONTYPE_Local = "L";
/** Merge = M */
public static final String REPLICATIONTYPE_Merge = "M";
/** Reference = R */
public static final String REPLICATIONTYPE_Reference = "R";
/** Set Replication Type.
Type of Data Replication */
public void setReplicationType (String ReplicationType)
{
if (ReplicationType == null) throw new IllegalArgumentException ("ReplicationType is mandatory");
if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R"));
else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R");
if (ReplicationType.length() > 1)
{
log.warning("Length > 1 - truncated");
ReplicationType = ReplicationType.substring(0,0);
}
set_Value ("ReplicationType", ReplicationType);
}
/** Get Replication Type.
Type of Data Replication */
public String getReplicationType()
{
return (String)get_Value("ReplicationType");
}
/** Set Statistics.
Information to help profiling the system for solving support issues */
public void setStatisticsInfo (String StatisticsInfo)
{
if (StatisticsInfo != null && StatisticsInfo.length() > 60)
{
log.warning("Length > 60 - truncated");
StatisticsInfo = StatisticsInfo.substring(0,59);
}
set_ValueNoCheck ("StatisticsInfo", StatisticsInfo);
}
/** Get Statistics.
Information to help profiling the system for solving support issues */
public String getStatisticsInfo()
{
return (String)get_Value("StatisticsInfo");
}
/** Set Summary.
Textual summary of this request */
public void setSummary (String Summary)
{
if (Summary != null && Summary.length() > 255)
{
log.warning("Length > 255 - truncated");
Summary = Summary.substring(0,254);
}
set_Value ("Summary", Summary);
}
/** Get Summary.
Textual summary of this request */
public String getSummary()
{
return (String)get_Value("Summary");
}
/** Set Support EMail.
EMail address to send support information and updates to */
public void setSupportEMail (String SupportEMail)
{
if (SupportEMail != null && SupportEMail.length() > 60)
{
log.warning("Length > 60 - truncated");
SupportEMail = SupportEMail.substring(0,59);
}
set_Value ("SupportEMail", SupportEMail);
}
/** Get Support EMail.
EMail address to send support information and updates to */
public String getSupportEMail()
{
return (String)get_Value("SupportEMail");
}
/** Set Support Expires.
Date when the Compiere support expires */
public void setSupportExpDate (Timestamp SupportExpDate)
{
set_ValueNoCheck ("SupportExpDate", SupportExpDate);
}
/** Get Support Expires.
Date when the Compiere support expires */
public Timestamp getSupportExpDate()
{
return (Timestamp)get_Value("SupportExpDate");
}
/** Set Internal Users.
Number of Internal Users for ComPiere Support */
public void setSupportUnits (int SupportUnits)
{
set_ValueNoCheck ("SupportUnits", new Integer(SupportUnits));
}
/** Get Internal Users.
Number of Internal Users for ComPiere Support */
public int getSupportUnits()
{
Integer ii = (Integer)get_Value("SupportUnits");
if (ii == null) return 0;
return ii.intValue();
}
/** SystemStatus AD_Reference_ID=374 */
public static final int SYSTEMSTATUS_AD_Reference_ID=374;
/** Evaluation = E */
public static final String SYSTEMSTATUS_Evaluation = "E";
/** Implementation = I */
public static final String SYSTEMSTATUS_Implementation = "I";
/** Production = P */
public static final String SYSTEMSTATUS_Production = "P";
/** Set System Status.
Status of the system - Support priority depends on system status */
public void setSystemStatus (String SystemStatus)
{
if (SystemStatus == null) throw new IllegalArgumentException ("SystemStatus is mandatory");
if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P"));
else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P");
if (SystemStatus.length() > 1)
{
log.warning("Length > 1 - truncated");
SystemStatus = SystemStatus.substring(0,0);
}
set_Value ("SystemStatus", SystemStatus);
}
/** Get System Status.
Status of the system - Support priority depends on system status */
public String getSystemStatus()
{
return (String)get_Value("SystemStatus");
}
/** Set Registered EMail.
Email of the responsible for the System */
public void setUserName (String UserName)
{
if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory.");
if (UserName.length() > 60)
{
log.warning("Length > 60 - truncated");
UserName = UserName.substring(0,59);
}
set_Value ("UserName", UserName);
}
/** Get Registered EMail.
Email of the responsible for the System */
public String getUserName()
{
return (String)get_Value("UserName");
}
/** Set Version.
Version of the table definition */
public void setVersion (String Version)
{
if (Version == null) throw new IllegalArgumentException ("Version is mandatory.");
if (Version.length() > 20)
{
log.warning("Length > 20 - truncated");
Version = Version.substring(0,19);
}
set_ValueNoCheck ("Version", Version);
}
/** Get Version.
Version of the table definition */
public String getVersion()
{
return (String)get_Value("Version");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -