View source | Discuss this page | Page history | Printable version   

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

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#SQLScript


SQLScript

Auxiliary table used by several processes to temporarily store sql commands and later execute them

To the database table (AD_Script_SQL) of this entity.

Properties

Note:

Property Column Constraints Type Description
id*# Seqno Mandatory
java.lang.Long The Sequence indicates the order of records
strsql Strsql Max Length: 4000
java.lang.String


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-2020 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
 */
 package org.openbravo.model.ad.utility;
 
 import org.openbravo.base.structure.BaseOBObject;
 /**
  * Entity class for entity SQLScript (stored in table AD_Script_SQL).
  * <br>
  * Help: {@literal Auxiliary table used by several processes to temporarily store sql commands and later
      *       execute them}
  * <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 SQLScript extends BaseOBObject  {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "AD_Script_SQL";
     public static final String ENTITY_NAME = "SQLScript";
 
     /**
      * Property id stored in column Seqno in table AD_Script_SQL 
      * 
      */
     public static final String PROPERTY_ID = "id";
 
     /**
      * Property strsql stored in column Strsql in table AD_Script_SQL
      * 
      */
     public static final String PROPERTY_STRSQL = "strsql";
 
 
     public SQLScript() {
     }
 
     @Override
     public String getEntityName() {
         return ENTITY_NAME;
     }
 
     /**
      * @see SQLScript#PROPERTY_ID
      * 
      */
     public Long getId() {
         return (Long) get(PROPERTY_ID);
     }
     /**
      * @see SQLScript#PROPERTY_ID
      * 
      */
     public void setId(Long id) {
         set(PROPERTY_ID, id);
     }
 
     /**
      * @see SQLScript#PROPERTY_STRSQL
      * 
      */
     public String getStrsql() {
         return (String) get(PROPERTY_STRSQL);
     }
     /**
      * @see SQLScript#PROPERTY_STRSQL
      * 
      */
     public void setStrsql(String strsql) {
         set(PROPERTY_STRSQL, strsql);
     }
 
 }

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

This page has been accessed 1,583 times. This page was last modified on 30 November 2020, at 01:56. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.