View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Reference/Entity Model/ADModule

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers_Guide/Reference/Entity_Model#ADModule


ADModule

Contains the information about the currently installed modules and defines which of them are active for development.

To the database table (AD_Module) of this entity.

Properties

Note:

Property Column Constraints Type Description
id* AD_Module_ID Mandatory
Max Length: 32
java.lang.String Indicates the module the element forms part of.
client AD_Client_ID Mandatory
ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Mandatory
Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
active IsActive Mandatory
java.lang.Boolean There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

creationDate Created Mandatory
java.util.Date The Created field indicates the date that this record was created.
createdBy CreatedBy Mandatory
ADUser The Created By field indicates the user who created this record.
updated Updated Mandatory
java.util.Date The Updated field indicates the date that this record was updated.
updatedBy UpdatedBy Mandatory
ADUser The Updated By field indicates the user who updated this record.
name# Name Mandatory
Max Length: 60
java.lang.String A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
version# Version Mandatory
Max Length: 10
java.lang.String The Version indicates the version of this table definition.
description Description Mandatory
Max Length: 255
java.lang.String A description is limited to 255 characters.
helpComment Help Max Length: 2000
java.lang.String The Help field contains a hint, comment or help about the use of this item.
uRL URL Max Length: 300
java.lang.String The URL defines an online address for this element.
type Type Mandatory
Max Length: 60
java.lang.String The Type indicates the type of validation that will occur. This can be SQL, Java Script or Java Language.
licenseText License Max Length: 2000
java.lang.String Contains the text of the license the module is release with, this information is additional to the license type.
inDevelopment IsInDevelopment java.lang.Boolean Determines wether the module is currently in development process. Only the modules that currently are being developed will be exported.
default IsDefault java.lang.Boolean The Default Checkbox indicates if this record will be used as a default value.
sequenceNumber Seqno java.lang.Long The Sequence indicates the order of records
javaPackage JavaPackage Mandatory
Max Length: 255
java.lang.String The Java Package is a unique identifier of your module and has to match the Java package naming rules as described in the Java Naming Conventions (names and package names). Be careful when setting this value as you are not allowed to change it once your module is registered in the central repository. If your module includes Java files they have to be packaged within your module's Java package or in its sub-packages.
licenseType LicenseType Max Length: 60
java.lang.String There is a list of possible licenses to select one of them for the current element.
author Author Max Length: 2000
java.lang.String The author of the module is the person or company that created and maintains the module.
status Status Max Length: 60
java.lang.String Current status of a debt/payment.
availableUpdate Update_Available Max Length: 10
java.lang.String Indicates whether and which new version is available to update a module
translationRequired IsTranslationRequired java.lang.Boolean The current module contains user interface elements that can be translated to different languages.
language# AD_Language ADLanguage The Language identifies the language to use for display
hasChartOfAccounts HasChartOfAccounts Mandatory
java.lang.Boolean The module contains a chart of accounts
isTranslationModule IsTranslationModule Mandatory
java.lang.Boolean This module is a translation module
hasReferenceData HasReferenceData Mandatory
java.lang.Boolean The module contains reference data
registerModule IsRegistered java.lang.Boolean Indicates whether the module is registered in the Central Repository and in case it is not, it allows to register it.
updateInformation UpdateInfo Max Length: 2000
java.lang.String Information about the update, this information should include what is new for the new version.
updateVersion Update_Ver_ID Max Length: 32
java.lang.String Identifier for the Update Version
referenceDataDescription ReferenceDataInfo Max Length: 2000
java.lang.String Description for the reference data contained within the module. When a module contains reference data this field maintains a description of this data and its purpose.
versionLabel Version_Label Max Length: 60
java.lang.String It is a human understandable identifier for the version, it will be used with version number. Value examples this field can take are: MP1, dev, alpha...
commercial IsCommercial Mandatory
java.lang.Boolean Commercial modules are only available to Professional and Enterprise Edition instances whereas non commercial ones can be downloaded and installed in Community Edition Instances.

Commercial modules can have a fee to be payed before they can be installed.

maturityUpdate Maturity_Update Max Length: 60
java.lang.String Defines the minimum accepted maturity status of modules when they are scanned for update.
enabled Enabled Mandatory
java.lang.Boolean When a module is not enabled, their artifacts (windows, tabs, forms, reports and processes) will not be accessible.
applyConfigurationScript IsConfigScriptApplied Mandatory
java.lang.Boolean This check affects to Template modules. When it is active, the template they contain is applied to the instance when the application is built.

Note that this information is kept only in the instance but not it is not exported to the module.

upgradeAvailable Upgrade_Available Max Length: 4000
java.lang.String Version of the available upgrade for this module.
freeForTrial (inactive) Mandatory
java.lang.Boolean
dataPackageList DataPackage
moduleDBPrefixList ModuleDBPrefix
moduleDependencyList ModuleDependency
moduleTrlList ModuleTrl


Java Entity Class

 
 
 
 /*
  *************************************************************************
  * The contents of this file are subject to the Openbravo  Public  License
  * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
  * Version 1.1  with a permitted attribution clause; you may not  use this
  * file except in compliance with the License. You  may  obtain  a copy of
  * the License at http://www.openbravo.com/legal/license.html
  * Software distributed under the License  is  distributed  on  an "AS IS"
  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  * License for the specific  language  governing  rights  and  limitations
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
  * All portions are Copyright (C) 2008-2019 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
 */
 package org.openbravo.model.ad.module;
 
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 
 import org.openbravo.base.structure.ActiveEnabled;
 import org.openbravo.base.structure.BaseOBObject;
 import org.openbravo.base.structure.ClientEnabled;
 import org.openbravo.base.structure.OrganizationEnabled;
 import org.openbravo.base.structure.Traceable;
 import org.openbravo.model.ad.access.User;
 import org.openbravo.model.ad.system.Client;
 import org.openbravo.model.ad.system.Language;
 import org.openbravo.model.common.enterprise.Organization;
 /**
  * Entity class for entity ADModule (stored in table AD_Module).
  * <br>
  * Help: {@literal Contains the information about the currently installed modules and defines which of them
      *       are active for development.}
  * <br>
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
  */
 public class Module extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "AD_Module";
     public static final String ENTITY_NAME = "ADModule";
 
     /**
      * Property id stored in column AD_Module_ID in table AD_Module<br>
      * Help: {@literal Indicates the module the element forms part of.}
      * 
      */
     public static final String PROPERTY_ID = "id";
 
     /**
      * Property client stored in column AD_Client_ID in table AD_Module 
      * @see ClientEnabled 
      * 
      */
     public static final String PROPERTY_CLIENT = "client";
 
     /**
      * Property organization stored in column AD_Org_ID in table AD_Module 
      * @see OrganizationEnabled 
      * 
      */
     public static final String PROPERTY_ORGANIZATION = "organization";
 
     /**
      * Property active stored in column IsActive in table AD_Module 
      * @see ActiveEnabled 
      * 
      */
     public static final String PROPERTY_ACTIVE = "active";
 
     /**
      * Property creationDate stored in column Created in table AD_Module 
      * @see Traceable 
      * 
      */
     public static final String PROPERTY_CREATIONDATE = "creationDate";
 
     /**
      * Property createdBy stored in column CreatedBy in table AD_Module 
      * @see Traceable 
      * 
      */
     public static final String PROPERTY_CREATEDBY = "createdBy";
 
     /**
      * Property updated stored in column Updated in table AD_Module 
      * @see Traceable 
      * 
      */
     public static final String PROPERTY_UPDATED = "updated";
 
     /**
      * Property updatedBy stored in column UpdatedBy in table AD_Module 
      * @see Traceable 
      * 
      */
     public static final String PROPERTY_UPDATEDBY = "updatedBy";
 
     /**
      * Property name stored in column Name in table AD_Module 
      * 
      */
     public static final String PROPERTY_NAME = "name";
 
     /**
      * Property version stored in column Version in table AD_Module 
      * 
      */
     public static final String PROPERTY_VERSION = "version";
 
     /**
      * Property description stored in column Description in table AD_Module<br>
      * Help: {@literal A description is limited to 255 characters.}
      * 
      */
     public static final String PROPERTY_DESCRIPTION = "description";
 
     /**
      * Property helpComment stored in column Help in table AD_Module<br>
      * Help: {@literal The Help field contains a hint, comment or help about the use of this item.}
      * 
      */
     public static final String PROPERTY_HELPCOMMENT = "helpComment";
 
     /**
      * Property uRL stored in column URL in table AD_Module<br>
      * Help: {@literal The URL defines an online address for this element.}
      * 
      */
     public static final String PROPERTY_URL = "uRL";
 
     /**
      * Property type stored in column Type in table AD_Module<br>
      * Help: {@literal The Type indicates the type of validation that will occur.  This can be SQL, Java Script
      *       or Java Language.}
      * 
      */
     public static final String PROPERTY_TYPE = "type";
 
     /**
      * Property licenseText stored in column License in table AD_Module<br>
      * Help: {@literal Contains the text of the license the module is release with, this information is
      *       additional to the license type.}
      * 
      */
     public static final String PROPERTY_LICENSETEXT = "licenseText";
 
     /**
      * Property inDevelopment stored in column IsInDevelopment in table AD_Module<br>
      * Help: {@literal Determines wether the module is currently in development process. Only the modules that
      *       currently are being developed will be exported.}
      * 
      */
     public static final String PROPERTY_INDEVELOPMENT = "inDevelopment";
 
     /**
      * Property default stored in column IsDefault in table AD_Module<br>
      * Help: {@literal The Default Checkbox indicates if this record will be used as a default value.}
      * 
      */
     public static final String PROPERTY_DEFAULT = "default";
 
     /**
      * Property sequenceNumber stored in column Seqno in table AD_Module<br>
      * Help: {@literal The Sequence indicates the order of records}
      * 
      */
     public static final String PROPERTY_SEQUENCENUMBER = "sequenceNumber";
 
     /**
      * Property javaPackage stored in column JavaPackage in table AD_Module<br>
      * Help: {@literal The Java Package is a unique identifier of your module and has to match the Java package
      *       naming rules as described in the Java Naming Conventions (names and package names). Be careful when
      *       setting this value as you are not allowed to change it once your module is registered in the central
      *       repository. If your module includes Java files they have to be packaged within your module's Java
      *       package or in its sub-packages.}
      * 
      */
     public static final String PROPERTY_JAVAPACKAGE = "javaPackage";
 
     /**
      * Property licenseType stored in column LicenseType in table AD_Module<br>
      * Help: {@literal There is a list of possible licenses to select one of them for the current element.}
      * 
      */
     public static final String PROPERTY_LICENSETYPE = "licenseType";
 
     /**
      * Property author stored in column Author in table AD_Module<br>
      * Help: {@literal The author of the module is the person or company that created and maintains the module.}
      * 
      */
     public static final String PROPERTY_AUTHOR = "author";
 
     /**
      * Property status stored in column Status in table AD_Module<br>
      * Help: {@literal Current status of a debt/payment.}
      * 
      */
     public static final String PROPERTY_STATUS = "status";
 
     /**
      * Property availableUpdate stored in column Update_Available in table AD_Module<br>
      * Help: {@literal Indicates whether and which new version is available to update a module}
      * 
      */
     public static final String PROPERTY_AVAILABLEUPDATE = "availableUpdate";
 
     /**
      * Property translationRequired stored in column IsTranslationRequired in table AD_Module<br>
      * Help: {@literal The current module contains user interface elements that can be translated to different
      *       languages.}
      * 
      */
     public static final String PROPERTY_TRANSLATIONREQUIRED = "translationRequired";
 
     /**
      * Property language stored in column AD_Language in table AD_Module 
      * 
      */
     public static final String PROPERTY_LANGUAGE = "language";
 
     /**
      * Property hasChartOfAccounts stored in column HasChartOfAccounts in table AD_Module<br>
      * Help: {@literal The module contains a chart of accounts}
      * 
      */
     public static final String PROPERTY_HASCHARTOFACCOUNTS = "hasChartOfAccounts";
 
     /**
      * Property isTranslationModule stored in column IsTranslationModule in table AD_Module<br>
      * Help: {@literal This module is a translation module}
      * 
      */
     public static final String PROPERTY_ISTRANSLATIONMODULE = "isTranslationModule";
 
     /**
      * Property hasReferenceData stored in column HasReferenceData in table AD_Module<br>
      * Help: {@literal The module contains reference data}
      * 
      */
     public static final String PROPERTY_HASREFERENCEDATA = "hasReferenceData";
 
     /**
      * Property registerModule stored in column IsRegistered in table AD_Module<br>
      * Help: {@literal Indicates whether the module is registered in the Central Repository and in case it is
      *       not, it allows to register it.}
      * 
      */
     public static final String PROPERTY_REGISTERMODULE = "registerModule";
 
     /**
      * Property updateInformation stored in column UpdateInfo in table AD_Module<br>
      * Help: {@literal Information about the update, this information should include what is new for the new
      *       version.}
      * 
      */
     public static final String PROPERTY_UPDATEINFORMATION = "updateInformation";
 
     /**
      * Property updateVersion stored in column Update_Ver_ID in table AD_Module<br>
      * Help: {@literal Identifier for the Update Version}
      * 
      */
     public static final String PROPERTY_UPDATEVERSION = "updateVersion";
 
     /**
      * Property referenceDataDescription stored in column ReferenceDataInfo in table AD_Module<br>
      * Help: {@literal Description for the reference data contained within the module. When a module contains
      *       reference data this field maintains a description of this data and its purpose.}
      * 
      */
     public static final String PROPERTY_REFERENCEDATADESCRIPTION = "referenceDataDescription";
 
     /**
      * Property versionLabel stored in column Version_Label in table AD_Module<br>
      * Help: {@literal It is a human understandable identifier for the version, it will be used with version
      *       number. Value examples this field can take are: MP1, dev, alpha...}
      * 
      */
     public static final String PROPERTY_VERSIONLABEL = "versionLabel";
 
     /**
      * Property commercial stored in column IsCommercial in table AD_Module<br>
      * Help: {@literal Commercial modules are only available to Professional and Enterprise Edition instances
      *       whereas non commercial ones can be downloaded and installed in Community Edition
      *       Instances.
      *       Commercial modules can have a fee to be payed before they can be installed.}
      * 
      */
     public static final String PROPERTY_COMMERCIAL = "commercial";
 
     /**
      * Property maturityUpdate stored in column Maturity_Update in table AD_Module<br>
      * Help: {@literal Defines the minimum accepted maturity status of modules when they are scanned for update.}
      * 
      */
     public static final String PROPERTY_MATURITYUPDATE = "maturityUpdate";
 
     /**
      * Property enabled stored in column Enabled in table AD_Module<br>
      * Help: {@literal When a module is not enabled, their artifacts (windows, tabs, forms, reports and
      *       processes) will not be accessible.}
      * 
      */
     public static final String PROPERTY_ENABLED = "enabled";
 
     /**
      * Property applyConfigurationScript stored in column IsConfigScriptApplied in table AD_Module<br>
      * Help: {@literal This check affects to Template modules. When it is active, the template they contain is
      *       applied to the instance when the application is built. 
      *       
      *       Note that this information is kept only in
      *       the instance but not it is not exported to the module.}
      * 
      */
     public static final String PROPERTY_APPLYCONFIGURATIONSCRIPT = "applyConfigurationScript";
 
     /**
      * Property upgradeAvailable stored in column Upgrade_Available in table AD_Module<br>
      * Help: {@literal Version of the available upgrade for this module.}
      * 
      */
     public static final String PROPERTY_UPGRADEAVAILABLE = "upgradeAvailable";
 
     /**
      * Property freeForTrial stored in column Istrialallowed in table AD_Module
      * 
      */
     public static final String PROPERTY_FREEFORTRIAL = "freeForTrial";
 
     /**
      * Property dataPackageList stored in table AD_Module
      * 
      */
     public static final String PROPERTY_DATAPACKAGELIST = "dataPackageList";
 
     /**
      * Property moduleDBPrefixList stored in table AD_Module
      * 
      */
     public static final String PROPERTY_MODULEDBPREFIXLIST = "moduleDBPrefixList";
 
     /**
      * Property moduleDependencyList stored in table AD_Module
      * 
      */
     public static final String PROPERTY_MODULEDEPENDENCYLIST = "moduleDependencyList";
 
     /**
      * Property moduleTrlList stored in table AD_Module
      * 
      */
     public static final String PROPERTY_MODULETRLLIST = "moduleTrlList";
 
 
     public Module() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_CREATIONDATE, new Date());
         setDefaultValue(PROPERTY_UPDATED, new Date());
         setDefaultValue(PROPERTY_TYPE, "M");
         setDefaultValue(PROPERTY_INDEVELOPMENT, true);
         setDefaultValue(PROPERTY_DEFAULT, false);
         setDefaultValue(PROPERTY_STATUS, "A");
         setDefaultValue(PROPERTY_TRANSLATIONREQUIRED, false);
         setDefaultValue(PROPERTY_HASCHARTOFACCOUNTS, false);
         setDefaultValue(PROPERTY_ISTRANSLATIONMODULE, false);
         setDefaultValue(PROPERTY_HASREFERENCEDATA, false);
         setDefaultValue(PROPERTY_REGISTERMODULE, false);
         setDefaultValue(PROPERTY_COMMERCIAL, false);
         setDefaultValue(PROPERTY_ENABLED, true);
         setDefaultValue(PROPERTY_APPLYCONFIGURATIONSCRIPT, true);
         setDefaultValue(PROPERTY_FREEFORTRIAL, false);
         setDefaultValue(PROPERTY_DATAPACKAGELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_MODULEDBPREFIXLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_MODULEDEPENDENCYLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_MODULETRLLIST, new ArrayList<Object>());
     }
 
     @Override
     public String getEntityName() {
         return ENTITY_NAME;
     }
 
     /**
      * @see Module#PROPERTY_ID
      * 
      */
     public String getId() {
         return (String) get(PROPERTY_ID);
     }
     /**
      * @see Module#PROPERTY_ID
      * 
      */
     public void setId(String id) {
         set(PROPERTY_ID, id);
     }
 
     /**
      * @see Module#PROPERTY_CLIENT
      * 
      */
     public Client getClient() {
         return (Client) get(PROPERTY_CLIENT);
     }
     /**
      * @see Module#PROPERTY_CLIENT
      * 
      */
     public void setClient(Client client) {
         set(PROPERTY_CLIENT, client);
     }
 
     /**
      * @see Module#PROPERTY_ORGANIZATION
      * 
      */
     public Organization getOrganization() {
         return (Organization) get(PROPERTY_ORGANIZATION);
     }
     /**
      * @see Module#PROPERTY_ORGANIZATION
      * 
      */
     public void setOrganization(Organization organization) {
         set(PROPERTY_ORGANIZATION, organization);
     }
 
     /**
      * @see Module#PROPERTY_ACTIVE
      * 
      */
     public Boolean isActive() {
         return (Boolean) get(PROPERTY_ACTIVE);
     }
     /**
      * @see Module#PROPERTY_ACTIVE
      * 
      */
     public void setActive(Boolean active) {
         set(PROPERTY_ACTIVE, active);
     }
 
     /**
      * @see Module#PROPERTY_CREATIONDATE
      * 
      */
     public Date getCreationDate() {
         return (Date) get(PROPERTY_CREATIONDATE);
     }
     /**
      * @see Module#PROPERTY_CREATIONDATE
      * 
      */
     public void setCreationDate(Date creationDate) {
         set(PROPERTY_CREATIONDATE, creationDate);
     }
 
     /**
      * @see Module#PROPERTY_CREATEDBY
      * 
      */
     public User getCreatedBy() {
         return (User) get(PROPERTY_CREATEDBY);
     }
     /**
      * @see Module#PROPERTY_CREATEDBY
      * 
      */
     public void setCreatedBy(User createdBy) {
         set(PROPERTY_CREATEDBY, createdBy);
     }
 
     /**
      * @see Module#PROPERTY_UPDATED
      * 
      */
     public Date getUpdated() {
         return (Date) get(PROPERTY_UPDATED);
     }
     /**
      * @see Module#PROPERTY_UPDATED
      * 
      */
     public void setUpdated(Date updated) {
         set(PROPERTY_UPDATED, updated);
     }
 
     /**
      * @see Module#PROPERTY_UPDATEDBY
      * 
      */
     public User getUpdatedBy() {
         return (User) get(PROPERTY_UPDATEDBY);
     }
     /**
      * @see Module#PROPERTY_UPDATEDBY
      * 
      */
     public void setUpdatedBy(User updatedBy) {
         set(PROPERTY_UPDATEDBY, updatedBy);
     }
 
     /**
      * @see Module#PROPERTY_NAME
      * 
      */
     public String getName() {
         return (String) get(PROPERTY_NAME);
     }
     /**
      * @see Module#PROPERTY_NAME
      * 
      */
     public void setName(String name) {
         set(PROPERTY_NAME, name);
     }
 
     /**
      * @see Module#PROPERTY_VERSION
      * 
      */
     public String getVersion() {
         return (String) get(PROPERTY_VERSION);
     }
     /**
      * @see Module#PROPERTY_VERSION
      * 
      */
     public void setVersion(String version) {
         set(PROPERTY_VERSION, version);
     }
 
     /**
      * @see Module#PROPERTY_DESCRIPTION
      * 
      */
     public String getDescription() {
         return (String) get(PROPERTY_DESCRIPTION);
     }
     /**
      * @see Module#PROPERTY_DESCRIPTION
      * 
      */
     public void setDescription(String description) {
         set(PROPERTY_DESCRIPTION, description);
     }
 
     /**
      * @see Module#PROPERTY_HELPCOMMENT
      * 
      */
     public String getHelpComment() {
         return (String) get(PROPERTY_HELPCOMMENT);
     }
     /**
      * @see Module#PROPERTY_HELPCOMMENT
      * 
      */
     public void setHelpComment(String helpComment) {
         set(PROPERTY_HELPCOMMENT, helpComment);
     }
 
     /**
      * @see Module#PROPERTY_URL
      * 
      */
     public String getURL() {
         return (String) get(PROPERTY_URL);
     }
     /**
      * @see Module#PROPERTY_URL
      * 
      */
     public void setURL(String uRL) {
         set(PROPERTY_URL, uRL);
     }
 
     /**
      * @see Module#PROPERTY_TYPE
      * 
      */
     public String getType() {
         return (String) get(PROPERTY_TYPE);
     }
     /**
      * @see Module#PROPERTY_TYPE
      * 
      */
     public void setType(String type) {
         set(PROPERTY_TYPE, type);
     }
 
     /**
      * @see Module#PROPERTY_LICENSETEXT
      * 
      */
     public String getLicenseText() {
         return (String) get(PROPERTY_LICENSETEXT);
     }
     /**
      * @see Module#PROPERTY_LICENSETEXT
      * 
      */
     public void setLicenseText(String licenseText) {
         set(PROPERTY_LICENSETEXT, licenseText);
     }
 
     /**
      * @see Module#PROPERTY_INDEVELOPMENT
      * 
      */
     public Boolean isInDevelopment() {
         return (Boolean) get(PROPERTY_INDEVELOPMENT);
     }
     /**
      * @see Module#PROPERTY_INDEVELOPMENT
      * 
      */
     public void setInDevelopment(Boolean inDevelopment) {
         set(PROPERTY_INDEVELOPMENT, inDevelopment);
     }
 
     /**
      * @see Module#PROPERTY_DEFAULT
      * 
      */
     public Boolean isDefault() {
         return (Boolean) get(PROPERTY_DEFAULT);
     }
     /**
      * @see Module#PROPERTY_DEFAULT
      * 
      */
     public void setDefault(Boolean deflt) {
         set(PROPERTY_DEFAULT, deflt);
     }
 
     /**
      * @see Module#PROPERTY_SEQUENCENUMBER
      * 
      */
     public Long getSequenceNumber() {
         return (Long) get(PROPERTY_SEQUENCENUMBER);
     }
     /**
      * @see Module#PROPERTY_SEQUENCENUMBER
      * 
      */
     public void setSequenceNumber(Long sequenceNumber) {
         set(PROPERTY_SEQUENCENUMBER, sequenceNumber);
     }
 
     /**
      * @see Module#PROPERTY_JAVAPACKAGE
      * 
      */
     public String getJavaPackage() {
         return (String) get(PROPERTY_JAVAPACKAGE);
     }
     /**
      * @see Module#PROPERTY_JAVAPACKAGE
      * 
      */
     public void setJavaPackage(String javaPackage) {
         set(PROPERTY_JAVAPACKAGE, javaPackage);
     }
 
     /**
      * @see Module#PROPERTY_LICENSETYPE
      * 
      */
     public String getLicenseType() {
         return (String) get(PROPERTY_LICENSETYPE);
     }
     /**
      * @see Module#PROPERTY_LICENSETYPE
      * 
      */
     public void setLicenseType(String licenseType) {
         set(PROPERTY_LICENSETYPE, licenseType);
     }
 
     /**
      * @see Module#PROPERTY_AUTHOR
      * 
      */
     public String getAuthor() {
         return (String) get(PROPERTY_AUTHOR);
     }
     /**
      * @see Module#PROPERTY_AUTHOR
      * 
      */
     public void setAuthor(String author) {
         set(PROPERTY_AUTHOR, author);
     }
 
     /**
      * @see Module#PROPERTY_STATUS
      * 
      */
     public String getStatus() {
         return (String) get(PROPERTY_STATUS);
     }
     /**
      * @see Module#PROPERTY_STATUS
      * 
      */
     public void setStatus(String status) {
         set(PROPERTY_STATUS, status);
     }
 
     /**
      * @see Module#PROPERTY_AVAILABLEUPDATE
      * 
      */
     public String getAvailableUpdate() {
         return (String) get(PROPERTY_AVAILABLEUPDATE);
     }
     /**
      * @see Module#PROPERTY_AVAILABLEUPDATE
      * 
      */
     public void setAvailableUpdate(String availableUpdate) {
         set(PROPERTY_AVAILABLEUPDATE, availableUpdate);
     }
 
     /**
      * @see Module#PROPERTY_TRANSLATIONREQUIRED
      * 
      */
     public Boolean isTranslationRequired() {
         return (Boolean) get(PROPERTY_TRANSLATIONREQUIRED);
     }
     /**
      * @see Module#PROPERTY_TRANSLATIONREQUIRED
      * 
      */
     public void setTranslationRequired(Boolean translationRequired) {
         set(PROPERTY_TRANSLATIONREQUIRED, translationRequired);
     }
 
     /**
      * @see Module#PROPERTY_LANGUAGE
      * 
      */
     public Language getLanguage() {
         return (Language) get(PROPERTY_LANGUAGE);
     }
     /**
      * @see Module#PROPERTY_LANGUAGE
      * 
      */
     public void setLanguage(Language language) {
         set(PROPERTY_LANGUAGE, language);
     }
 
     /**
      * @see Module#PROPERTY_HASCHARTOFACCOUNTS
      * 
      */
     public Boolean isHasChartOfAccounts() {
         return (Boolean) get(PROPERTY_HASCHARTOFACCOUNTS);
     }
     /**
      * @see Module#PROPERTY_HASCHARTOFACCOUNTS
      * 
      */
     public void setHasChartOfAccounts(Boolean hasChartOfAccounts) {
         set(PROPERTY_HASCHARTOFACCOUNTS, hasChartOfAccounts);
     }
 
     /**
      * @see Module#PROPERTY_ISTRANSLATIONMODULE
      * 
      */
     public Boolean isTranslationModule() {
         return (Boolean) get(PROPERTY_ISTRANSLATIONMODULE);
     }
     /**
      * @see Module#PROPERTY_ISTRANSLATIONMODULE
      * 
      */
     public void setTranslationModule(Boolean isTranslationModule) {
         set(PROPERTY_ISTRANSLATIONMODULE, isTranslationModule);
     }
 
     /**
      * @see Module#PROPERTY_HASREFERENCEDATA
      * 
      */
     public Boolean isHasReferenceData() {
         return (Boolean) get(PROPERTY_HASREFERENCEDATA);
     }
     /**
      * @see Module#PROPERTY_HASREFERENCEDATA
      * 
      */
     public void setHasReferenceData(Boolean hasReferenceData) {
         set(PROPERTY_HASREFERENCEDATA, hasReferenceData);
     }
 
     /**
      * @see Module#PROPERTY_REGISTERMODULE
      * 
      */
     public Boolean isRegisterModule() {
         return (Boolean) get(PROPERTY_REGISTERMODULE);
     }
     /**
      * @see Module#PROPERTY_REGISTERMODULE
      * 
      */
     public void setRegisterModule(Boolean registerModule) {
         set(PROPERTY_REGISTERMODULE, registerModule);
     }
 
     /**
      * @see Module#PROPERTY_UPDATEINFORMATION
      * 
      */
     public String getUpdateInformation() {
         return (String) get(PROPERTY_UPDATEINFORMATION);
     }
     /**
      * @see Module#PROPERTY_UPDATEINFORMATION
      * 
      */
     public void setUpdateInformation(String updateInformation) {
         set(PROPERTY_UPDATEINFORMATION, updateInformation);
     }
 
     /**
      * @see Module#PROPERTY_UPDATEVERSION
      * 
      */
     public String getUpdateVersion() {
         return (String) get(PROPERTY_UPDATEVERSION);
     }
     /**
      * @see Module#PROPERTY_UPDATEVERSION
      * 
      */
     public void setUpdateVersion(String updateVersion) {
         set(PROPERTY_UPDATEVERSION, updateVersion);
     }
 
     /**
      * @see Module#PROPERTY_REFERENCEDATADESCRIPTION
      * 
      */
     public String getReferenceDataDescription() {
         return (String) get(PROPERTY_REFERENCEDATADESCRIPTION);
     }
     /**
      * @see Module#PROPERTY_REFERENCEDATADESCRIPTION
      * 
      */
     public void setReferenceDataDescription(String referenceDataDescription) {
         set(PROPERTY_REFERENCEDATADESCRIPTION, referenceDataDescription);
     }
 
     /**
      * @see Module#PROPERTY_VERSIONLABEL
      * 
      */
     public String getVersionLabel() {
         return (String) get(PROPERTY_VERSIONLABEL);
     }
     /**
      * @see Module#PROPERTY_VERSIONLABEL
      * 
      */
     public void setVersionLabel(String versionLabel) {
         set(PROPERTY_VERSIONLABEL, versionLabel);
     }
 
     /**
      * @see Module#PROPERTY_COMMERCIAL
      * 
      */
     public Boolean isCommercial() {
         return (Boolean) get(PROPERTY_COMMERCIAL);
     }
     /**
      * @see Module#PROPERTY_COMMERCIAL
      * 
      */
     public void setCommercial(Boolean commercial) {
         set(PROPERTY_COMMERCIAL, commercial);
     }
 
     /**
      * @see Module#PROPERTY_MATURITYUPDATE
      * 
      */
     public String getMaturityUpdate() {
         return (String) get(PROPERTY_MATURITYUPDATE);
     }
     /**
      * @see Module#PROPERTY_MATURITYUPDATE
      * 
      */
     public void setMaturityUpdate(String maturityUpdate) {
         set(PROPERTY_MATURITYUPDATE, maturityUpdate);
     }
 
     /**
      * @see Module#PROPERTY_ENABLED
      * 
      */
     public Boolean isEnabled() {
         return (Boolean) get(PROPERTY_ENABLED);
     }
     /**
      * @see Module#PROPERTY_ENABLED
      * 
      */
     public void setEnabled(Boolean enabled) {
         set(PROPERTY_ENABLED, enabled);
     }
 
     /**
      * @see Module#PROPERTY_APPLYCONFIGURATIONSCRIPT
      * 
      */
     public Boolean isApplyConfigurationScript() {
         return (Boolean) get(PROPERTY_APPLYCONFIGURATIONSCRIPT);
     }
     /**
      * @see Module#PROPERTY_APPLYCONFIGURATIONSCRIPT
      * 
      */
     public void setApplyConfigurationScript(Boolean applyConfigurationScript) {
         set(PROPERTY_APPLYCONFIGURATIONSCRIPT, applyConfigurationScript);
     }
 
     /**
      * @see Module#PROPERTY_UPGRADEAVAILABLE
      * 
      */
     public String getUpgradeAvailable() {
         return (String) get(PROPERTY_UPGRADEAVAILABLE);
     }
     /**
      * @see Module#PROPERTY_UPGRADEAVAILABLE
      * 
      */
     public void setUpgradeAvailable(String upgradeAvailable) {
         set(PROPERTY_UPGRADEAVAILABLE, upgradeAvailable);
     }
 
     /**
      * @see Module#PROPERTY_FREEFORTRIAL
      * 
      */
     public Boolean isFreeForTrial() {
         return (Boolean) get(PROPERTY_FREEFORTRIAL);
     }
     /**
      * @see Module#PROPERTY_FREEFORTRIAL
      * 
      */
     public void setFreeForTrial(Boolean freeForTrial) {
         set(PROPERTY_FREEFORTRIAL, freeForTrial);
     }
 
     /**
      * Help: {@literal Table for Data Packages}<br>
      * @see DataPackage
      * 
      */
     @SuppressWarnings("unchecked")
     public List<DataPackage> getDataPackageList() {
       return (List<DataPackage>) get(PROPERTY_DATAPACKAGELIST);
     }
 
     /**
      * Help: {@literal Table for Data Packages}<br>
      * @see DataPackage
      * 
      */
     public void setDataPackageList(List<DataPackage> dataPackageList) {
         set(PROPERTY_DATAPACKAGELIST, dataPackageList);
     }
 
     /**
      * Help: {@literal DB Prefixes of the module}<br>
      * @see ModuleDBPrefix
      * 
      */
     @SuppressWarnings("unchecked")
     public List<ModuleDBPrefix> getModuleDBPrefixList() {
       return (List<ModuleDBPrefix>) get(PROPERTY_MODULEDBPREFIXLIST);
     }
 
     /**
      * Help: {@literal DB Prefixes of the module}<br>
      * @see ModuleDBPrefix
      * 
      */
     public void setModuleDBPrefixList(List<ModuleDBPrefix> moduleDBPrefixList) {
         set(PROPERTY_MODULEDBPREFIXLIST, moduleDBPrefixList);
     }
 
     /**
      * Help: {@literal This table defines the dependencies among modules, in case the module is a template the
      *       dependencies defined in this table will be used to calculate the modules included in the template.}<br>
      * @see ModuleDependency
      * 
      */
     @SuppressWarnings("unchecked")
     public List<ModuleDependency> getModuleDependencyList() {
       return (List<ModuleDependency>) get(PROPERTY_MODULEDEPENDENCYLIST);
     }
 
     /**
      * Help: {@literal This table defines the dependencies among modules, in case the module is a template the
      *       dependencies defined in this table will be used to calculate the modules included in the template.}<br>
      * @see ModuleDependency
      * 
      */
     public void setModuleDependencyList(List<ModuleDependency> moduleDependencyList) {
         set(PROPERTY_MODULEDEPENDENCYLIST, moduleDependencyList);
     }
 
     /**
      * Help: {@literal Translations for modules}<br>
      * @see ModuleTrl
      * 
      */
     @SuppressWarnings("unchecked")
     public List<ModuleTrl> getModuleTrlList() {
       return (List<ModuleTrl>) get(PROPERTY_MODULETRLLIST);
     }
 
     /**
      * Help: {@literal Translations for modules}<br>
      * @see ModuleTrl
      * 
      */
     public void setModuleTrlList(List<ModuleTrl> moduleTrlList) {
         set(PROPERTY_MODULETRLLIST, moduleTrlList);
     }
 
 }

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Reference/Entity_Model/ADModule"

This page has been accessed 1,549 times. This page was last modified on 2 December 2019, at 01:48. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.